All public Sources
Public document

Mathematical Recreations and Essays

PDF document375 original pagesAdded to Pandi 6 November 2026
AskTalkView media
Reading progressPage 16 of 81
  • La Nature, June, 1887, p. 10.

† Lucas, vol. II, part 5, pp. 141-143.

direction; the “aa” pieces can move from left to right, and the “bb” pieces from right to left. If the square next to a piece is unoccupied, it can

Seven cells: a, a, a, empty, b, b, b.

move on to that; or if the square next to it is occupied by a piece of the opposite colour and the square beyond that is unoccupied, then it can, like a queen in draughts, leap over that piece on to the unoccupied square beyond it. The object is to get all the white pawns in the places occupied initially by the black pawns and vice versa.

The solution requires 15 moves. It may be effected by moving first a white pawn, then successively two black pawns then three white pawns, then three black pawns, then three white pawns, then two black pawns, and then one white pawn. We can express this solution by saying that if we number the cells (a term used to describe each of the small squares on a chess-board) consecutively, then initially the vacant space occupies the cell 4 and in the successive moves it will occupy the cells 3, 5, 6, 4, 2, 1, 3, 5, 7, 6, 4, 2, 3, 5, 4. Of these moves, six are simple and nine are leaps.

Similarly if we have nn white pawns at one end of a row of 2n+12n+1 cells, and nn black pawns at the other end, they can be interchanged in n(n+2)n(n+2) moves, by moving in succession 1 pawn, 2 pawns, 3 pawns, . . . , n−1n-1 pawns, nn pawns, nn pawns, nn pawns, n−1n-1 pawns, . . . , 2 pawns, and 1 pawn—all the pawns in each group being of the same colour and different from that of the pawns in the group preceding it. Of these moves 2n2n are simple and n2n^2 are leaps.

Second Problem with Pawns*. A similar game may be played on a rectangular or square board. The case of a square board containing 49 cells, or small squares, will illustrate this sufficiently: in this case the initial position is shown in the annexed diagram where the “aa”s denote the pawns or pieces of one colour, and the “bb”s those of the other colour. The “aa” pieces can move horizontally from left to right or vertically down, and the “bb” pieces can move horizontally from right to left or vertically up, according to the same rules as before.

The solution reduces to the preceding case. The pieces in the middle column can be interchanged in 15 moves. In the course of these moves every one of the seven cells in that column is at some time or

  • Lucas, vol. II, part 5, p. 144.
Grid of seven rows of a and b, with alternating a and b in each row.
other vacant, and whenever that is the case the pieces in the row containing the vacant cell can be interchanged. To interchange the pieces in each of the seven rows will require 15 moves. Hence to interchange all the pieces will require 15+(7×15)15 + (7 \times 15) moves, that is, 120 moves.

If we place 2n(n+1)2n(n+1) white pawns and 2n(n+1)2n(n+1) black pawns in a similar way on a square board of (2n+1)2(2n+1)^2 cells, we can transpose them in 2n(n+1)(n+2)2n(n+1)(n+2) moves: of these 4n(n+1)4n(n+1) are simple and 2n2(n+1)2n^2(n+1) are leaps.

Third Problem with Pawns. The following analogous, though somewhat more complicated, game was I believe originally published in the first edition of this work: but I find that it has been since widely distributed in connexion with an advertisement and probably now is well-known. On a square board of 25 cells, place eight white pawns or counters on the cells denoted by small letters in the annexed diagram, and eight black pawns or counters on the cells denoted by capital letters: the cell marked with an asterisk (*) being left blank. Each pawn can move according to the laws already explained—the white pawns being able to move only horizontally from left to right or vertically downwards, and the black pawns being able to move only horizontally from right to left or vertically upwards. The object is to get all the

Grid of five rows of a, b, and c, with alternating a and b in each row and a blank cell in the center.

white pawns in the places initially occupied by the black pawns and vice versa. No moves outside the dark line are permitted.

Since there is only one cell on the board which is unoccupied, and since no diagonal moves and no backward moves are permitted, it follows that at each move not more than two pieces of either colour are capable of moving. There are however a very large number of solutions. The following empirical solution in forty-eight moves is one way of effecting the transfer—the letters indicating the cells from which the pieces are successively moved:

h H ∗ f F E H G ∗ c b h g d f F C ∗ h H B A C ∗h\ H\ *\ f\ F\ E\ H\ G\ *\ c\ b\ h\ g\ d\ f\ F\ C\ *\ h\ H\ B\ A\ C\ * c a b h H ∗ c f F D G H B C ∗ g h e f F ∗ h H ∗.c\ a\ b\ h\ H\ *\ c\ f\ F\ D\ G\ H\ B\ C\ *\ g\ h\ e\ f\ F\ *\ h\ H\ *.

