Odin and Evelyn are playing a game, Odin going first. There are initially $3k$ empty boxes, for some given positive integer $k$. On each player’s turn, they can write a non-negative integer in an empty box, or erase a number in a box and replace it with a strictly smaller non-negative integer. However, Odin is only ever allowed to write odd numbers, and Evelyn is only allowed to write even numbers. The game ends when either one of the players cannot move, in which case the other player wins; or there are exactly $k$ boxes with the number $0$, in which case Evelyn wins if all other boxes contain the number $1$, and Odin wins otherwise. Who has a winning strategy? $Agnijo \ Banerjee \ , United \ Kingdom$
Problem
Source: Balkan MO SL 2020 C3
Tags: combinatorics, game, combinatorial game theory, winning strategy, game strategy
15.09.2021 13:43
The official `valuation' solution is nicer, but here's a sketch of one that, although quite bashy, isn't too hard to come up with. We claim that Evelyn has a winning strategy; by inducting down it suffices to prove this for $k=1$. Abbreviate Odin and Evelyn to O and E, and say that person X wins on $(a,b,c)$ if, when the boxes contain the numbers $a,b,$ and $c$, X can move so that they are guaranteed to win. A player loses on $(a,b,c)$ if they do not win on it. Define statements $A, B,$ and $C$ as follows: $$\begin{cases} A(i): &\text{E wins on } (2i-1,2i-1,(2i-2)^+) \\ B(i): &\text{O loses on } (2i-1,2i,(2i-2)^+) \\ C(i): &\text{O loses on }(i,i+1,i+1)\end{cases}$$where $k^+$ denotes any positive integer greater than $k$. It's easy to verify that these three statements are all true for $i=1$. We now present the following claims, where $n$ is an arbitrary positive integer in each instance: Claim 1: If $B(i)$ holds for $1\leq i\leq n$, then $C(2n)$ holds. Claim 2: If $C(2n)$ holds, then $A(n+1)$ holds. Claim 3: If $B(i)$ holds for $1\leq i\leq n$, and $A(n+1)$ holds, then $C(2n+1)$ holds. Claim 4: If $B(i)$ holds for $1\leq i\leq n$, and $A(n+1)$ and $C(2n+1)$ hold, then $B(n+1)$ holds. The proof of these claims is routine by analysing E or O's possible moves. We then have from the four claims above that $B(i)$ inductively holds for any positive integer $i$, and so $A(i)$ and $C(i)$ hold for any positive integer $i$ (having taken care of the base cases). It's then relatively straightforward to exhaustively check, using the fact that these statements all hold, that no matter how O plays, E can win from her starting position.
22.01.2022 05:54