2. A conference hall has a round table with $n$ chairs. There are $n$ delegates to the conference. The first delegate chooses his or her seat arbitrarily. Thereafter the $(k+1)$th delegate sits $k$ places to the right of the $k$th delegate, for $1\leq k\leq n-1$. (In particular, the second delegate sits next to the first.) No chair can be occupied by more than one delegate.
Find the set of values $n$ for which this is possible.