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 1 of 4: Consecutive-interval invariant and reversibility
Detailed analysis
Initially the starting box holds . Because Cathy only ever removes the minimum of a box and places it into an empty box or onto the minimum of another box, every non-empty box always holds a consecutive block of labels, and the reverse of any legal move is also a legal move.