Problem

Source: Korean Summer Program Practice Test 2023 #5

Tags: combinatorics



For a positive integer $n$, $n$ vertices which have $10000$ written on them exist on a plane. For $3$ vertices that are collinear and are written positive numbers on them, denote procedure $P$ as subtracting $1$ from the outer vertices and adding $2023$ to the inner vertical. Show that procedure $P$ cannot be repeated infinitely.