There are empty boxes in a row on a table and an unlimited supply of pebbles. Given a positive integer , Alice and Bob play the following game.
In the first round, Alice takes pebbles and distributes them into the boxes as she wishes. Each subsequent round consists of two steps:
(i) Bob chooses an integer with and splits the boxes into the two groups and .
(ii) Alice picks one of these two groups, adds one pebble to each box in that group, and removes one pebble from each box in the other group.
Bob wins if, at the end of any round, some box contains no pebbles. Let where denotes the largest integer not exceeding .
(a) Prove that, for any , Alice has a strategy so that Bob can never win.
(b) Prove that, for any , Bob has a strategy to guarantee a win.
, 2020
Solution
For convenience, we call choosing choosing the left, and otherwise choosing the right.
a.
Partial solution: Let denote the situation where box contains pebbles. We say if and only if holds for all . Moreover, for any , let denote the situation where box contains pebbles; note that has no empty box.
Now, suppose , and Alice initially distributes the pebbles into the situation (in this case the total number of pebbles is ). In each subsequent round, suppose the starting state is with .
– If Bob chooses , then Alice chooses the left, and the state at the end of the round will be .
– If Bob chooses , then Alice chooses the right, and the state at the end of the round will be .
Therefore, at the end of any round, Alice can guarantee that her state is greater than some , so there can never be an empty box. Part (a) is thus proved.
b.
Partial solution: We first prove two lemmas.
Lemma 1: Consider two consecutive rounds. Suppose that in the first round Bob chooses , and Alice chooses the left. If in the next round Bob chooses , then we only need to consider the possibility that Alice chooses the left.
Proof. Suppose the state at the start is . If Alice chooses the right the second time, then the new state she ends up with is , so . In doing so Alice has only made her situation strictly worse than before, so we only need to consider the case where she chooses the left both times. □
Lemma 2: If there exist at least boxes, each containing at most pebbles, then Bob has a winning strategy.
Proof. Ignore the boxes other than these boxes. First, Bob splits the boxes evenly in half, and without loss of generality assume Alice chooses the left. Bob then successively chooses ; by Lemma 1, we may always assume Alice chooses the left. But then, after all of the above moves have been completed, the rightmost box will be empty, and Bob wins. □
Now, if initially there is no empty box, and for any positive integer the situation of Lemma 2 does not occur, this means that every box has at least 1 pebble, and for all , at least boxes have at least pebbles. Summing all of these up, we get that the total number of pebbles is at least . Hence if the initial number of pebbles is , Bob is guaranteed to win.