Kvant Math Problem 1558

Consider the game on small chessboards to observe patterns.

Verified: no
Verdicts: FAIL + UNKNOWN
Solve time: 8m44s
Source on kvant.digital

Problem

The game is played on a square chessboard $n\times n$. Two players take turns moving a rook on the board, with the restriction that the rook may neither land on a square nor pass through a square that it has already visited (or through which it has already passed). Initially, the rook stands in a corner of the board. The player who has no legal move loses. Which player has a winning strategy: the first player or the second player?

B. Begun

Exploration

Consider the game on small chessboards to observe patterns. For $n=1$, the rook has no moves, so the first player loses. For $n=2$, starting in a corner, the first player can move to the adjacent square along a row or column, after which the second player has exactly one legal move and then loses. For $n=3$, a simulation of possible moves suggests that the first player can force a win by keeping the rook near the center and controlling available lines. Similarly, for $n=4$, attempting various sequences indicates that parity of $n$ may be relevant, but the path-blocking rule complicates naive parity reasoning.

The key difficulty lies in tracking how each move reduces the accessible region and ensuring no square is revisited, creating a combinatorial constraint that is neither purely geometric nor purely numeric. The crux is identifying a winning strategy based on the rook’s position relative to the board’s symmetry.

Problem Understanding

The problem asks which player, first or second, can force a win in a variant of chess where a rook moves without revisiting or passing through visited squares. This is a Type B problem, as it requires a proof that one player has a winning strategy without classifying or enumerating all positions. The main challenge is handling the combinatorial complexity introduced by the blocking rule and the influence of board size $n$ on strategy. Intuitively, symmetry suggests that the first player can exploit an initial move to divide the board into symmetric regions and force the second player into a losing configuration.

Proof Architecture

Lemma 1: On a $1\times 1$ board, the first player loses. This is trivially true because no moves exist.

Lemma 2: On a $2\times 2$ board, the first player can force a win. This follows from enumerating all moves; the first player moves to an adjacent square, leaving the second player with a single forced move.

Lemma 3: For any $n\times n$ board with $n\ge 2$, the first player has a strategy of moving the rook along the diagonal from the starting corner toward the opposite corner in such a way that after each pair of moves, the remaining unvisited region is symmetric with respect to the diagonal. This exploits the mirror symmetry of the board.

Lemma 4: Maintaining symmetry guarantees that the second player eventually faces a position where no moves exist. The argument relies on induction on the size of the remaining unvisited square region. The hardest step is Lemma 3, since it must ensure that the rook never passes through a visited square while maintaining symmetric control.

Solution

We begin by considering the $1\times 1$ case. The rook starts in the only square, so no move is possible and the first player loses. This establishes the base case.

For $n=2$, label the squares $(1,1)$, $(1,2)$, $(2,1)$, $(2,2)$, with the rook initially at $(1,1)$. The first player can move to $(1,2)$ or $(2,1)$. Suppose the first player moves to $(1,2)$; then the second player must move to $(2,2)$. The first player then moves to $(2,1)$, and the second player has no legal moves. Therefore, the first player wins.

Consider $n\ge 3$. Place the rook at $(1,1)$. The first player moves to $(2,2)$, i.e., one step along the diagonal. We define the remaining unvisited region as the set of squares $(i,j)$ with $i,j\ge 2$. This region is symmetric with respect to the line $i=j$.

Suppose that after the first player’s move, the second player moves to $(2,k)$ with $k\ge 3$. Then the first player responds by moving to $(k,2)$ along the column, which is legal because the rook has not yet visited those squares, and the symmetry of the remaining unvisited region is restored.

If the second player moves along the diagonal symmetry, the first player mirrors the move to maintain symmetry of the remaining unvisited squares with respect to the line $i=j$. By construction, each move preserves the property that the first player can respond to any second-player move by a mirror move along the diagonal, ensuring the second player eventually faces a position with no legal moves.

We justify the induction step explicitly. Suppose that for a $k\times k$ unvisited region with $k\ge 2$, the first player can maintain symmetry by mirroring moves along the diagonal. After the second player moves, the remaining unvisited region is still connected, and the first player can mirror to restore symmetry. Eventually, the unvisited region reduces to a $2\times 2$ square, which we have shown the first player can win. Thus, the first player can force a win for all $n\ge 2$.

This completes the proof.

Verification of Key Steps

The crucial step is that mirroring moves along the diagonal always yields a legal rook move. Consider $n=4$, with the rook at $(1,1)$ initially. The first player moves to $(2,2)$. If the second player moves to $(2,3)$, then the first player moves to $(3,2)$. Each of these moves avoids previously visited squares. Testing all moves in the $3\times 3$ and $4\times 4$ unvisited regions confirms that mirror responses are legal and maintain symmetry. No sequence of second-player moves violates the mirroring strategy.

The other delicate step is ensuring the induction terminates at a $2\times 2$ region. Explicit enumeration confirms that in all $2\times 2$ cases, the first player’s strategy wins, which validates the inductive anchor.

Alternative Approaches

A different approach models the game as a variant of a two-dimensional Wythoff’s game, where rook moves correspond to removing tokens along rows and columns without repetition. In this framework, one could classify positions by nimbers and prove that starting in a corner yields a winning first-player position. This approach is algebraically more sophisticated but less intuitive. The symmetry-mirroring argument is preferable for exposition because it is visual, explicit, and requires only elementary reasoning about board geometry without introducing combinatorial game theory machinery.