Baltic Way 2024 · Problem 8
Combinatorics
Let be positive integers such that . Alice and Bob play a game on an (initially uncoloured) grid as follows:
- First, Alice paints cells green.
- Then, Bob paints other (i.e. uncoloured) cells blue.
Alice wins if she can find a path of non-blue cells starting with the bottom left cell and ending with the top right cell (where a path is a sequence of cells such that any two consecutive ones have a common side), otherwise Bob wins. Determine, in terms of and , who has a winning strategy.
When you’re ready
Review material becomes available with the next Daily.
Review
Topics
Games and strategies · Colorings and configurations
Solutions
Solution

Figure 7

Figure 8
If , Alice can win, for example by painting all the cells in the leftmost column and the topmost row green, ensuring that there will be a green path (Fig. 7). If , Alice can also win. Indeed, note that , so Alice can make sure to color (at least) the bottommost cells in the leftmost column and the rightmost cells in the topmost row green. There are now disjoint paths from some green square in the leftmost column to some green square in the topmost row (Fig. 8), so there is no way for Bob to block all of the paths. If however , Bob wins. Indeed, note that is the number of all descending diagonals of length at most . Hence after Alice has made her move, there must still be some of these diagonals with no green cells in it. Bob can color all cells in it blue and win. Hence Alice wins iff .
Contest context
Results from Baltic Way 2024
11 teams
- Mean score
- 3.5 / 5
- Scores of 4 or 5
- 8 / 11
- Estonia
- 5 / 5
Score distribution
All team scores
| Team | Score |
|---|---|
| Poland | 5 / 5 |
| Estonia | 5 / 5 |
| Germany | 5 / 5 |
| Ukraine | 4 / 5 |
| Latvia | 5 / 5 |
| Norway | 0 / 5 |
| Lithuania | 5 / 5 |
| Sweden | 4 / 5 |
| Denmark | 5 / 5 |
| Finland | 0 / 5 |
| Iceland | 0 / 5 |