Maths Olympiad Prep

Library / Belarusian Mathematical Olympiad /106 of 208

Belarusian Mathematical Olympiad

Combinatorics Difficulty 6.0 National Olympiad Prove it Belarus

Peter and Andrey play the game on the n×1n \times 1 board, making moves alternate. Peter starts, and on his turn he places «+» to any empty cell. Andrey on his turn places «-» to any empty cell. The game is finished when all cells are filled. Peter's prize equals to the greatest number kk such that for each ℓ\ell from 1 to kk there are ℓ\ell successive cells, the amount of pluses on which is greater than the amount of minuses.
Find the maximal prize which Peter can guarantee for himself.

Solution

Answer: n+−1+(−1)n+12n + \frac{-1 + (-1)^{n+1}}{2}.

Want a route through all this instead of an archive? The track puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.