Olympiad Maths Prep

Track / Stage 6 / 244 of 400 #1244 of 2000

Problem 1244

National olympiad, first round
Combinatorics Difficulty 6.5 Prove it Mathematical Olympiad Rioplatense · Argentina

There are given 2k2k boxes (k2k \ge 2) with 2k12k-1 pebbles in each one. A legal move is to choose 2k22k-2 boxes and remove one pebble from each one of them. Players AA and BB make moves alternately; AA goes first. A player wins if a move of his empties two boxes. Determine which player has a winning strategy.

This one wants a proof. Work it on paper, read the official solution, then mark yourself honestly — the ladder only means something if the record is true.

Official solution

The second player BB has a winning strategy.

Each move does not affect (ignores) exactly two boxes i,ji, j; then we denote it by mi,jm_{i,j}. Let AA's first move be m1,2m_{1,2}. Then BB divides the remaining boxes arbitrarily into k1k-1 pairs {3,4},{5,6},,{2k1,2k}\{3,4\}, \{5,6\}, \dots, \{2k-1,2k\}, and his first k1k-1 moves are m3,4,m5,6,,m2k1,2km_{3,4}, m_{5,6}, \dots, m_{2k-1,2k}. He is not interested in how AA plays until move m2k1,2km_{2k-1,2k}, the last one of these k1k-1. However BB's move after m2k1,2km_{2k-1,2k} depends on AA's response. We show that this move of BB, his kkth, is winning.

Every box i=1,2,,2ki = 1, 2, \dots, 2k is ignored by exactly one of the moves m1,2,m3,4,,m2k1,2km_{1,2}, m_{3,4}, \dots, m_{2k-1,2k}. Hence these kk moves combined decrease the contents of every box by exactly k1k-1.

Let m3,4,,m2k1,2km'_{3,4}, \dots, m'_{2k-1,2k} be AA's moves matching m3,4,,m2k1,2km_{3,4}, \dots, m_{2k-1,2k}. They affect a box at most k1k-1 times, so by the previous conclusion there will be at least k(k1)=1k - (k-1) = 1 pebbles in each box after m2k1,2km'_{2k-1,2k}. In particular m3,4,,m2k1,2km'_{3,4}, \dots, m'_{2k-1,2k} are not winning.

We claim that after m2k1,2km'_{2k-1,2k} at least two boxes contain exactly one pebble. A move ignores two boxes; then k1k-1 moves ignore at most 2k22k-2 boxes. So there exist two boxes ii and jj that are affected by each of the moves m3,4,,m2k1,2km'_{3,4}, \dots, m'_{2k-1,2k}, meaning that the latter sequence decreases their contents by exactly k1k-1. But the previous sequence m1,2,m3,4,,m2k1,2km_{1,2}, m_{3,4}, \dots, m_{2k-1,2k} decreased the contents of every box by exactly k1k-1. As a result each of ii and jj has exactly one pebble after m2k1,2km'_{2k-1,2k}. It is clear now that BB's next move is winning.

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.