Skip to main content
OlympiadHQ

Browse · MathNet

Print

41st Balkan Mathematical Olympiad

counting and probability

Problem

Let . Alice and Bob play the following game: Alice chooses and draws a table, then he fills the cells of the first row with different numbers from . Then, Bob fills on the second row some of the cells (eventually none) with distinct numbers from , and the rest of them with . Finally, on each cell of the third row we write the sum of the two cells above. Show that regardless how Alice plays, Bob can guarantee that on the third row he can obtain, in some order, the terms of a non-constant arithmetical progression.
Solution
Let be the numbers Alice chose. For a sequence of positive integers, we call its deficit the set .

Bob has the following strategy: he starts with . Let be the maximum number of its deficit. If we denote , Bob writes under the number . Then . If , then are consecutive and . So Bob writes under all the rest , and he gets on the third row a progression with unit ratio.

Otherwise, we have and Bob repeats the process, but for the sequence . The lowest term is and its deficit does not have , so has lower cardinal. Therefore, each step decreases the cardinality of the deficit. As long as the deficit is not empty, Bob can perform another step, so in the end the deficit will be empty and the numbers on the third row will form an arithmetic progression with unit ratio.

As the values are strictly decreasing, Bob fulfils the requirement of using numbers from to only once.

Techniques

Games / greedy algorithmsInvariants / monovariants