and so on. Look for the numbers in the table above, and the method will explain itself.
Thus we find that the numbers 36, 1225, 41616, 1413721, 48024900, and 1631432881 will form squares with sides of 6, 35, 204, 1189, 6930, and 40391; and they will also form single triangles with sides of 8, 49, 288, 1681, 9800, and 57121. These numbers may be obtained from the last column in the first table above in this way: simply divide the numbers by 2 and reject the remainder. Thus the integral halves of 17, 99, and 577 are 8, 49, and 288.
All the numbers we have found will form either two or three triangles at will. The following little diagram will show you graphically at a glance that every square number must necessarily be the sum of two triangulars, and that the side of one triangle will be the same as the side of the corresponding square, while the other will be just 1 less.
+-----------+ +---------+ |. . . . ./.| |. . . ./.| |. . . ./. .| |. . ./. .| |. . ./. . .| |. ./. . .| |. ./. . . .| |./. . . .| |./. . . . .| /. . . . .| /. . . . . .| +---------+ +-----------+
Thus a square may always be divided easily into two triangles, and the sum of two consecutive triangulars will always make a square. In numbers it is equally clear, for if we examine the first triangulars--1, 3, 6, 10, 15, 21, 28--we find that by adding all the consecutive pairs in turn we get the series of square numbers--9, 16, 25, 36, 49, etc.
The method of forming three triangles from our numbers is equally direct, and not at all a matter of trial. But I must content myself with giving actual figures, and just stating that every triangular higher than 6 will form three triangulars. I give the sides of the triangles, and readers will know from my remarks when stating the puzzle how to find from these sides the number of counters or coins in each, and so check the results if they so wish.
+----------------------+-----------+---------------+-----------------------+ | Number | Side of | Side of | Sides of Two | Sides of Three | | | Square. | Triangle. | Triangles. | Triangles. | +------------+---------+-----------+---------------+-----------------------+ | 36 | 6 | 8 | 6 + 5 | 5 + 5 + 3 | | 1225 | 35 | 49 | 36 + 34 | 33 + 32 + 16 | | 41616 | 204 | 288 | 204 + 203 | 192 + 192 + 95 | | 1413721 | 1189 | 1681 | 1189 + 1188 | 1121 + 1120 + 560 | | 48024900 | 6930 | 9800 | 6930 + 6929 | 6533 + 6533 + 3267 | | 1631432881 | 40391 | 57121 | 40391 + 40390 | 38081 + 38080 + 19040 | +------------+---------+-----------+---------------+-----------------------+
I should perhaps explain that the arrangements given in the last two columns are not the only ways of forming two and three triangles. There are others, but one set of figures will fully serve our purpose. We thus see that before Mrs. McAllister can claim her sixth L5 present she must save the respectable sum of L1,631,432,881.
138.--THE ARTILLERYMEN'S DILEMMA.
We were required to find the smallest number of cannon balls that we could lay on the ground to form a perfect square, and could pile into a square pyramid. I will try to make the matter clear to the merest novice.
1 2 3 4 5 6 7 1 3 6 10 15 21 28 1 4 10 20 35 56 84 1 5 14 30 55 91 140
Here in the first row we place in regular order the natural numbers. Each number in the second row represents the sum of the numbers in the row above, from the beginning to the number just over it. Thus 1, 2, 3, 4, added together, make 10. The third row is formed in exactly the same way as the second. In the fourth row every number is formed by adding together the number just above it and the preceding number. Thus 4 and 10 make 14, 20 and 35 make 55. Now, all the numbers in the second row are triangular numbers, which means that these numbers of cannon balls may be laid out on the ground so as to form equilateral triangles. The numbers in the third row will all form our triangular pyramids, while the numbers in the fourth row will all form square pyramids.
Thus the very process of forming the above numbers shows us that every square pyramid is the sum of two triangular pyramids, one of which has the same number of balls in the side at the base, and the other one ball fewer. If we continue the above table to twenty-four places, we shall reach the number 4,900 in the fourth row. As this number is the square of 70, we can lay out the balls in a square, and can form a square pyramid with them. This manner of writing out the series until we come to a square number does not appeal to the mathematical mind, but it serves to show how the answer to the particular puzzle may be easily arrived at by anybody. As a matter of fact, I confess my failure to discover any number other than 4,900 that fulfils the conditions, nor have I found any rigid proof that this is the only answer. The problem is a difficult one, and the second answer, if it exists (which I do not believe), certainly runs into big figures.
For the benefit of more advanced mathematicians I will add that the general expression for square pyramid numbers is (2n cubed + 3n squared + n)/6. For this expression to be also a square number (the special case of 1 excepted) it is necessary that n = p squared - 1 = 6t squared, where 2p squared - 1 = q squared (the "Pellian Equation"). In the case of our solution above, n = 24, p = 5, t = 2, q = 7.
139.--THE DUTCHMEN'S WIVES.
The money paid in every case was a square number of shillings, because they bought 1 at 1s., 2 at 2s., 3 at 3s., and so on. But every husband pays altogether 63s. more than his wife, so we have to find in how many ways 63 may be the difference between two square numbers. These are the three only possible ways: the square of 8 less the square of 1, the square of 12 less the square of 9, and the square of 32 less the square of 31. Here 1, 9, and 31 represent the number of pigs bought and the number of shillings per pig paid by each woman, and 8, 12, and 32 the same in the case of their respective husbands. From the further information given as to their purchases, we can now pair them off as follows: Cornelius and Gurtruen bought 8 and 1; Elas and Katruen bought 12 and 9; Hendrick and Anna bought 32 and 31. And these pairs represent correctly the three married couples.
The reader may here desire to know how we may determine the maximum number of ways in which a number may be expressed as the difference between two squares, and how we are to find the actual squares. Any integer except 1, 4, and twice any odd number, may be expressed as the difference of two integral squares in as many ways as it can be split up into pairs of factors, counting 1 as a factor. Suppose the number to be 5,940. The factors are 2 squared.3 cubed.5.11. Here the exponents are 2, 3, 1, 1. Always deduct 1 from the exponents of 2 and add 1 to all the other exponents; then we get 1, 4, 2, 2, and half the product of these four numbers will be the required number of ways in which 5,940 may be the difference of two squares--that is, 8. To find these eight squares, as it is an even number, we first divide by 4 and get 1485, the eight pairs of factors of which are 1 x 1485, 3 x 495, 5 x 297, 9 x 165, 11 x 135, 15 x 99, 27 x 55, and 33 x 45. The sum and difference of any one of these pairs will give the required numbers. Thus, the square of 1,486 less the square of 1,484 is 5,940, the square of 498 less the square of 492 is the same, and so on. In the case of 63 above, the number is odd; so we factorize at once, 1 x 63, 3 x 21, 7 x 9. Then we find that half the sum and difference will give us the numbers 32 and 31, 12 and 9, and 8 and 1, as shown in the solution to the puzzle.
The reverse problem, to find the factors of a number when you have expressed it as the difference of two squares, is obvious. For example, the sum and difference of any pair of numbers in the last sentence will give us the factors of 63. Every prime number (except 1 and 2) may be expressed as the difference of two squares in one way, and in one way only. If a number can be expressed as the difference of two squares in more than one way, it is composite; and having so expressed it, we may at once obtain the factors, as we have seen. Fermat showed in a letter to Mersenne or Frenicle, in 1643, how we may discover whether a number may be expressed as the difference of two squares in more than one way, or proved to be a prime. But the method, when dealing with large numbers, is necessarily tedious, though in practice it may be considerably shortened. In many cases it is the shortest method known for factorizing large numbers, and I have always held the opinion that Fermat used it in performing a certain feat in factorizing that is historical and wrapped in mystery.
140.--FIND ADA'S SURNAME.
The girls' names were Ada Smith, Annie Brown, Emily Jones, Mary Robinson, and Bessie Evans.
141.--SATURDAY MARKETING.
As every person's purchase was of the value of an exact number of shillings, and as the party possessed when they started out forty shilling coins altogether, there was no necessity for any lady to have any smaller change, or any evidence that they actually had such change. This being so, the only answer possible is that the women were named respectively Anne Jones, Mary Robinson, Jane Smith, and Kate Brown. It will now be found that there would be exactly eight shillings left, which may be divided equally among the eight persons in coin without any change being required.
142.--THE SILK PATCHWORK.
Our illustration will show how to cut the stitches of the patchwork so as to get the square F entire, and four equal pieces, G, H, I, K, that will form a perfect Greek cross. The reader will know how to assemble these four pieces from Fig. 13 in the article.
143.--TWO CROSSES FROM ONE.
It will be seen that one cross is cut out entire, as A in Fig. 1, while the four pieces marked B, C, D and E form the second cross, as in Fig. 2, which will be of exactly the same size as the other. I will leave the reader the pleasant task of discovering for himself the best way of finding the direction of the cuts. Note that the Swastika again appears.
The difficult question now presents itself: How are we to cut three Greek crosses from one in the fewest possible pieces? As a matter of fact, this problem may be solved in as few as thirteen pieces; but as I know many of my readers, advanced geometricians, will be glad to have something to work on of which they are not shown the solution, I leave the mystery for the present undisclosed.
144.--THE CROSS AND THE TRIANGLE.
Amusements in Mathematics · The Wunder Library — complete classics, free to read, with narration.