Maths Olympiad Prep

Library / /2 of 3

Combinatorics Difficulty 8.7 Shortlist Prove it Taiwan

Let kk be a positive integer. The little one and the magician on the skywalk play a game. Initially, the little one places N=2kN = 2^k distinct balls in a row on the table, and covers each of them by a cup. On each turn, the little one chooses two cups, then the magician can either swap the balls in the two cups, or do a fake move so that the balls in the two cups stay the same. The little one cannot distinguish whether the magician fakes a move on not, nor can she observe the balls inside the cups.
After M=k×2k1M = k \times 2^{k-1} turns, the magician opens all cups so the little one can check the ball in each of the cups. If the little one can identify whether the magician fakes a move or not for each of the MM turns, then the little one wins. Prove that the little one has a winning strategy.

Solution

Number all the cups from 1 to NN in order. We will construct the strategy by induction. The case k=1k=1 is obvious. Now suppose that for k1k-1 there exists a winning strategy which, on turns i=1,2,,(k1)2k2i=1,2,\dots,(k-1)2^{k-2}, chooses the cups numbered aia_i and bib_i. Then for kk, let M1=2k1M_1 = 2^{k-1} and M2=(k+1)2k2M_2 = (k+1)2^{k-2}, and consider the following strategy:

Stage 1: On turns i=1,2,,M1i = 1,2,\dots,M_1, choose the cups numbered ii and i+M1i + M_1
(note that i+M12M1=2ki + M_1 \le 2M_1 = 2^k);

Stage 2: On turns i=M1+1,,M2i = M_1 + 1, \dots, M_2, choose the cups numbered aiM1a_{i-M_1} and biM1b_{i-M_1}
(note that iM1M2M1=(k1)2k2i - M_1 \le M_2 - M_1 = (k-1)2^{k-2});

Stage 3: On turns i=M2+1,,Mi = M_2 + 1, \dots, M, choose the cups numbered aiM2+2k1a_{i-M_2} + 2^{k-1} and biM2+2k1b_{i-M_2} + 2^{k-1}
(note that iM2MM2=(k1)2k2i - M_2 \le M - M_2 = (k-1)2^{k-2}).

We now prove that this is indeed a winning strategy. Let XX denote the cups numbered 1 through M1M_1, and let YY denote the cups numbered M1+1M_1+1 through NN.
- First, note that only during Stage 1 can a ball in XX and a ball in YY possibly be exchanged, and only the operation on turn ii can possibly move ball ii from XX to YY. Therefore, for every ii in Stage 1, we know that turn ii is a fake move if and only if ball number ii still remains in region XX at the end.
- Note that Stage 2 amounts to carrying out the winning strategy for k1k-1 on XX, and we already know the full distribution of balls in region XX at the end of Stage 1; therefore, by the induction hypothesis, we can determine whether any given turn in Stage 2 was a fake move by observing the final distribution of balls in region XX.
- Similarly, Stage 3 amounts to carrying out the winning strategy for k1k-1 on YY, and we already know the full distribution of balls in region YY at the end of Stage 1; therefore, by the induction hypothesis, we can determine whether any given turn in Stage 3 was a fake move by observing the final distribution of balls in region YY.

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 translated into English from zh; metadata (topic, difficulty) added by this project.