It will be noticed that the first twenty-four moves lead to a symmetrical position, and that the next twenty-three moves can be at once obtained by writing the first twenty-three moves in reverse order and interchanging small and capital letters.

Probably, were it worth the trouble, the mathematical theory of games such as that just described might be worked out by the use of Vandermonde’s notation, described later in chapter VI, or by the analogous method employed in the theory of the game of solitaire*. I believe that this has not been done, and I do not think it would repay the labour involved.

Problems on a Chess-board with Chess-pieces. There are several mathematical recreations with chess-pieces, other than pawns, somewhat similar to those given above. One of these, on the determination of the ways in which eight queens can be placed on a board so that no queen can take any other, is given later in chapter IV. Another, on the path to be followed by a knight which is moved on a chess-board so that it shall occupy every cell once and only once, is given in chapter VI. Here I will mention one of the simplest of such problems, which is interesting from the fact that it is given in Guarini’s manuscript written in 1512; it was quoted by Lucas, but so far as I know has not been otherwise published.

Guarini’s Problem. On a board of nine cells, such as that drawn below, the two white knights are placed on the two top corner cells


  • On the theory of the solitaire, see Reiss, ‘Beiträge zur Theorie des Solitär-Spiels,’ Crelle’s Journal, Berlin, 1858, vol. LIV, pp. 344–379; and Lucas, vol. I, part v, pp. 89–141.

Original PDF link to page 175 · Original PDF link to page 113 · Original PDF link to page 174

(a, d), and the two black knights on the two bottom corner cells (b, c): the other cells are left vacant. It is required to move the knights so that the white knights shall occupy the cells b and c, while the black shall occupy the cells a and d.

Square diagram of four labeled cells arranged in a two-by-two grid, with a knight in the upper left and a knight in the lower right.
The solution is tolerably obvious. First, move the pieces from a to A, from b to B, from c to C, and from d to D. Next, move the pieces from A to d, from B to a, from C to b, and from D to c. The effect of these eight moves is the same as if the original square had been rotated through one right angle. Repeat the above process, that is, move the pieces successively from a to A, from b to B, from c to C, from d to D; from A to d, from B to a, from C to b, and from D to c. The required result is then attained.

GEOMETRICAL PUZZLES WITH RODS, ETC.

Another species of geometrical puzzles, to which here I will do no more than allude, are made of steel rods, or of wire, or of wire and string. Numbers of these are often sold in the streets of London for a penny each, and some of them afford ingenious problems in the geometry of position. Most of them could hardly be discussed without the aid of diagrams, but they are inexpensive to construct, and in fact innumerable puzzles on geometry of position can be made with a couple of stout sticks and a ball of string, or even with only a box of matches: several examples are given in the appendix to the fourth volume of the 1723 edition of Ozanam’s work. I will mention, as an easy example, analogous to one group of the string puzzles, that any one can take off his waistcoat (which may be unbuttoned) without taking off his coat, and without pulling the waistcoat over the head like a jersey.

This last feat may serve to show the difficulty of mentally realizing the effect of geometrical alterations in a figure unless they are of the simplest character.

PARADROMIC RINGS.

The fact just stated is illustrated by the familiar experiment of making paradromic rings by cutting a paper

ring prepared in the following manner.

Take a strip of paper or piece of tape, say, for convenience, an inch or two wide and at least nine or ten inches long, rule a line in the middle down the length ABAB of the strip, gum one end over the other end BB, and we get a ring like a section of a cylinder. If this ring is cut by a pair of scissors along the ruled line we obtain two rings exactly like the first, except that they are only half the width. Next suppose that the end AA is twisted through two right angles before it is gummed to BB (the result of which is that the back of the strip at AA is gummed over the front of the strip at BB), then a cut along the line will produce only one ring. Next suppose that the end AA is twisted once completely round (i.e.i.e. through four right angles) before it is gummed to BB, then a similar cut produces two interlaced rings. If any of my readers think that these results could be predicted off-hand, it may be interesting to them to see if they can predict correctly the effect of again cutting the rings formed in the second and third experiments down their middle lines in a manner similar to that above described.

The theory is due to J.B. Listing∗^{*} who discussed the case when the end AA receives mm half-twists, that is, is twisted through mπm\pi, before it is gummed to BB.

If mm is even we obtain a surface which has two sides and two edges, which are termed paradromic. If the ring is cut along a line midway between the edges, we obtain two rings, each of which has mm half-twists, and which are linked together 12m\frac{1}{2}m times.

Continue reading
Page 16 of 81