Maths Olympiad Prep

Library / /117 of 120

, 2012

Combinatorics Difficulty 6.8 National olympiad Prove it Saudi Arabia

Let n3n \ge 3 be a positive integer. Suppose we have a circle with nn positions labeled 1,2,,n1, 2, \dots, n in clockwise order. nn counters, each with one side white and the other side black, are placed on the circle with one counter in each of the numbered positions. Initially all counters have the white side facing up, except the counter at position 11 which shows black. We are allowed to perform the following operation:
(i) Choose a counter XX whose black side is facing up, and let Y,ZY, Z be the next two counters in clockwise order.
(ii) Flip counter YY so that it is showing the other color.
(iii) Move XX two spaces clockwise, and move Y,ZY, Z one space counterclockwise. (So after the operation we still have one counter in each position.)
Let SS be any nonempty subset of {1,2,,n}\{1, 2, \dots, n\}. Show that we can perform a finite sequence of moves after which the numbers in SS correspond exactly to the positions of the black counters.

Solution

The operation is invertible; its inverse is to take consecutive counters Y,Z,XY, Z, X with XX black, move XX to the front, and flip YY. We will work with this operation instead, and show that from any initial position with at least one black counter, we can reach the configuration with one black counter on position 11.

Let BB denote a black counter and WW denote a white counter. Suppose we do not have two consecutive counters of the same color anywhere. Take a configuration BWBBWB and perform the move changing it to BWWBWW. Given that we have two consecutive white counters, we can find a configuration WWBWWB and perform the move changing it to BBWBBW. So no matter what we start with, we will be able to obtain two consecutive black counters somewhere.

Now we use our two consecutive black counters to turn everything black. Suppose there is a white counter; by taking the first white counter preceding a run of at least two consecutive black counters we have a configuration of the form WBBWBB. Perform the move to obtain BBBBBB, eliminating this white counter. By repeating this process we change all the counters to black.

It now suffices to show that we can get to just one black counter from this, since we can cyclically shift any moves from this point to ensure it ends up on space 11. Given the configuration BBBBBB, two moves will change it to BWWBWW. So we can change the black counters to white in pairs. Repeat this process in a way that keeps all the white counters and black counters consecutive. If nn is odd, this gives us one black counter at the end. If nn is even, we get two consecutive black counters with the rest white. Then perform three moves on WBBWBB, which changes it to BWWBWW. This completes the proof.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic and difficulty added by this site.