MathPuzzle

Free puzzles / Question / Money Puzzles

The Artillerymen's Dilemma.

[Illustration: [Pyramid of cannon-balls]] MMMMMMMr MM MM: M 0 rWZX M : MWM aX ,BM M 0M M aMMMM2MW 02 MMWMMr ZM. M@M 8MM 7 XM2 MS2 M.MMMWMMMM MM M MX iMM M7W 8 . M r W M@ Z;M M 0r ; M M M W 22 W M @ M M M.M2WMMMMZ ;MM@X:7MMMB; MMM ZM M:MM0;8: ,MS Ma 8 MMMMMMMi rM 2MMMMMM MB M 7 XM, ,: BMM: r7S .,MM MM MB M i ,M , 2 ; aMMMMMMMMM XM; MZM M . M 7 M . Z M M M8 M M S M .0 M 8MM aMi: MMMM7M ,7 .iM X M @ aZ M M 8 ,@MMMMBMMMa SMW 7M,XZ@MM M 8M M .M MMMM@X MMr Ma MMMMMMMMM@ M .WM M @WM7WMM .WX MZS M 8M :MMMWMMMM 8X MMMBMMM7 7aM 2MM r, 8r ZM2 Mr2 aMM; Mai :MS :iM ZiM @MX M M . M Wr.MMMaBMMMB M M MZ. ,M MMZ Mr M M B0 Z 2S iM S XM 7 WMM MM @.M M M W M. M M 0;M2M;MMMM: WW8aMM M S@ M M M : MaMMMMMM MM0W;MZM: M i M M MM MMMZMBZa0ar B20rMMM Si i BW MMM02 7MM0 2MMM MMMMMMMM . M SM@aiMM20BWM XM 0ZMMM:MMMMW; r. 0WMBM2XrB: . "All cannon-balls are to be piled in square pyramids," was the order issued to the regiment. This was done. Then came the further order, "All pyramids are to contain a square number of balls." Whereupon the trouble arose. "It can't be done," said the major. "Look at this pyramid, for example; there are sixteen balls at the base, then nine, then four, then one at the top, making thirty balls in all. But there must be six more balls, or five fewer, to make a square number." "It _must_ be done," insisted the general. "All you have to do is to put the right number of balls in your pyramids." "I've got it!" said a lieutenant, the mathematical genius of the regiment. "Lay the balls out singly." "Bosh!" exclaimed the general. "You can't _pile_ one ball into a pyramid!" Is it really possible to obey both orders?

Answer

Mrs. Sandy McAllister will have to save a tremendous sum out of her housekeeping allowance if she is to win that sixth present that her canny husband promised her. And the allowance must be a very liberal one if it is to admit of such savings. The problem required that we should find five numbers higher than 36 the units of which may be displayed so as to form a square, a triangle, two triangles, and three triangles, using the complete number in every one of the four cases. Every triangular number is such that if we multiply it by 8 and add 1 the result is an odd square number. For example, multiply 1, 3, 6, 10, 15 respectively by 8 and add 1, and we get 9, 25, 49, 81, 121, which are the squares of the odd numbers 3, 5, 7, 9, 11. Therefore in every case where 8x squared + 1 = a square number, x squared is also a triangular. This point is dealt with in our puzzle, "The Battle of Hastings." I will now merely show again how, when the first solution is found, the others may be discovered without any difficulty. First of all, here are the figures:-- 8 x 1 squared + 1 = 3 squared 8 x 6 squared + 1 = 17 squared 8 x 35 squared + 1 = 99 squared 8 x 204 squared + 1 = 577 squared 8 x 1189 squared + 1 = 3363 squared 8 x 6930 squared + 1 = 19601 squared 8 x 40391 squared + 1 = 114243 squared The successive pairs of numbers are found in this way:-- (1 x 3) + (3 x 1) = 6 (8 x 1) + (3 x 3) = 17 (1 x 17) + (3 x 6) = 35 (8 x 6) + (3 x 17) = 99 (1 x 99) + (3 x 35) = 204 (8 x 35) + (3 x 99) = 577 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. [Illustration +-----------+ +---------+ |. . . . ./.| |. . . ./.| |. . . ./. .| |. . ./. .| |. . ./. . .| |. ./. . .| |. ./. . . .| |./. . . .| |./. . . . .| /. . . . .| /. . . . . .| +---------+ +-----------+ ] 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.