The problem sounds like this:
There are $n$ seats on a merry- go-round. A boy takes $n$ rides. Between each ride, he moves clockwise a certain number of places to a new horse. Each time he moves a different number of places. Find all $n$ for which the boy ends up riding each horse.
So if there are $n$ horses, first the boy could move by one place then he could move by $n + 1$ places then by $2n + 1$ so on and so forth, until he moves $(n-2)n + 1$ places, in which case he'd would have been ridden each horse only one time and taken unique number of steps, which implies that all $n$'s satisfy given condition.
Is there something that I'm missing?
Thank you for your answers
It cannot be done when $n$ is odd: The boy makes $n-1$ moves of all lengths $1$, $2$, $\ldots$, $n-1$ in a certain order. This advances him by $$s:=\sum_{k=1}^{n-1}k={n-1\over2}\>n$$ horses in total. Since $s$ is divisible by $n$ this implies that after the last move (on his $n^{\rm th}$ ride) he sits again on the horse he began with.