Mathematical Recreations and Essays
All the more recent investigations impose additional restrictions: such as to require that the route shall be re-entrant, or more generally that it shall begin and terminate on given cells.
The best complete solution with which I am acquainted—and one which I believe is not generally known—is due to Roget‡. It divides the whole route into four circuits, which can be combined so as to enable us to begin on any cell and terminate on any other cell of a different colour. Hence, if we like to select this last cell at a knight’s move from the initial cell, we obtain a re-entrant route. On the other hand, the rule is applicable only to square boards containing cells: for example, it could not be used on the board of the French jeu des dames, which contains 100 cells.
Roget began by dividing the board of 64 cells into four quarters. Each quarter contains 16 cells, and these 16 cells can be arranged in 4 groups, each group consisting of 4 cells which form a closed knight’s path. All the cells in each such path are denoted by the same letter , , , or , as the case nay be. The path of 4 cells indicated by the
- Des Rösselsprungen einfachste und allgemeinste Lösung, Schmalkalden, 1823: see Jaenisch, vol. II, pp. 56–61, 273–289.
† See ex. gr. T. Ciccolini’s work Del Cavallo degli Scacchi, Paris, 1836.
‡ Philosophical Magazine, April, 1840, series 3, vol. XVI, pp. 305–309; see also the Quarterly Journal of Mathematics for 1877, vol. XIV, pp. 354–359. Some solutions, founded on Roget’s method, are given in the Leisure Hour, Sept. 13, 1873, pp. 587–590; see also Ibid., Dec. 20, 1873, pp. 813–815.
consonants and the path indicated by the consonants are diamond-shaped: the paths indicated respectively by the vowels and are square-shaped, as may be seen by looking at one of the four quarters in figure i below.
| l | e | a | p | l | e | a | p | |
|---|---|---|---|---|---|---|---|---|
| a | p | l | e | a | p | l | e | |
| e | l | p | a | e | l | p | a | |
| p | a | e | l | p | a | e | l | |
| l | e | a | p | l | e | a | p | |
| a | p | l | e | a | p | l | e | |
| e | l | p | a | e | l | p | a | |
| p | a | e | l | p | a | e | l |
| 34 | 51 | 32 | 15 | 38 | 53 | 18 | 3 | |
|---|---|---|---|---|---|---|---|---|
| 31 | 14 | 35 | 52 | 17 | 2 | 39 | 54 | |
| 50 | 33 | 16 | 29 | 56 | 37 | 4 | 19 | |
| 13 | 30 | 49 | 36 | 1 | 20 | 55 | 40 | |
| 48 | 63 | 28 | 9 | 44 | 57 | 22 | 5 | |
| 27 | 12 | 45 | 64 | 21 | 8 | 41 | 58 | |
| 62 | 47 | 10 | 25 | 60 | 43 | 6 | 23 | |
| 11 | 26 | 61 | 46 | 7 | 24 | 59 | 42 |
Roget’s Solution (i).
Roget’s Solution (ii).
Now all the 16 cells on a complete chess-board which are marked with the same letter can be combined into one circuit, and wherever the circuit begins we can make it end on any other cell in the circuit, provided it is of a different colour to the initial cell. If it is indifferent on what cell the circuit terminates we may make the circuit re-entrant, and in this case we can make the direction of motion round each group (of 4 cells) the same. For example, all the cells marked can be arranged in the circuit indicated by the successive numbers 1 to 16 in figure ii above. Similarly all the cells marked can be combined into the circuit indicated by the numbers 17 to 23; all the cells into the circuit 33 to 48; and all the cells into the circuit 49 to 64. Each of the circuits indicated above is symmetrical and re-entrant. The consonant and the vowel circuits are said to be of opposite kinds.
The general problem will be solved if we can combine the four circuits into a route which will start from any given cell, and terminate on the 64th move on any other given cell of a different colour. To effect this Roget gave the two following rules.
First. If the initial cell and the final cell are denoted the one by a consonant and the other by a vowel, take alternately circuits indicated by consonants and vowels, beginning with the circuit of 16 cells indicated by the letter of the initial cell and concluding with the circuit indicated by the letter of the final cell.
Second. If the initial cell and the final cell are denoted both by consonants or both by vowels, first select a cell, , in the same circuit as the final cell, , and one move from it, next select a cell, , belonging to one of the opposite circuits and one move from . This is always possible. Then, leaving out the cells and , it always will be possible, by the rule already given, to travel from the initial cell to the cell in 62 moves, and thence to move to the final cell on the 64th move.
In both cases however it must be noticed that the cells in each of the first three circuits will have to be taken in such an order that the circuit does not terminate on a corner, and it may be desirable also that it should not terminate on any of the border cells. This will necessitate some caution. As far as is consistent with these restrictions it is convenient to make these circuits re-entrant, and to take them and every group in them in the same direction of rotation.
As an example, suppose that we are to begin on the cell numbered 1 in figure ii on the previous page, which is one of those in a circuit, and to terminate on the cell numbered 64, which is one of those in an circuit. This falls under the first rule: hence first we take the 16 cells marked , next the 16 cells marked , then the 16 cells marked , and lastly the 16 cells marked . One way of effecting this is shown in the diagram. Since the cell 64 is a knight’s move from the initial cell the route is re-entrant. Also each of the four circuits in the diagram is symmetrical, re-entrant, and taken in the same direction, and the only point where there is any apparent breach in the uniformity of the movement is in the passage from the cell numbered 32 to that numbered 33.
A rule for re-entrant routes, similar to that of Roget, has been given by various subsequent writers, especially by De Polignac* and by Laquière†, who have stated it at much greater length. Neither of these authors seems to have been aware of Roget’s theorems. De Polignac, like Roget, illustrates the rule by assigning letters to the various squares in the way explained above, and asserts that a similar rule is applicable to all even squares.
Roget’s method can be also applied to two half-boards, as indicated
- Comptes Rendus, April, 1861; and Bulletin de la Société Mathématique de France, 1881, vol. IX, pp. 17–24.
† Bulletin de la Société Mathématique de France, 1880, vol. VIII, pp. 82–102, 132–158.
in the figure given above on page 162.
Another way of dividing the board into closed circuits which can be connected was given in 1843 by Moon*. He divided the board into a
| a | b | c | d | a | b | c | d |
|---|---|---|---|---|---|---|---|
| c | d | a | b | c | d | a | b |
| b | a | A | B | C | D | d | c |
| d | c | C | D | A | B | b | a |
| a | b | B | A | D | C | c | d |
| c | d | D | C | B | A | a | b |
| b | a | d | c | b | a | d | c |
| d | c | b | a | d | c | b | a |
| 63 | 22 | 15 | 40 | 1 | 42 | 59 | 18 |
|---|---|---|---|---|---|---|---|
| 14 | 39 | 64 | 21 | 60 | 17 | 2 | 43 |
| 37 | 62 | 23 | 16 | 41 | 4 | 19 | 58 |
| 24 | 13 | 38 | 61 | 20 | 57 | 44 | 3 |
| 11 | 36 | 25 | 52 | 29 | 46 | 5 | 56 |
| 26 | 51 | 12 | 33 | 8 | 55 | 30 | 45 |
| 35 | 10 | 49 | 28 | 53 | 32 | 47 | 6 |
| 50 | 27 | 34 | 9 | 48 | 7 | 54 | 31 |
Moon’s Solution.
Jaenisch’s Solution.
central square containing cells and a surrounding annulus (see figure on this page). The annulus may be divided into four closed circuits, each containing 12 cells: these are marked respectively with the letters . The central square may be divided similarly into four closed circuits, each containing 4 cells, denoted by the letters . We can connect these routes as follows. If we are moving outwards from the central square to the annulus we can go from a cell either to or to or to (but not to ) and similarly for the other letters. If we are moving inwards from the annulus to the central square we must go from to , or to , or to , or to , as the case may be. Thus if the initial cell is on , we might take either of the cycles , or . By following these rules we always can connect the routes into one path, but in general it will not be re-entrant. It is convenient to take the cells in each circuit in one and the same direction, but a circuit in the outer annulus must not end in a corner cell, and to avoid this we may have to alter the direction in which a circuit is taken.
Moon’s rule can be modified to cover the case of any doubly even square board, and the path can be made to begin and end on any two given squares, but I do not propose to go further into details.
- Cambridge Mathematical Journal, 1843, vol. III, pp. 233–236.
The method which Jaenisch gives as the most fundamental is not very different from that of Roget. It leads to eight forms, similar to that in the diagram printed on the previous page, in which the sum of the numbers in every column and every row is 260; but although symmetrical it is not in my opinion so easy to reproduce as that given by Roget.
It is as yet impossible to say how many solutions of the problem exist. Legendre* mentioned the question, but Minding† was the earliest writer to attempt to answer it. More recent investigations have shown that on the one hand the number of possible routes is less‡ than the number of combinations of 168 things taken 63 at a time, and on the other hand is greater than 31,054144—since this latter number is the number of re-entrant paths of a particular type§.
There are many similar problems in which it is required to determine routes by which a piece moving according to certain laws (ex. gr. a chess-piece such as a king, knight, &c.) can travel from a given cell over a board so as to occupy successively all the cells, or certain specified cells, once and only once, and terminate its route in a given cell.
Euler’s method can be applied to find routes of this kind: for instance, he applied it to find a re-entrant route by which a piece that moved two cells forward like a castle and then one cell like a bishop would occupy in succession all the black cells on the board. As another instance, a castle, placed on a chess-board of cells, can always be moved in such a manner that it shall move successively on to every cell once and only once; moreover, starting on any cell, its path can be made to terminate, if be even, on any other cell of a different colour, and, if be odd, on any other cell of the same colour||. But it will suffice to have discussed the classical problem of the determination of a knight’s path on an ordinary chess-board, and I need not enter on the discussion of other similar problems.