Amusements in Mathematics
From this book
If one pen at least is to be not in line with a sheep, there would be thirty solutions to that problem. If we counted all the reversals and reflections of these 47 and 30 cases respectively as different, their total would be 560, which is the number of different ways in which the sheep may be placed in three pens without any conditions. I will remark that there are three ways in which two sheep may be placed so that every pen is occupied or in line, as in Diagrams 2, 3, and 4, but in every case each sheep is in line with its companion. There are only two ways in which three sheep may be so placed that every pen shall be occupied or in line, but no sheep in line with another. These I show in Diagrams 5 and 6. Finally, there is only one way in which three sheep may be placed so that at least one pen shall not be in line with a sheep and yet no sheep in line with another. Place the sheep in C, E, L. This is practically all there is to be said on this pleasant pastoral subject.
311.—THE FIVE DOGS PUZZLE.—solution
The diagrams show four fundamentally different solutions. In the case of A we can reverse the order, so that the single dog is in the bottom row and the other four shifted up two squares. Also we may use the next column to the right and both of the two central horizontal rows. Thus A gives 8 solutions. Then B may be reversed and placed in either diagonal, giving 4 solutions. Similarly C will give 4 solutions. The line in D being symmetrical, its reversal will not be different, but it may be disposed in 4 different directions. We thus have in all 20 different solutions.
312.—THE FIVE CRESCENTS OF BYZANTIUM.—solution
If that ancient architect had arranged his five crescent tiles in the manner shown in the following diagram, every tile would have been watched over by, or in a line with, at least one crescent, and space would have been reserved for a perfectly square carpet equal in area to exactly half of the pavement. It is a very curious fact that, although there are two or three solutions allowing a carpet to be laid down within the conditions so as to cover an area of nearly twenty-nine of the tiles, this is the only possible solution giving exactly half the area of the pavement, which is the largest space obtainable.
313.—QUEENS AND BISHOP PUZZLE.—solution
The bishop is on the square originally occupied by the rook, and the four queens are so placed that every square is either occupied or attacked by a piece. (Fig. 1.)
I pointed out in 1899 that if four queens are placed as shown in the diagram (Fig. 2), then the fifth queen may be placed on any one of the twelve squares marked a, b, c, d, and e; or a rook on the two squares, c; or a bishop on the eight squares, a, b, and e; or a pawn on the square b; or a king on the four squares, b, c, and e. The only known arrangement for four queens and a knight is that given by Mr. J. Wallis in The Strand Magazine for August 1908, here reproduced. (Fig. 3.)
I have recorded a large number of solutions with four queens and a rook, or bishop, but the only arrangement, I believe, with three queens and two rooks in which all the pieces are guarded is that of which I give an illustration (Fig. 4), first published by Dr. C. Planck. But I have since found the accompanying solution with three queens, a rook, and a bishop, though the pieces do not protect one another. (Fig. 5.)
314.—THE SOUTHERN CROSS.—solution
My readers have been so familiarized with the fact that it requires at least five planets to attack every one of a square arrangement of sixty-four stars that many of them have, perhaps, got to believe that a larger square arrangement of stars must need an increase of planets. It was to correct this possible error of reasoning, and so warn readers against another of those numerous little pitfalls in the world of puzzledom, that I devised this new stellar problem. Let me then state at once that, in the case of a square arrangement of eighty one stars, there are several ways of placing five planets so that every star shall be in line with at least one planet vertically, horizontally, or diagonally. Here is the solution to the "Southern Cross": —
It will be remembered that I said that the five planets in their new positions "will, of course, obscure five other stars in place of those at present covered." This was to exclude an easier solution in which only four planets need be moved.
315.—THE HAT-PEG PUZZLE.—solution
The moves will be made quite clear by a reference to the diagrams, which show the position on the board after each of the four moves. The darts indicate the successive removals that have been made. It will be seen that at every stage all the squares are either attacked or occupied, and that after the fourth move no queen attacks any other. In the case of the last move the queen in the top row might also have been moved one square farther to the left. This is, I believe, the only solution to the puzzle.
It will be seen that only three queens have been removed from their positions on the edge of the board, and that, as a consequence, eleven squares (indicated by the black dots) are left unattacked by any queen. I will hazard the statement that eight queens cannot be placed on the chessboard so as to leave more than eleven squares unattacked. It is true that we have no rigid proof of this yet, but I have entirely convinced myself of the truth of the statement. There are at least five different ways of arranging the queens so as to leave eleven squares unattacked.
317.—A PUZZLE WITH PAWNS.—solution
Sixteen pawns may be placed so that no three shall be in a straight line in any possible direction, as in the diagram. We regard, as the conditions required, the pawns as mere points on a plane.
There are 6,480 ways of placing the man and the lion, if there are no restrictions whatever except that they must be on different spots. This is obvious, because the man may be placed on any one of the 81 spots, and in every case there are 80 spots remaining for the lion; therefore 81 × 80 = 6,480. Now, if we deduct the number of ways in which the lion and the man may be placed on the same path, the result must be the number of ways in which they will not be on the same path. The number of ways in which they may be in line is found without much difficulty to be 816. Consequently, 6,480 - 816 = 5,664, the required answer.
The general solution is this: 1/3n(n - 1) (3n2 - n + 2). This is, of course, equivalent to saying that if we call the number of squares on the side of a "chessboard" n, then the formula shows the number of ways in which two bishops may be placed without attacking one another. Only in this case we must divide by two, because the two bishops have no distinct individuality, and cannot produce a different solution by mere exchange of places.
319.—THE KNIGHT-GUARDS.—solution
The smallest possible number of knights with which this puzzle can be solved is fourteen.
It has sometimes been assumed that there are a great many different solutions. As a matter of fact, there are only three arrangements—not counting mere reversals and reflections as different. Curiously enough, nobody seems ever to have hit on the following simple proof, or to have thought of dealing with the black and the white squares separately.
Seven knights can be placed on the board on white squares so as to attack every black square in two ways only. These are shown in Diagrams 1 and 2. Note that three knights occupy the same position in both arrangements. It is therefore clear that if we turn the board so that a black square shall be in the top left-hand corner instead of a white, and place the knights in exactly the same positions, we shall have two similar ways of attacking all the white squares. I will assume the reader has made the two last described diagrams on transparent paper, and marked them 1a and 2a. Now, by placing the transparent Diagram 1a over 1 you will be able to obtain the solution in Diagram 3, by placing 2a over 2 you will get Diagram 4, and by placing 2a over 1 you will get Diagram 5. You may now try all possible combinations of those two pairs of diagrams, but you will only get the three arrangements I have given, or their reversals and reflections. Therefore these three solutions are all that exist.
320.—THE ROOK'S TOUR.—solution
The only possible minimum solutions are shown in the two diagrams, where it will be seen that only sixteen moves are required to perform the feat. Most people find it difficult to reduce the number of moves below seventeen.