Amusements in Mathematics

Chapter 38

Chapter 383,308 wordsPublic domain

Not a single member of the club mastered this puzzle, and yet I shall show that it is so simple that the merest child can understand its solution--when it is pointed out to him! The large majority of my friends expressed their entire bewilderment. Many considered that "the theoretical result, in any case, is determined by the relationship between the table and the cigars;" others, regarding it as a problem in the theory of Probabilities, arrived at the conclusion that the chances are slightly in favour of the first or second player, as the case may be. One man took a table and a cigar of particular dimensions, divided the table into equal sections, and proceeded to make the two players fill up these sections so that the second player should win. But why should the first player be so accommodating? At any stage he has only to throw down a cigar obliquely across several of these sections entirely to upset Mr. 2's calculations! We have to assume that each player plays the best possible; not that one accommodates the other.

The theories of some other friends would be quite sound if the shape of the cigar were that of a torpedo--perfectly symmetrical and pointed at both ends.

I will show that the first player should infallibly win, if he always plays in the best possible manner. Examine carefully the following diagram, No. 1, and all will be clear.

The first player must place his first cigar _on end_ in the exact centre of the table, as indicated by the little circle. Now, whatever the second player may do throughout, the first player must always repeat it in an exactly diametrically opposite position. Thus, if the second player places a cigar at A, I put one at AA; he places one at B, I put one at BB; he places one at C, I put one at CC; he places one at D, I put one at DD; he places one at E, I put one at EE; and so on until no more cigars can be placed without touching. As the cigars are supposed to be exactly alike in every respect, it is perfectly clear that for every move that the second player may choose to make, it is possible exactly to repeat it on a line drawn through the centre of the table. The second player can always duplicate the first player's move, no matter where he may place a cigar, or whether he places it on end or on its side. As the cigars are all alike in every respect, one will obviously balance over the edge of the table at precisely the same point as another. Of course, as each player is supposed to play in the best possible manner, it becomes a matter of theory. It is no valid objection to say that in actual practice one would not be sufficiently exact to be sure of winning. If as the first player you did not win, it would be in consequence of your _not_ having played the best possible.

The second diagram will serve to show why the first cigar must be placed on end. (And here I will say that the first cigar that I selected from a box I was able so to stand on end, and I am allowed to assume that all the other cigars would do the same.) If the first cigar were placed on its side, as at F, then the second player could place a cigar as at G--as near as possible, but not actually touching F. Now, in this position you cannot repeat his play on the opposite side, because the two ends of the cigar are not alike. It will be seen that GG, when placed on the opposite side in the same relation to the centre, intersects, or lies on top of, F, whereas the cigars are not allowed to touch. You must therefore put the cigar farther away from the centre, which would result in your having insufficient room between the centre and the bottom left-hand corner to repeat everything that the other player would do between G and the top right-hand corner. Therefore the result would not be a certain win for the first player.

399.--THE TROUBLESOME EIGHT.

The conditions were to place a different number in each of the nine cells so that the three rows, three columns, and two diagonals should each add up 15. Probably the reader at first set himself an impossible task through reading into these conditions something which is not there--a common error in puzzle-solving. If I had said "a different figure," instead of "a different number," it would have been quite impossible with the 8 placed anywhere but in a corner. And it would have been equally impossible if I had said "a different whole number." But a number may, of course, be fractional, and therein lies the secret of the puzzle. The arrangement shown in the figure will be found to comply exactly with the conditions: all the numbers are different, and the square adds up 15 in all the required eight ways.

400.--THE MAGIC STRIPS.

There are of course six different places between the seven figures in which a cut may be made, and the secret lies in keeping one strip intact and cutting each of the other six in a different place. After the cuts have been made there are a large number of ways in which the thirteen pieces may be placed together so as to form a magic square. Here is one of them:--

The arrangement has some rather interesting features. It will be seen that the uncut strip is at the top, but it will be found that if the bottom row of figures be placed at the top the numbers will still form a magic square, and that every successive removal from the bottom to the top (carrying the uncut strip stage by stage to the bottom) will produce the same result. If we imagine the numbers to be on seven complete _perpendicular_ strips, it will be found that these columns could also be moved in succession from left to right or from right to left, each time producing a magic square.

