MathDB
Alice and Bob playing with Pebbles

Source: 2019 ISL C7

September 22, 2020
combinatoricsIMO ShortlistIMO Shortlist 2019gameCombinatorial games

Problem Statement

There are 60 empty boxes B1,,B60B_1,\ldots,B_{60} in a row on a table and an unlimited supply of pebbles. Given a positive integer nn, Alice and Bob play the following game. In the first round, Alice takes nn pebbles and distributes them into the 60 boxes as she wishes. Each subsequent round consists of two steps: (a) Bob chooses an integer kk with 1k591\leq k\leq 59 and splits the boxes into the two groups B1,,BkB_1,\ldots,B_k and Bk+1,,B60B_{k+1},\ldots,B_{60}. (b) 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. Find the smallest nn such that Alice can prevent Bob from winning.
Czech Republic