The Curious Structure of Knight Tours on Four-Rank Boards
Medieval manuscripts on chess problems hint that some early puzzleists already sensed a hidden structure in knight’s tours on the familiar \(4\times 8\) board. Several tours on that board were constructed long before the mathematics behind them was clearly understood.
By the eighteenth century, Leonhard Euler had observed two remarkable facts about tours on boards with only four ranks (four rows). First, a closed tour—one in which the knight ends one move away from its starting square—is impossible. Second, any tour that does exist must begin and end on the outer ranks of the board.
Euler stated these facts without proof. The first complete analysis appeared more than a century later, when C. Flye Sainte‑Marie presented a paper to the French Mathematical Society on April 18, 1877. Sainte-Marie not only proved Euler’s observations but also showed how the entire problem of counting tours on boards of size \(4\times n\) could be reduced to a much simpler combinatorial task. In particular, he obtained the correct total of \(7,772\) tours on the \(4\times 8\) board (Jelliss, G.P. 2001).
A Structural Surprise
Sainte-Marie discovered that every knight’s tour on a \(4\times n\) board has a remarkably rigid structure.
Theorem
The statement sounds mysterious, but the idea behind it is surprisingly simple.
Imagine numbering the columns of the board from \(1\) to \(n\). Now color certain squares Blue:
-
the top square of each odd-numbered column, and
-
the bottom square of each even-numbered column.
Call these the squares of Set A. All remaining squares form Set B.
![]() |
A little inspection of the knight’s move reveals something striking: whenever the knight stands on an outer square (one of the top or bottom rows), it can move only to an inner square belonging to the same set. In other words, from the outer ranks, the knight is trapped within whichever set it started in. The only way to jump from one set to the other is by making a move entirely within the inner ranks.
Suppose a knight performs a complete tour of a \(4\times n\) board. The tour visits \(4n\) squares, so it consists of \(4n-1\) moves. At least one of these moves must connect two inner squares; otherwise, the knight would remain forever within a single set and could never reach all squares of the board.
Therefore:
-
\(2n-2\) touter squares must be connected to two moves each.
-
Two outer squares (the start and finish) connect to one move each.
Counting these connections gives
Thus, at least \(4n-2\) moves must touch an outer square. But the entire tour contains only \(4n-1\) moves. This leaves room for exactly one move that does not touch an outer square—that is, exactly one inner-to-inner move. This single move acts as a bridge between the two sets of squares. The tour, therefore, splits naturally into two separate partial tours—one within each set—linked by that lone inner jump.
Reducing the Counting Problem
Sainte-Marie’s insight leads to a powerful simplification. Instead of trying to enumerate full tours on the entire board, we need only enumerate the partial tours within one of the two sets of squares. The sets always have the same shape—an alternating pattern of “dominoes”—and one is simply the mirror image of the other across the middle of the board.
Once the partial tours of a single set are known, counting the complete tours becomes merely a matter of determining how many ways two such partial paths can be joined by the unique inner move. With this clever reduction, the formidable problem of knight tours on \(4×n\) boards suddenly becomes tractable, which is a classic example of how a bit of structural insight can transform a puzzle into mathematics\(^{1}\).
To test the reader's powers of deduction, a thought-provoking problem has been extracted, as usual, from the so-called Mega test. On the surface, it seems like another chess puzzle, the kind of puzzle chess players use to challenge one another. Still, it conceals the key to a new generalization that our fellow French mathematician proved in the 19th century.
The Knight's Mini-Tour
![]() |
| Each square visited is color-coded. Image generated by Matplotlib. |




Comments
Post a Comment