All public Sources
Public document

Mathematical Recreations and Essays

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

Extension of Euler’s Problem. More generally we may investigate the arrangement on a chess-board, containing n2n^2 cells, of n2n^2 counters (the counters being divided into nn groups, each group consisting of nn counters of the same colour numbered consecutively 1,2,…,n1, 2, \ldots, n) 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 n=3n = 3, with three red counters a1,a2,a3a_1, a_2, a_3, three white counters b1,b2,b3b_1, b_2, b_3, and three black counters c1,c2,c3c_1, c_2, c_3, we can satisfy the conditions by arranging them as in figure xvii on the facing page. If n=4n = 4, then with counters a1,a2,a3,a4a_1, a_2, a_3, a_4; b1,b2,b3,b4b_1, b_2, b_3, b_4; c1,c2c_1, c_2,


  • 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

c3c_3, c4c_4; d1d_1, d2d_2, d3d_3, d4d_4, we can arrange them as in figure xviii below. A solution when n=5n=5 is indicated in figure xix.

Grid of four numbered squares arranged in a square, with a row of numbers across the top and a row of numbers down the left.
Figure xvii.
Grid of four numbered squares arranged in a square, with a row of numbers across the top and a row of numbers down the left.
Figure xviii.
Grid of five numbered squares arranged in a square, with a row of numbers across the top and a row of numbers down the left.
Figure xix.

The problem is soluble if nn is odd or if nn is of the form 4m4m. If solutions when n=an=a and when n=bn=b are known, a solution when n=abn=ab 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 nn, contains 12(n+1)(n+2)\frac{1}{2}(n+1)(n+2) dominoes and therefore (n+1)(n+2)(n+1)(n+2) blocks. Can these dominoes be arranged in the form of a square of (n+1)2(n+1)^2 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 12n(n+2)\frac{1}{2}n(n+2)?

Magic Coin Squares†^{\dagger}. 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 c1c_1 and a florin in the cell below it, namely, in a3a_3 it is required to place the fewest possible current English coins in


∗^{*} See L'Illustration, July 10, 1897.

†^{\dagger} See The Strand Magazine, London, December, 1896, pp. 720, 721.

Original PDF link to page 158

Grid of sixteen small squares arranged in four rows and four columns, each containing a single dot in the center.
Magic Domino Square.

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.

Original PDF link to page 160

Geometrical diagram of four islands joined by bridges, with curved and straight lines connecting labeled points.
we suppose the islands to diminish to points and the bridges to lengthen out. In this way we ultimately obtain a geometrical figure or network. In the Königsberg problem this figure is of the shape indicated below, the areas being represented by the points AA, BB, CC, DD, and the bridges being represented by the lines ll, mm, nn, pp, qq, rr, ss.
Geometrical diagram of four points joined by curved and straight lines, with labeled points and curved arcs.
Euler’s problem consists therefore in finding whether a given geometrical figure can be described by a point moving so as to traverse every line in it once and only once. A more general question is to determine how many strokes are necessary to describe such a figure so that no line is traversed twice: this is covered by the rules hereafter given. The figure may be either in three or in two dimensions, and it may be represented by lines, straight, curved, or tortuous, joining a number of given points, or a model may be constructed by taking a number of rods or pieces of string furnished at each end with a hook so as to allow of any number of them being connected together at one point.

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 2n2n odd nodes, and no more, can be described completely in nn 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 bb. Therefore the number of hooks is 2b2b. Let knk_n be the number of nodes of the nnth order. Since a node of the nnth order is one at which nn branches meet, there are nn hooks there. Also since the figure is closed, nn cannot be less than 2.

∴ 2k2+3k3+4k4+⋯+nkn+⋯=2b.\therefore\ 2k_2 + 3k_3 + 4k_4 + \cdots + nk_n + \cdots = 2b.

Hence

3k3+5k5+⋯is even.3k_3 + 5k_5 + \cdots \quad \text{is even.} ∴ k3+k5+⋯is even.\therefore\ k_3 + k_5 + \cdots \quad \text{is even.}

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 AA. 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 AA, 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 AA from which we started. If there are more than two hooks at AA, we can continue the route over one of the branches from AA previously untraversed, but in the same way as before we shall finally come back to AA.

Continue reading
Page 33 of 81