All public Sources
Public document

Mathematical Recreations and Essays

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

Colour-Cube Problem. As an example of a recreation analogous to tesselation I will mention the colour-cube problem; I select this partly because it is one of the most difficult of such puzzles, but chiefly because it has been subjected† to mathematical analysis.

Stripped of mathematical technicalities the problem may be enunciated as follows. A cube has six faces, and if six colours are chosen we can paint each face with a different colour. By permuting the order of the colours we can obtain thirty such cubes, no two of which are coloured alike. Take any one of these cubes, KK, then it is desired to select eight out of the remaining twenty-nine cubes, such that they can be arranged in the form of a cube (whose linear dimensions are double those of any of the separate cubes) coloured like the cube KK, and placed so that where any two cubes touch each other the faces in contact are coloured alike.

Only one collection of eight cubes can be found to satisfy these conditions. To pick out these eight cubes empirically would be out of the question, but the mathematical analysis enables us to select them by the following rule. Take any face of the cube KK: it has four


  • Ex. gr. see the Educational Times Reprints, London, 1868, vol. x, pp. 74–76, 112: see also vol. XLV, p. 127; vol. LVI, pp. 97–99.

† By Major MacMahon; an abstract of his paper, read before the London Mathematical Society on Feb. 9, 1893, was given in Nature, Feb. 23, 1893, vol. XLVII, p. 406.

angles, and at each angle three colours meet. By permuting the colours cyclically we can obtain from each angle two other cubes, and the eight cubes so obtained are those required.

For instance suppose that the six colours are indicated by the letters a,b,c,d,e,fa, b, c, d, e, f. Let the cube KK be put on a table, and to fix our ideas suppose that the face coloured ff is at the bottom, the face coloured aa is at the top, and the faces coloured b,c,db, c, d, and ee front respectively the east, north, west, and south points of the compass. I may denote such an arrangement by (f;a;b,c,d,e)(f; a; b, c, d, e). One cyclical permutation of the colours which meet at the north-east corner of the top face gives the cube (f;c;a,b,d,e)(f; c; a, b, d, e), and a second cyclical permutation gives the cube (f;b;c,a,d,e)(f; b; c, a, d, e). Similarly cyclical permutations of the colours which meet at the north-west corner of the top face of KK give the cubes (f;d;b,a,c,e)(f; d; b, a, c, e) and (f;c;b,d,a,e)(f; c; b, d, a, e). Similarly from the top south-west corner of KK we get the cubes (f;e;b,c,a,d)(f; e; b, c, a, d) and (f;d;b,c,e,a)(f; d; b, c, e, a); and from the top south-east corner we get the cubes (f;e;a,c,d,b)(f; e; a, c, d, b) and (f;b;e,c,d,a)(f; b; e, c, d, a).

The eight cubes being thus determined it is not difficult to arrange them in the form of a cube coloured similarly to KK, and subject to the condition that faces in contact are coloured alike; in fact they can be arranged in two ways to satisfy these conditions. One such way, taking the cubes in the numerical order given above, is to put the cubes 3, 6, 8, and 2 at the SE, NE, NW, and SW corners of the bottom face; of course each placed with the colour ff at the bottom, while 3 and 6 have the colour bb to the east, and 2 and 8 have the colour dd to the west: the cubes 7, 1, 4, and 5 will then form the SE, NE, NW, and SW corners of the top face; of course each placed with the colour aa at the top, while 7 and 1 have the colour bb to the east, and 5 and 4 have the colour dd to the west. If however KK is not given, then, without the aid of mathematical analysis, it is a difficult puzzle to arrange the eight cubes in the form of a cube coloured similarly to one of the other twenty-two cubes and subject to the condition that faces in contact are coloured alike.

It is easy to make similar puzzles in two dimensions which are fairly difficult; it is somewhat surprising that none are to be bought, but I have never seen any except those that I have made myself.

DYNAMICAL GAMES OF POSITION. Games which are played by moving pieces on boards of various shapes—such as merrilees, fox and geese, solitaire, backgammon, draughts, and chess—present more

interest. In general, however, they permit of so many movements of the pieces that any mathematical analysis of them becomes too intricate to follow out completely. Probably this is obvious, but it may emphasize the impossibility of discussing such games effectively if I add that it has been shown that in a game of chess there may be as many as 197299 ways of playing the first four moves, and nearly 72000 different positions at the end of the first four moves (two on each side), of which 16556 arise when the players move pawns only*.

Games in which the possible movements are very limited may be susceptible of mathematical treatment. One or two of these are given in the next chapter: here I shall confine myself mainly to puzzles and simple amusements.

Shunting Problems. The first I will mention is a little puzzle which I bought some years ago and which was described as the “Great Northern puzzle.” It is typical of a good many problems connected with the shunting of trains, and though it rests on a most improbable hypothesis, I give it as a specimen of its kind.