401.--EIGHT JOLLY GAOL-BIRDS.

There are eight ways of forming the magic square--all merely different aspects of one fundamental arrangement. Thus, if you give our first square a quarter turn you will get the second square; and as the four sides may be in turn brought to the top, there are four aspects. These four in turn reflected in a mirror produce the remaining four aspects. Now, of these eight arrangements only four can possibly be reached under the conditions, and only two of these four can be reached in the fewest possible moves, which is nineteen. These two arrangements are shown. Move the men in the following order: 5, 3, 2, 5, 7, 6, 4, 1, 5, 7, 6, 4, 1, 6, 4, 8, 3, 2, 7, and you get the first square. Move them thus: 4, 1, 2, 4, 1, 6, 7, 1, 5, 8, 1, 5, 6, 7, 5, 6, 4, 2, 7, and you have the arrangement in the second square. In the first case every man has moved, but in the second case the man numbered 3 has never left his cell. Therefore No. 3 must be the obstinate prisoner, and the second square must be the required arrangement.

402.--NINE JOLLY GAOL BIRDS.

There is a pitfall set for the unwary in this little puzzle. At the start one man is allowed to be placed on the shoulders of another, so as to give always one empty cell to enable the prisoners to move about without any two ever being in a cell together. The two united prisoners are allowed to add their numbers together, and are, of course, permitted to remain together at the completion of the magic square. But they are obviously not compelled so to remain together, provided that one of the pair on his final move does not break the condition of entering a cell already occupied. After the acute solver has noticed this point, it is for him to determine which method is the better one--for the two to be together at the count or to separate. As a matter of fact, the puzzle can be solved in seventeen moves if the men are to remain together; but if they separate at the end, they may actually save a move and perform the feat in sixteen! The trick consists in placing the man in the centre on the back of one of the corner men, and then working the pair into the centre before their final separation.

Here are the moves for getting the men into one or other of the above two positions. The numbers are those of the men in the order in which they move into the cell that is for the time being vacant. The pair is shown in brackets:--

Place 5 on 1. Then, 6, 9, 8, 6, 4, (6), 2, 4, 9, 3, 4, 9, (6), 7, 6, 1.

Place 5 on 9. Then, 4, 1, 2, 4, 6, (14), 8, 6, 1, 7, 6, 1, (14), 3, 4, 9.

Place 5 on 3. Then, 6, (8), 2, 6, 4, 7, 8, 4, 7, 1, 6, 7, (8), 9, 4, 3.

Place 5 on 7. Then, 4, (12), 8, 4, 6, 3, 2, 6, 3, 9, 4, 3, (12), 1, 6, 7.

The first and second solutions produce Diagram A; the second and third produce Diagram B. There are only sixteen moves in every case. Having found the fewest moves, we had to consider how we were to make the burdened man do as little work as possible. It will at once be seen that as the pair have to go into the centre before separating they must take at fewest two moves. The labour of the burdened man can only be reduced by adopting the other method of solution, which, however, forces us to take another move.

403.--THE SPANISH DUNGEON.

+-----+-----+-----+-----+ +-----+-----+-----+-----+ | | | | | | | | | | | 1 | 2 | 3 | 4 | | 10 | 9 | 7 | 4 | |_____|_____|_____|_____| |_____|_____|_____|_____| | | | | | | | | | | | 5 | 6 | 7 | 8 | | 6 | 5 | 11 | 8 | |_____|_____|_____|_____| |_____|_____|_____|_____| | | | | | | | | | | | 9 | 10 | 11 | 12 | | 1 | 2 | 12 | 15 | |_____|_____|_____|_____| |_____|_____|_____|_____| | | | | | | | | | | | 13 | 14 | 15 | | | 13 | 14 | | 3 | | | | | | | | | | | +-----+-----+-----+-----+ +-----+-----+-----+-----+

This can best be solved by working backwards--that is to say, you must first catch your square, and then work back to the original position. We must first construct those squares which are found to require the least amount of readjustment of the numbers. Many of these we know cannot possibly be reached. When we have before us the most favourable possible arrangements, it then becomes a question of careful analysis to discover which position can be reached in the fewest moves. I am afraid, however, it is only after considerable study and experience that the solver is able to get such a grasp of the various "areas of disturbance" and methods of circulation that his judgment is of much value to him.

