All public Sources
Public document

Mathematical Recreations and Essays

PDF document375 original pagesAdded to Pandi 6 November 2026
AskTalkView media
Reading progressPage 38 of 81

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 (4n)2(4n)^2 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 ll, ee, aa, or pp, 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 ll and the path indicated by the consonants pp are diamond-shaped: the paths indicated respectively by the vowels ee and aa are square-shaped, as may be seen by looking at one of the four quarters in figure i below.

leapleap
apleaple
elpaelpa
paelpael
leapleap
apleaple
elpaelpa
paelpael
345132153853183
311435521723954
503316295637419
133049361205540
48632894457225
271245642184158
624710256043623
112661467245942

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 pp can be arranged in the circuit indicated by the successive numbers 1 to 16 in figure ii above. Similarly all the cells marked aa can be combined into the circuit indicated by the numbers 17 to 23; all the ll cells into the circuit 33 to 48; and all the ee 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, YY, in the same circuit as the final cell, ZZ, and one move from it, next select a cell, XX, belonging to one of the opposite circuits and one move from YY. This is always possible. Then, leaving out the cells ZZ and YY, it always will be possible, by the rule already given, to travel from the initial cell to the cell XX 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 pp circuit, and to terminate on the cell numbered 64, which is one of those in an ee circuit. This falls under the first rule: hence first we take the 16 cells marked pp, next the 16 cells marked aa, then the 16 cells marked ll, and lastly the 16 cells marked ee. 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.

Original PDF link to page 181

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

abcdabcd
cdabcdab
baABCDdc
dcCDABba
abBADCcd
cdDCBAab
badcbadc
dcbadcba
632215401425918
143964216017243
376223164141958
241338612057443
113625522946556
265112338553045
351049285332476
50273494875431

Moon’s Solution.

Jaenisch’s Solution.

central square containing 424^2 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 a,b,c,da, b, c, d. The central square may be divided similarly into four closed circuits, each containing 4 cells, denoted by the letters A,B,C,DA, B, C, D. 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 AA either to bb or to cc or to dd (but not to aa) and similarly for the other letters. If we are moving inwards from the annulus to the central square we must go from aa to DD, or dd to AA, or bb to CC, or cc to BB, as the case may be. Thus if the initial cell is on aa, we might take either of the cycles a D b C d A c Ba\,D\,b\,C\,d\,A\,c\,B, or a D c B d A b Ca\,D\,c\,B\,d\,A\,b\,C. 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.

Original PDF link to page 178

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 n2n^2 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 nn be even, on any other cell of a different colour, and, if nn 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.


Continue reading
Page 38 of 81