Maths Olympiad Prep

Library / /61 of 91

, 2006

Combinatorics Difficulty 6.6 National Olympiad Prove it India

There are nn markers, each with one side white and the other side black, aligned in a row so that their white sides are all up in the beginning. In each step, if possible, we choose a marker with the white side up (but not the one of outermost markers), remove it, and reverse the closest marker to the left and the closest marker to the right of it. Prove that one can achieve the state with only two markers remaining if and only if (n1)(n-1) is not divisible by 33. (Short-list, IMO-2005)

Solution

It is easy to handle the cases n=3,5,6n = 3, 5, 6:

a. n=3n=3: WWWBBWWW \rightarrow BB, by removing middle WW and reversing the other two;

b. n=5n=5: (WWW)WW(BB)WW=B(BWW)BWBWW(WWW)WW \rightarrow (BB)WW = B(BWW) \rightarrow BWB \rightarrow WW;

c. n=6n = 6: (WWW)WWWBB(WWW)=B(BWW)WB(WB)W=(BWB)WWWW(WWW)WWW \rightarrow BB(WWW) = B(BWW)W \rightarrow B(WB)W = (BWB)W \rightarrow WWW.

The last reduction shows that for n>6n > 6, we can pick any six WW's and reduce it three WW's there by reducing the case to that of n3n - 3. Since we have ended with 2 markers for n=3n = 3 and 55, it follows by induction that the 'two marker state' is achievable for n=3kn = 3k or 3k+23k + 2.

We have to show that this is not possible for n=3k+1n = 3k + 1. Observe that the number of BB's is invariant modulo 22 in each move: WWWBBWWW \rightarrow BB; WWBBWWWB \rightarrow BW; BWWWBBWW \rightarrow WB; BWBWWBWB \rightarrow WW. Since all are WW in the beginning, the final two markers must be either BBBB or WWWW. We assign weights to WW and BB.

Take the group of symmetries of an equilateral triangle with centre at origin and yy-axis passing through a vertex; let ϕ\phi denote rotation by 120120^\circ about the centre in clock-wise direction; and let ψ\psi denote the reflection in yy axis. Then it is easy to see that
ϕ3=ψ2=1,ϕ2ψ=ψϕ,ψϕ2=ϕψ,ψϕψ=ϕ2. \phi^3 = \psi^2 = 1, \phi^2\psi = \psi\phi, \psi\phi^2 = \phi\psi, \psi\phi\psi = \phi^2.
Thus we may assign ω(W)=ϕ\omega(W) = \phi, ω(B)=ψ\omega(B) = \psi. The properties of ϕ\phi and ψ\psi show that they obey the reductions WWWBBWWW \rightarrow BB, WWBBWWWB \rightarrow BW; BWWWBBWW \rightarrow WB; BWBWWBWB \rightarrow WW and the total weights remain unchanged after each move. Hence if the 'two marker state is achievable, then the end weights must be either ϕ2\phi^2 or ψ2\psi^2 (corresponding to WWWW and BBBB respectively). If n=3k+1n = 3k + 1, the total weight at the beginning is ϕ(3k+1)=ϕ\phi^{(3k+1)} = \phi. But ϕϕ2\phi \neq \phi^2 or ψ2\psi^2 as is evident from the definitions of these functions. Hence 'two marker state' is not achievable for n=3k+1n = 3k + 1.

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 reproduced verbatim; metadata (topic, difficulty) added by this project.