The second diagram is a most favourable magic square position. It will be seen that prisoners 4, 8, 13, and 14 are left in their original cells. This position may be reached in as few as thirty-seven moves. Here are the moves: 15, 14, 10, 6, 7, 3, 2, 7, 6, 11, 3, 2, 7, 6, 11, 10, 14, 3, 2, 11, 10, 9, 5, 1, 6, 10, 9, 5, 1, 6, 10, 9, 5, 2, 12, 15, 3. This short solution will probably surprise many readers who may not find a way under from sixty to a hundred moves. The clever prisoner was No. 6, who in the original illustration will be seen with his arms extended calling out the moves. He and No. 10 did most of the work, each changing his cell five times. No. 12, the man with the crooked leg, was lame, and therefore fortunately had only to pass from his cell into the next one when his time came round.

404.--THE SIBERIAN DUNGEONS.

+-----+-----+-----+-----+ | | | | | | 8 | 5 | 10 | 11 | |_____|_____|_____|_____| | | | | | | 16 | 13 | 2 | 3 | |_____|_____|_____|_____| | | | | | | 1 | 12 | 7 | 14 | |_____|_____|_____|_____| | | | | | | 9 | 4 | 15 | 6 | | | | | | +-----+-----+-----+-----+

In attempting to solve this puzzle it is clearly necessary to seek such magic squares as seem the most favourable for our purpose, and then carefully examine and try them for "fewest moves." Of course it at once occurs to us that if we can adopt a square in which a certain number of men need not leave their original cells, we may save moves on the one hand, but we may obstruct our movements on the other. For example, a magic square may be formed with the 6, 7, 13, and 16 unmoved; but in such case it is obvious that a solution is impossible, since cells 14 and 15 can neither be left nor entered without breaking the condition of no two men ever being in the same cell together.

The following solution in fourteen moves was found by Mr. G. Wotherspoon: 8-17, 16-21, 6-16, 14-8, 5-18, 4-14, 3-24, 11-20, 10-19, 2-23, 13-22, 12-6, 1-5, 9-13. As this solution is in what I consider the theoretical minimum number of moves, I am confident that it cannot be improved upon, and on this point Mr. Wotherspoon is of the same opinion.

405.--CARD MAGIC SQUARES.

Arrange the cards as follows for the three new squares:--

3 2 4 6 5 7 9 8 10 4 3 2 7 6 5 10 9 8 2 4 3 5 7 6 8 10 9

Three aces and one ten are not used. The summations of the four squares are thus: 9, 15, 18, and 27--all different, as required.

406.--THE EIGHTEEN DOMINOES.

The illustration explains itself. It will be found that the pips in every column, row, and long diagonal add up 18, as required.

407.--TWO NEW MAGIC SQUARES.

Here are two solutions that fulfil the conditions:--

The first, by subtracting, has a constant 8, and the associated pairs all have a difference of 4. The second square, by dividing, has a constant 9, and all the associated pairs produce 3 by division. These are two remarkable and instructive squares.

408.--MAGIC SQUARES OF TWO DEGREES.

The following is the square that I constructed. As it stands the constant is 260. If for every number you substitute, in its allotted place, its square, then the constant will be 11,180. Readers can write out for themselves the second degree square.

The main key to the solution is the pretty law that if eight numbers sum to 260 and their squares to 11,180, then the same will happen in the case of the eight numbers that are complementary to 65. Thus 1 + 18 + 23 + 26 + 31 + 48 + 56 + 57 = 260, and the sum of their squares is 11,180. Therefore 64 + 47 + 42 + 39 + 34 + 17 + 9 + 8 (obtained by subtracting each of the above numbers from 65) will sum to 260 and their squares to 11,180. Note that in every one of the sixteen smaller squares the two diagonals sum to 65. There are four columns and four rows with their complementary columns and rows. Let us pick out the numbers found in the 2nd, 1st, 4th, and 3rd rows and arrange them thus :--

