Mathematical Recreations and Essays
Extension of Euler’s Problem. More generally we may investigate the arrangement on a chess-board, containing cells, of counters (the counters being divided into groups, each group consisting of counters of the same colour numbered consecutively ) so that each row and each column shall contain no two counters of the same colour or marked with the same number.
For instance, if , with three red counters , three white counters , and three black counters , we can satisfy the conditions by arranging them as in figure xvii on the facing page. If , then with counters ; ; ,
- Ozanam, 1723 edition, vol. IV, p. 434.
† Euler’s Commentationes Arithmeticae, St Petersburg, 1849, vol II, pp. 302–361. See also a paper by G. Tarry in the Comptes rendus of the French Association for the Advancement of Science, Paris, 1900, vol. II, pp. 170–203; and various notes in L’Intermédiaire des mathématiciens, Paris, vol. III, 1896, pp. 17, 90; vol. V, 1898, pp. 83, 176, 252, vol. VI, 1899, p. 251; vol. VII, 1900, pp. 14, 311.
Original PDF link to page 157 · Original PDF link to page 157 · Original PDF link to page 157
, ; , , , , we can arrange them as in figure xviii below. A solution when is indicated in figure xix.
The problem is soluble if is odd or if is of the form . If solutions when and when are known, a solution when can be written down at once. The theory is closely connected with that of magic squares and need not be here discussed further.
Magic Domino Squares. Analogous problems can be made with dominoes. An ordinary set of dominoes, ranging from double zero to double six, contains 28 dominoes. Each domino is a rectangle formed by fixing two small square blocks together side by side: of these 56 blocks, eight are blank, on each of eight of them is one pip, on each of another eight of them are two pips, and so on. It is required to arrange the dominoes so that the 56 blocks form a square of 7 by 7 bordered by one line of 7 blank squares and so that the sum of the pips in each row, each column, and in the two diagonals of the square is equal to 24. A solution is given on the following page.
Similarly, a set of dominoes, ranging from double zero to double , contains dominoes and therefore blocks. Can these dominoes be arranged in the form of a square of cells, bordered by a row of blanks, so that the sum of the pips in each row, each column, and in the two diagonals of the square is equal to ?
Magic Coin Squares. There are somewhat similar questions concerned with coins. Here is one applicable to a square of the third order divided into nine cells, as in figure xvii above. If a five-shilling piece is placed in the middle cell and a florin in the cell below it, namely, in it is required to place the fewest possible current English coins in
See L'Illustration, July 10, 1897.
See The Strand Magazine, London, December, 1896, pp. 720, 721.
the remaining seven cells so that in each cell there is at least one coin, so that the total value of the coins in every cell is different, and so that the sum of the values of the coins in each row, column, and diagonal is fifteen shillings: it will be found that thirteen additional coins will suffice. A similar problem is to place ten current English postage stamps, all but two being different, in the nine cells so that the sum of the values of the stamps in each row, column, and diagonal is ninepence.
CHAPTER VI.
UNICURSAL PROBLEMS.
I PROPOSE to consider in this chapter some problems which arise out of the theory of unicursal curves. I shall commence with Euler’s Problem and Theorems, and shall apply the results briefly to the theories of Mazes and Geometrical Trees. The reciprocal unicursal problems of the Hamilton Game and the Knight’s Path on a Chess-board will be discussed in the latter half of the chapter.
EULER’S PROBLEM. Euler’s problem has its origin in a memoir† presented by him in 1736 to the St Petersburg Academy, in which he solved a question then under discussion as to whether it was possible to take a walk in the town of Königsberg in such a way as to cross every bridge in it once and only once.
The town is built near the mouth of the river Pregel, which there takes the form indicated on the following page and includes the island of Kneiphof. In 1759 there were (and according to Baedeker there are still) seven bridges in the positions shown in the diagram, and it is easily seen that with such an arrangement the problem is insoluble. Euler however did not confine himself to the case of Königsberg, but discussed the general problem of any number of islands connected in any way by bridges. It is evident that the question will not be affected if
† Solutio problematis ad Geometriam situs pertinentis, Commentarii Academiae Scientiarum Petropolitanae for 1736, St Petersburg, 1741, vol. VIII, pp. 128–140. This has been translated into French by M. Ch. Henry; see Lucas, vol. I, part 2, pp. 21–33.
The theory of such figures is included as a particular case in the
propositions proved by Listing in his Topologie. I shall, however, adopt here the methods of Euler, and I shall begin by giving some definitions, as it will enable me to put the argument in a more concise form.
A node (or isle) is a point to or from which lines are drawn. A branch (or bridge or path) is a line connecting two consecutive nodes. An end (or hook) is the point at each termination of a branch. The order of a node is the number of branches which meet at it. A node to which only one branch is drawn is a free node or a free end. A node at which an even number of branches meet is an even node: evidently the presence of a node of the second order is immaterial. A node at which an odd number of branches meet is an odd node. A figure is closed if it has no free end: such a figure is often called a closed network.
A route consists of a number of branches taken in consecutive order and so that no branch is traversed twice. A closed route terminates at the point from which it started. A figure is described unicursally when the whole of it is traversed in one route.
The following are Euler’s results. (i) In a closed network the number of odd nodes is even. (ii) A figure which has no odd node can be described unicursally, in a re-entrant route, by a moving point which starts from any point on it. (iii) A figure which has two and only two odd notes can be described unicursally by a moving point which starts from one of the odd nodes and finishes at the other. (iv) A figure which has more than two odd nodes cannot be described completely in one route; to which Listing added the corollary that a figure which has odd nodes, and no more, can be described completely in separate routes. I now proceed to prove these theorems.
First. The number of odd nodes in a closed network is even.
Suppose the number of branches to be . Therefore the number of hooks is . Let be the number of nodes of the th order. Since a node of the th order is one at which branches meet, there are hooks there. Also since the figure is closed, cannot be less than 2.
Hence
Second. A figure which has no odd node can be described unicursally in a re-entrant route.
* Die Studien, Göttingen, 1847, part x. See also Tait on Listing’s Topologie, Philosophical Magazine, London, January, 1884, series 5, vol. XVII, pp. 30–46.
Since the route is to be re-entrant it will make no difference where it commences. Suppose that we start from a node . Every time our route takes us through a node we use up one hook in entering it and one in leaving it. There are no odd nodes, therefore the number of hooks at every node is even: hence, if we reach any node except , we shall always find a hook which will take us into a branch previously untraversed. Hence the route will take us finally to the node from which we started. If there are more than two hooks at , we can continue the route over one of the branches from previously untraversed, but in the same way as before we shall finally come back to .