Diagram of railway tracks with curved sidings branching from a central junction, shaded areas, and labeled points.
The puzzle shows a railway, DEFDEF, with two sidings, DBADBA and FCAFCA, connected at AA. The portion of the rails at AA which is common to the two sidings is long enough to permit of a single wagon, like PP or QQ, running in or out of it; but is too short to contain the whole of an engine, like RR. Hence, if an engine runs up one siding, such as DBADBA, it must come back the same way.
  • L’Intermédiaire des mathématiciens, Paris, December, 1903, vol. x, pp. 305–308: also Royal Engineers Journal, London, August–November, 1889; or British Association Transactions, 1890, p. 745.

Initially a small block of wood, PP, coloured to represent a wagon, is placed at BB; a similar block, QQ, is placed at CC; and a longer block of wood, RR, representing an engine, is placed at EE. The problem is to use the engine RR to interchange the wagons PP and QQ, without allowing any flying shunts.

This is effected thus. (i) RR pushes PP into AA. (ii) RR returns, pushes QQ up to PP in AA, couples QQ to PP, draws them both out to FF, and then pushes them to EE. (iii) PP is now uncoupled, RR takes QQ back to AA, and leaves it there. (iv) RR returns to PP, pulls PP back to CC, and leaves it there. (v) RR running successively through FF, DD, BB comes to AA, draws QQ out, and leaves it at BB.

A somewhat similar puzzle, on sale in the streets in 1905, is made as follows. A loop-line BGEBGE connects two points BB and EE on a railway track AFAF, which is supposed blocked at both ends, as shown in the diagram. In the model, the track AFAF is 9 inches long, AB=EF=156AB = EF = 1\frac{5}{6} inches, and AH=FK=BC=DE=14AH = FK = BC = DE = \frac{1}{4} inch. On the track and loop are eight wagons, numbered successively 1 to 8, each one inch long and one-quarter of an inch broad, and an engine of the same dimensions. Originally the wagons are on the track from AA to FF and in the order 1, 2, 3, 4, 5, 6, 7, 8, and the engine is on the loop. The construction and the initial arrangement ensure that at any one time there cannot be more than eight vehicles on the track. Also if eight vehicles are on it only the penultimate vehicle at either end can be moved on to the loop, but if less than eight are on the track then the last two vehicles at either end can be moved on to the loop. If the points at each end of the loop-line are clear, it will hold four, but not more than four, vehicles. The object is to reverse the order of the wagons on the track, so that from AA to FF they will be numbered successively 8 to 1; and to do this by means which will involve as few transferences of the engine or a wagon to or from the loop as is possible.

Line diagram of a railway track with a curved loop above it, connecting points A, B, C, D, E, F, G, and K.
Other shunting problems are not uncommon, but these two examples will suffice.

Ferry-Boat Problems. Everybody is familiar with the story of the showman who was travelling with a wolf, a goat, and a basket of cabbages; and for obvious reasons was unable to leave the wolf alone with the goat, or the goat alone with the cabbages. The only means of transporting them across a river was a boat so small that he could take in it only one of them at a time. The problem is to show how the passage could be effected∗^{*}.

A similar problem, given by Alcuin, Tartaglia, and others, is as follows†^{\dagger}. Three beautiful ladies have for husbands three men, who are as jealous as they are young, handsome, and gallant. The party are travelling, and find on the bank of a river, over which they have to pass, a small boat which can hold no more than two persons. How can they pass, it being agreed that, in order to avoid scandal, no woman shall be left in the society of a man unless her husband is present?

The method of transportation to be used in the above cases is obvious, and can be illustrated practically by using six court cards out of a pack. Another problem similar to the one last mentioned is the case of nn married couples who have to cross a river by means of a boat which can be rowed by one person and will carry n−1n-1 people, but not more, with the condition that no woman is to be in the society of a man unless her husband is present. Alcuin’s problem is the case of n=3n=3. Let yy denote the number of passages from one bank to the other which will be necessary. Then it has been shown that if n=3n=3, y=11y=11; if n=4n=4, y=9y=9; and if n>4n>4, y=7y=7; the demonstration presents no difficulty.

The following analogous problem is due to the late Prof. Lucas‡^{\ddagger}. To find the smallest number xx of persons that a boat must be able to carry in order that nn married couples may by its aid cross a river in such a manner that no woman shall remain in the company of any man unless her husband is present; it being assumed that the boat can be rowed by one person only. Also to find the least number of passages, say yy, from one bank to the other which will be required. M. Delannoy has shown that if n=2n=2, then x=2x=2, and y=5y=5. If n=3n=3, then x=2x=2, and y=11y=11. If n=4n=4, then x=3x=3, and y=9y=9. If n=5n=5, then x=3x=3, and y=11y=11. And finally if n>5n>5, then x=4x=4, and y=2n−1y=2n-1.

Continue reading
Page 14 of 81