ISL 2019 C7
- Answer
There are 60 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 60 boxes as she wishes. Each subsequent round consists of two steps: (a) Bob chooses an integer with and splits the boxes into the two groups and . (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 such that Alice can prevent Bob from winning. (Czech Republic)
Official text Transcription from NuminaMath olympiads, checked word for word against the official paper. Quoted with source.
Official text: IMO 2019 Shortlist booklet, page 9.
Show the answer
n=\left\lfloor\frac{N}{2}+1\right\rfloor\left\lceil\frac{N}{2}+1\right\rceil-1
Solutions
Official solution Solution 1 by the IMO Problem Selection Committee
The terms of the source let olymmath link to this solution but not copy it. Read the solution (IMO official site).