This is a question from the 2012 Tournament of Towns Spring Senior O2: “The cells of a $1\times 2n$ board are labelled $1,2,...,,n,- n,...,- 2,-1$ from left to right. A marker is placed on an arbitrary cell. If the label of the cell is positive, the marker moves to the right a number of cells equal to the value of the label. If the label is negative, the marker moves to the left a number of cells equal to the absolute value of the label. Prove that if the marker can always visit all cells of the board, then $2n + 1$ is prime.”
This is what I know so far — The cells on the board always lead to another designated cell, i.e. $1$ always leads to $2$ and $2$ always leads to $4$. Since we want to show that the marker can always visit all cells of the board, we can show that it can visit all cells of the board starting from any number (since the moves form a closed loop). Then I discovered that for some numbers like $7$, we can choose $5$ and it forms a closed loop in one move. ($5$ to $-5$, $-5$ to $5$). I don’t know how to continue from here though. It would be very nice if I could receive a hint.
Thank you