Let be a positive integer. The little one and the magician on the skywalk play a game. Initially, the little one places 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 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 turns, then the little one wins. Prove that the little one has a winning strategy.
Solution
Number all the cups from 1 to in order. We will construct the strategy by induction. The case is obvious. Now suppose that for there exists a winning strategy which, on turns , chooses the cups numbered and . Then for , let and , and consider the following strategy:
Stage 1: On turns , choose the cups numbered and
(note that );
Stage 2: On turns , choose the cups numbered and
(note that );
Stage 3: On turns , choose the cups numbered and
(note that ).
We now prove that this is indeed a winning strategy. Let denote the cups numbered 1 through , and let denote the cups numbered through .
- First, note that only during Stage 1 can a ball in and a ball in possibly be exchanged, and only the operation on turn can possibly move ball from to . Therefore, for every in Stage 1, we know that turn is a fake move if and only if ball number still remains in region at the end.
- Note that Stage 2 amounts to carrying out the winning strategy for on , and we already know the full distribution of balls in region 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 .
- Similarly, Stage 3 amounts to carrying out the winning strategy for on , and we already know the full distribution of balls in region 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 .