Skip to main content
OlympiadHQ

Browse · MathNet

Print

BxMO Team Selection Test

Netherlands algebra

Problem

We play a game of musical chairs with chairs numbered to . You attach leaves, numbered to , to the chairs in such a way that the number on a leaf does not match the number on the chair it is attached to. One player sits on each chair. Every time you clap, each player looks at the number on the leaf attached to his current seat and moves to sit on the seat with that number. Prove that, for any that is not a prime power with , it is possible to attach the leaves to the seats in such a way that after claps everyone has returned to the chair they started on for the first time.
Solution
If , then attach to chair the leaf with number . Everyone then moves up a chair every clap and for everyone, the first time they return to the chair they started on is after claps. So after claps for the first time, everyone has returned to the chair they started on. Now suppose .

Since is not a prime power, we can write as with . We claim that there are such that Note that the numbers with are all different modulo . We show this by contraposition. Suppose that there are and in such that . Then we also have . As , it follows that . Since and both are in , it follows that . Therefore if and are in and , then . So the numbers with are indeed all different modulo .

It follows that the for are all the residue classes modulo . Since , these numbers are also all greater than . Now choose the for which is congruent to modulo . Since is greater than , there is now a such that . This gives the such that .

Now we divide the chairs into groups of chairs and groups of chairs. In each group, we arrange the chairs in a circle and attach the leaves to chairs in such a way that each leaf has the number of the next chair in the circle. The players on a chair in a group with chairs, return to the chair they started on every claps (and not on any other clap). The players on a seat in a group with seats, return to the chair they started on every claps (and not on any other clap). So the first time everyone returns to the chair they started on is after claps. But because .

Techniques

Permutations / basic group theoryGreatest common divisors (gcd)Least common multiples (lcm)