Problem 4
Let and be positive integers. Cathy is playing the following game. There are marbles and boxes, with the marbles labelled to . Initially, all marbles are placed inside one box. Each turn, Cathy chooses a box and then moves the marble with the smallest label, say , to either any empty box or the box containing marble . Cathy wins if at any point there is a box containing only marble . Determine all pairs of integers such that Cathy can win this game.
Step 2 of 4: Induction for achievability at
Detailed analysis
Proceed by induction on ; , is trivial. Suppose boxes suffice for marbles, and consider boxes with marbles. Using boxes (keeping one box empty) apply the -box winning sequence to the top movements until only marbles remain in the starting box. Move into the empty box , then run the initial sequence in reverse treating as the target box; this collects into , leaves in the starting box, and frees the other boxes. Finally apply the -box strategy to the marbles using the boxes outside to isolate . The same strategy works for any .