Here each column contains four consecutive numbers cyclically arranged, four running in one direction and four in the other. The numbers in the 2nd, 5th, 3rd, and 8th columns of the square may be similarly grouped. The great difficulty lies in discovering the conditions governing these groups of numbers, the pairing of the complementaries in the squares of four and the formation of the diagonals. But when a correct solution is shown, as above, it discloses all the more important keys to the mystery. I am inclined to think this square of two degrees the most elegant thing that exists in magics. I believe such a magic square cannot be constructed in the case of any order lower than 8.

409.--THE BASKETS OF PLUMS.

As the merchant told his man to distribute the contents of one of the baskets of plums "among some children," it would not be permissible to give the complete basketful to one child; and as it was also directed that the man was to give "plums to every child, so that each should receive an equal number," it would also not be allowed to select just as many children as there were plums in a basket and give each child a single plum. Consequently, if the number of plums in every basket was a prime number, then the man would be correct in saying that the proposed distribution was quite impossible. Our puzzle, therefore, resolves itself into forming a magic square with nine different prime numbers.

A B +-----+-----+-----+ +-----+-----+-----+ | | | | | | | | | 7 | 61 | 43 | | 83 | 29 | 101 | |_____|_____|_____| |_____|_____|_____| | | | | | | | | | 73 | 37 | 1 | | 89 | 71 | 53 | |_____|_____|_____| |_____|_____|_____| | | | | | | | | | 31 | 13 | 67 | | 41 | 113 | 59 | | | | | | | | | +-----+-----+-----+ +-----+-----+-----+

C D +-----+-----+-----+ +-----+-----+-----+ | | | | | | | | | 103 | 79 | 37 | |1669 | 199 |1249 | |_____|_____|_____| |_____|_____|_____| | | | | | | | | | 7 | 73 | 139 | | 619 |1039 |1459 | |_____|_____|_____| |_____|_____|_____| | | | | | | | | | 109 | 67 | 43 | | 829 |1879 | 409 | | | | | | | | | +-----+-----+-----+ +-----+-----+-----+

In Diagram A we have a magic square in prime numbers, and it is the one giving the smallest constant sum that is possible. As to the little trap I mentioned, it is clear that Diagram A is barred out by the words "every basket contained plums," for one plum is not plums. And as we were referred to the baskets, "as shown in the illustration," it is perfectly evident, without actually attempting to count the plums, that there are at any rate more than 7 plums in every basket. Therefore C is also, strictly speaking, barred. Numbers over 20 and under, say, 250 would certainly come well within the range of possibility, and a large number of arrangements would come within these limits. Diagram B is one of them. Of course we can allow for the false bottoms that are so frequently used in the baskets of fruitsellers to make the basket appear to contain more fruit than it really does.

Several correspondents assumed (on what grounds I cannot think) that in the case of this problem the numbers cannot be in consecutive arithmetical progression, so I give Diagram D to show that they were mistaken. The numbers are 199, 409, 619, 829, 1,039, 1,249, 1,459, 1,669, and 1,879--all primes with a common difference of 210.

410.--THE MANDARIN'S "T" PUZZLE.

There are many different ways of arranging the numbers, and either the 2 or the 3 may be omitted from the "T" enclosure. The arrangement that I give is a "nasik" square. Out of the total of 28,800 nasik squares of the fifth order this is the only one (with its one reflection) that fulfils the "T" condition. This puzzle was suggested to me by Dr. C. Planck.

+-----+-----+-----+ | | | | | 121 | 114 | 119 | |_____|_____|_____| | | | | | 116 | 118 | 120 | |_____|_____|_____| | | | | | 117 | 122 | 115 | | | | | +-----+-----+-----+

First write down any consecutive numbers, the smallest being greater than 1--say, 2, 3, 4, 5, 6, 7, 8, 9, 10. The only factors in these numbers are 2, 3, 5, and 7. We therefore multiply these four numbers together and add the product, 210, to each of the nine numbers. The result is the nine consecutive composite numbers, 212 to 220 inclusive, with which we can form the required square. Every number will necessarily be divisible by its difference from 210. It will be very obvious that by this method we may find as many consecutive composites as ever we please. Suppose, for example, we wish to form a magic square of sixteen such numbers; then the numbers 2 to 17 contain the factors 2, 3, 5, 7, 11, 13, and 17, which, multiplied together, make 510510 to be added to produce the sixteen numbers 510512 to 510527 inclusive, all of which are composite as before.