Library · Amusements in Mathematics · Chapter 5
Digital Puzzles
On this page
- No. 76. The Barrel of Beer
- No. 77. Digits and Squares
- No. 78. Odd and Even Digits
- No. 79. The Lockers Puzzle
- No. 80. The Three Groups
- No. 81. The Nine Counters
- No. 82. The Ten Counters
- No. 83. Digital Multiplication
- No. 84. The Pierrot’s Puzzle
- No. 85. The Cab Numbers
- No. 86. Queer Multiplication
- No. 87. The Number-Checks Puzzle
- No. 88. Digital Division
- No. 89. Adding the Digits
- No. 90. The Century Puzzle
- No. 91. More Mixed Fractions
- No. 92. Digital Square Numbers
- No. 93. The Mystic Eleven
- No. 94. The Digital Century
- No. 95. The Four Sevens
- No. 96. The Dice Numbers
The digital puzzles play with the nine figures 1 to 9, and sometimes the nought as well. Dudeney gave them a class to themselves because, as he put it, very little was generally known of the laws behind them beyond the old trick of casting out nines. That trick is the thread through this chapter. Add the digits of a number, add the digits of the result, and so on until one figure is left: Dudeney called this the digital root. It is the remainder the number leaves on division by 9 (with 9 standing for a remainder of nought), because 10 leaves remainder 1 on division by 9, so every power of 10 does too, and a number differs from the sum of its digits by a multiple of 9. His own first example: 15,763,530,163,289 has digit sum 59, then 14, then 5, and since a square always has digital root 1, 4, 7 or 9, the number is not a square.
Unless a puzzle says otherwise, “the nine digits” means 1 to 9, each used exactly once, and a number never begins with a nought. Where fractions or decimals are allowed, the puzzle says so.
No. 76. The Barrel of Beer
A dealer bought an odd lot of six barrels: five of wine and one of beer. They held 15, 31, 19, 20, 16 and 18 gallons. He sold some wine to one customer and twice as much wine to a second, and kept the beer for himself. He sold the barrels whole, just as he bought them, without pouring anything from one to another. Which barrel held the beer?
No. 77. Digits and Squares
Put the nine digits 1 to 9 into a square of three rows of three, so that, reading each row as a three-figure number, the middle row is twice the top row and the bottom row three times the top row. One way is 192, 384, 576. There are three others. Find them.
No. 78. Odd and Even Digits
The odd digits 1, 3, 5, 7 and 9 add up to 25, while the even digits 2, 4, 6 and 8 add up to only 20. Using each odd digit once, write some numbers, and using each even digit once, write some more numbers, so that the odd numbers and the even numbers add up to the same total. Whole numbers and proper fractions such as are allowed; improper fractions, fractions built of fractions and recurring decimals are not.
No. 79. The Lockers Puzzle
A man had three cupboards, A, B and C, each with nine lockers in three rows of three. He told his clerk to paint a different single figure on each locker of a cupboard. Nought counts as a figure here, so in each cupboard the clerk left out one of the ten figures 0 to 9.
The clerk arranged each cupboard as an addition sum: the top row and middle row, read as three-figure numbers, add up to the bottom row. No row starts with a nought. Cupboard A shows the smallest total that such a sum can have, cupboard C the largest, and the nine figures in the three totals are all different. How was it done?
No. 80. The Three Groups
Split the nine digits into three numbers of two, three and four figures so that the first two multiplied together give the third, as in . Also allow a split into one, four and four figures, as in . Find every solution of both kinds.
No. 81. The Nine Counters
Nine counters bear the digits 1 to 9. Laid out as and they make two multiplication sums with the same product, 3634. Rearrange all nine counters, again as a three-figure number times a two-figure number and a two-figure number times a two-figure number, so that the two products are equal and as large as possible.
No. 82. The Ten Counters
Now add a counter bearing 0 to the nine. Arrange all ten counters as two multiplication sums with the same product; this time each sum may have as many figures in each factor as you like. That much is easy. The real puzzle is to find the arrangement with the smallest common product and the one with the largest. Every counter must be used, a nought may not stand at the front of a number, and fractions and decimals are not allowed.
No. 83. Digital Multiplication
Using the nine digits 1 to 9 once each, form two multiplication sums with the same product. For example, and both give 4606, whose digits add up to 16. Find the arrangement whose common product has the smallest possible digit sum, and the one whose product has the largest.
No. 84. The Pierrot’s Puzzle
A pierrot stands with his arms crossed like a multiplication sign, between 15 and 93, because , which uses the same four figures in another order. Take any four different digits and split them between the two sides, two and two or one and three, so that the product is written with exactly the same four digits. Find every case. With three digits there are only two: and .
No. 85. The Cab Numbers
A London policeman, having lost his pencil, chalked the numbers of two suspicious cabs on a wharf gate. Looking at them later he noticed that the two numbers together used each of the digits 1 to 9 exactly once, and that their product also used each of 1 to 9 exactly once. By morning a clerk had rubbed the chalk out. Which two numbers, together using the nine digits once each, give the largest possible product that also uses the nine digits once each? The nought is not allowed anywhere.
No. 86. Queer Multiplication
Multiply 51,249,876 by 3 and you get 153,749,628: the sum uses each of the digits 1 to 9 once, and so does the answer. Likewise . Now take 6 as the multiplier and arrange the other eight digits as an eight-figure number so that the product again uses each of 1 to 9 exactly once. It is far from easy, but it can be done.
No. 87. The Number-Checks Puzzle
Workmen on a building each hang a numbered disc on a board when they arrive. A foreman threads ten of these discs, numbered 1 to 9 and 0, on a split ring, and going round the ring they read 2, 8, 9, 0, 7, 1, 5, 4, 6, 3, after which the 2 comes round again. Without taking any disc off the ring, divide them into three groups of neighbouring discs, each read as a number in the order round the ring, so that the first group multiplied by the second gives the third. A group may hold as many discs as you like. For example, sliding the 6 and 3 round to the 4 gives the groups 2, 8907 and 15463, but is not 15,463.
No. 88. Digital Division
Split the nine digits 1 to 9 into two numbers so that one divided by the other gives a whole number with no remainder. For example, . Find similar arrangements giving 3, 4, 5, 6, 7, 8 and 9, and in each case (2 included) find the pair with the smallest numbers. For 2, the pair also works, but its numbers are larger than those of the example.
No. 89. Adding the Digits
Write the sum of money £987 5s. 4½d. and add up its digits, counting the 1 and 2 of the fraction: they come to 36. No digit appears twice, either in the amount or in its digit sum, and this is the largest amount that can be written under that condition. Now find the smallest amount, with pounds, shillings, pence and a fraction of a penny all present, again with no digit repeated anywhere in the amount or its digit sum. You need not use all nine digits, and the nought is not allowed.
No. 90. The Century Puzzle
Write 100 as a mixed number, a whole number plus a fraction, using each of the nine digits 1 to 9 exactly once; the fraction may be top-heavy. One way is . The French mathematician Édouard Lucas found seven ways and doubted there were more. There are in fact eleven. Ten of them have a two-figure whole number. Find the one whose whole number has a single figure.
No. 91. More Mixed Fractions
In the same way, write each of 13, 14, 15, 16, 18, 20, 27, 36, 40, 69, 72 and 94 as a whole number (at least 1) plus a fraction, using each of the digits 1 to 9 exactly once in every case.
No. 92. Digital Square Numbers
The nine digits 1 to 9 can be split into four square numbers: 9, 81, 324 and 576. Now put all nine together, each once, to make a single square number: first the smallest possible, then the largest possible.
No. 93. The Mystic Eleven
Take any nine of the ten digits 0 to 9, each once, and arrange them as a nine-figure number (not starting with 0) that divides exactly by 11. Find the largest such number and the smallest. For example, 896,743,012 leaves out the 5 and divides by 11, but it is neither.
No. 94. The Digital Century
Write the figures 1 2 3 4 5 6 7 8 9 in that order and put arithmetical signs between them to make 100. Figures with no sign between them run together into one number. Use as few signs as possible, and among those answers the fewest strokes of the pen: a plus or a times sign counts two strokes, a minus one, a division sign three, and a pair of brackets counts as one sign of two strokes.
No. 95. The Four Sevens
Professor Rackbrane has just shown his class how four 5s can be written with simple arithmetical signs to make 100, and every young reader will see at a glance that his example is correct. Now he wants four 7s, neither more nor less, arranged with arithmetical signs to represent 100. With four 9s one could write at once, but the four 7s call for more ingenuity. Can you find the trick?
No. 96. The Dice Numbers
I have four dice marked not with spots but with the figures 1 to 6. Put side by side they make numbers: as they lie, 1246. If I form every four-figure number the dice can show, never using the same figure twice in one number, what do all these numbers add up to? A 6 may be turned upside down to read 9. Do not write out the list and add it up; life is too short. Find a better way.
The Barrel of Beer
The wine was sold in the proportion one to two, so the wine sold came to three equal parts and its total is a multiple of 3.
The six barrels hold 119 gallons, which leaves remainder 2 on division by 3. The beer barrel must therefore leave remainder 2 as well. The remainders of 15, 31, 19, 20, 16 and 18 are 0, 1, 1, 2, 1 and 0, and only the 20-gallon barrel qualifies.
That fixes the beer, and the rest must be checked, because a multiple of 3 is necessary but not enough. The wine totals 99 gallons, so the first customer had 33 and the second 66. Among 15, 31, 19, 16 and 18 the only barrels making 33 are 15 and 18, and the other three make 66. The arrangement is unique.
Dudeney’s answer is the same, and it rests on reading the story as saying that all the wine was sold. If the dealer could keep some wine back as well, the puzzle falls apart: there are then seven ways to make the sale, and the beer could be any barrel except the 18. For instance, with beer in the 15-gallon barrel he might sell 18 gallons to one man and 20 and 16 to the other, keeping 31 and 19.
Answer the 20-gallon barrel; 15 + 18 to one buyer, 31 + 19 + 16 to the other
Digits and Squares
Call the top row . The three rows add up to , and since the nine digits add up to 45, the digital roots say that leaves the same remainder on division by 9 as 45 does, namely 0. So 9 divides , which means 3 divides . The bottom row must be at most 987, the largest three-figure number with different digits, so , and . That leaves 69 multiples of 3 to try, and they can be run through in a few minutes with the further check that , and share no digit and contain no nought. Exactly four survive: Dudeney’s four are these four, and there are no others.
Answer top rows 219, 273 and 327 (besides 192)
Odd and Even Digits
The crux is that whole numbers cannot do it, and nor can decimals.
Any number has the same remainder on division by 9 as its digit sum. If the odd digits are written as whole numbers, the total therefore leaves the same remainder as , which is 7; the even digits give the remainder of 20, which is 2. The totals can never be equal.
Terminating decimals do not escape. Suppose some decimals on the two sides gave equal totals. Multiply both sides by a power of 10 large enough to clear every decimal point. Each term, such as 7.9, becomes a whole number with the same digits followed by noughts, such as 790, so its digit sum is unchanged, and the argument above applies to the enlarged totals. They would leave remainders 7 and 2 on division by 9, so they are not equal, and neither were the originals.
So a proper fraction is needed, and with one we have (The odd side can also be written .) This is Dudeney’s answer, and it is better than he claimed. He called it the simplest solution; in fact, allowing whole numbers and proper fractions but no decimals, is the only total that works at all.
The puzzle’s wording forbids only recurring decimals, so terminating ones seem to be allowed, and mixing them with fractions opens five more totals. The smallest is and the others are , , (for instance ) and .
Answer , the only total without decimals
The Lockers Puzzle
The crux is a rule Dudeney gives in his answer:
the digit sum of the total is fixed by the figure left out and the number of carries. Write for the digit sum of . Adding column by column, a column that reaches 10 or more keeps its units digit and carries 1, which loses exactly 9 from the digit total. So if the sum has carries, . The nine figures used add to , where is the one left out, so
The smallest total. The hundreds figures of and are different and not nought, so is at least 300, and a total in the 300s needs hundreds figures 1 and 2 with nothing carried into the hundreds. The tens figure of cannot be 0, since two different tens figures cannot add to 0, and a total of 10 would carry into the hundreds. It cannot be 1, 2 or 3, which are already in use, and it cannot be 4: the tens figures would have to add to 4, or 3 with a carry, using figures other than 1, 2, 3 and 4, which is impossible. With tens figure 5, the tens figures of and add to 5 or 4 from , so they are 0 and 4 with a carry from the units. The units then come from 6, 7, 8 and 9 and add to , where is the units of . The pairs give 13, 14, 15, 15, 16 and 17, so is 3, 4, 5, 6 or 7, and 3, 4 and 5 are already in use. The least is from , and The largest total. A total in the 990s repeats a figure, so the best hope is , with digit sum . The rule gives . Two carries would make negative. With one carry, , so is at most 1. With no carries, is 2, 3, 4 or 5 ( would leave out the 9, which is in use) and the tens figures of and must add to exactly 8. Checking each case: for (leaving out 1) the free figures are 0, 2, 3, 4, 6, 7, the units must be 2 and 3, and no two of 0, 4, 6, 7 make 8; for (leaving out 3) no two free figures make 4; for (leaving out 5) the units are 1 and 2 and no two of 0, 4, 6, 7 make 8; for (leaving out 7) no two free figures make 2. So 981 is the largest, and it is made as The middle cupboard. The totals 356 and 981 use six figures, so the middle total is made of three of 0, 2, 4 and 7. A search of every such sum shows that only three of the candidates can be made: , and , each in essentially one way.
In each sum, any column may have its top two figures exchanged, giving 8 layouts of every basic sum. Cupboard A then has 8 layouts, B has and C has , so there are ways to number the lockers, exactly as Dudeney counted. His answer agrees throughout.
Answer A: ; B: (or 702, or 407); C: ; 3072 layouts
The Three Groups
Casting out nines cuts the field sharply. If uses the nine digits, the digit sums of , and add to 45, so the remainders , and of , , on division by 9 satisfy and . Hence , that is, The only pairs of remainders whose product is 1 modulo 9 are , , and , so must be one of , , , or these reversed. For instance, has remainders 3 and 6, and has 4 and 1. Only six of the eighty-one pairs of remainders survive, and the rest is patient trial. It yields exactly Dudeney’s nine: Seven have the two-three-four shape and two the one-four-four shape.
Answer nine solutions, as listed; Dudeney’s list is complete
The Nine Counters
Here Dudeney slipped. His best product, , is only the third largest. The largest is and also beats his.
The methodical route is to work from the two-by-two product, since it is squeezed hardest. Four different figures make two two-figure numbers whose product is at most . So list the products of two two-figure numbers with four different digits from the largest down, and for each ask whether the five figures left over can be arranged as a three-figure number times a two-figure number with the same product. The first product to survive is , whose leftover figures 1, 2, 3, 4 and 5 give . The surprise is that the winning three-figure number, 532, is built from the five smallest figures: the large figures do more good in the two-by-two sum, where both factors are squeezed into two places.
Altogether there are eleven pairs of equal products, from Dudeney’s example 3634 up to 7448.
Answer (Dudeney’s 5568 is not the largest)
The Ten Counters
The crux is that each sum must use exactly five counters.
A number of figures lies between and , so a product of an -figure and an -figure number is at least and less than . If one sum used four counters its product would be below , while a sum of six counters gives at least ; four against six is impossible, and three against seven or worse is more so. Each side is therefore a one-figure number times a four-figure number, or a two-figure number times a three-figure number.
For the smallest product Dudeney’s idea is the natural one: take the smallest multipliers, 1 and 2, and look for two four-figure numbers from the other eight counters, one double the other, with the smaller as low as possible. Candidates such as 3045 and 3405 fail, and the first that works is . The same product also arises as , so the smallest product has two arrangements, and Dudeney gave one of them.
For the largest, his answer is right, and again there is a twin: . That nothing larger can be made, and nothing smaller than 6970, is the verdict of a search through every pair of equal products, not of an argument.
Answer smallest ; largest
Digital Multiplication
Here too Dudeney slipped, at the top end. The same counting as in the previous puzzle shows that one sum uses four figures and the other five: three figures give a product below 1000 and six give at least , so the split cannot be more lopsided. Four figures give a product below , so the common product has four figures, and its digit sum is at most 36.
Dudeney’s smallest is right: , with digit sum 6, and it is the only arrangement that low. His largest, with digit sum 27, can be beaten: whose digits add up to 30. That is the true maximum, reached in this one way only. There is no clever route to either extreme; Dudeney himself said the answer comes only by trial, and the trial here is a full search.
Answer smallest (sum 6); largest (sum 30, not Dudeney’s 27)
The Pierrot’s Puzzle
The crux is casting out nines again. If is written with the same digits as and together, then the product and the sum have the same digit sum, so . Rearranged, this is and as in the Three Groups the only products of remainders equal to 1 modulo 9 are , , and . So the digital roots of the two factors must be 2 and 2, 3 and 6, 5 and 8, or 9 and 9. For instance, 15 and 93 have roots 6 and 3. Dudeney found the same four classes, and they cut the trials to a small fraction; the rest is a short, patient search. Using the digits 1 to 9 there are exactly six cases: These are Dudeney’s six, though his text prints the second as 1287, a slip for 1827.
The puzzle says only “any four digits”, and nothing in it bars the nought. Allow it and six more cases appear, , , , , and . All six are the two three-digit cases with a nought slipped in, which is presumably why Dudeney did not count them, but his words do not exclude them. The three-digit claim holds on either reading.
Answer the six listed (Dudeney’s six, with ); twelve if the nought is allowed
The Cab Numbers
The digital roots say at once that both cab numbers are multiples of 3. The two numbers together use digits adding to 45, so is a multiple of 9, and so is the product , whose digits also add to 45. Writing gives , so 9 divides , which forces 3 to divide , and then too. That thins the field, but the largest product is still a matter of search. Dudeney’s answer, which he offered with an “I think”, is correct: nothing larger exists. The runner-up is . Both factors of the winner are indeed multiples of 3, with digit sums 15 and 30.
Answer , as Dudeney thought
Queer Multiplication
Casting out nines, usually the quickest way to kill a digital puzzle, gives no help here. The eight digits other than 6 add to 39, so the eight-figure number leaves remainder 3 on division by 9, and six times it leaves remainder 0, exactly what a product using all nine digits needs. Nothing stands in the way, and the puzzle is honest trial. Dudeney’s answer, is correct, but “far from easy” undersells how many there are: 87 arrangements work, from up to . The trial can be shortened by working from the right, since the last digit of the number fixes the last digit of the product, and the carries then fix each further digit in turn.
Answer (one of 87)
The Number-Checks Puzzle
Counting figures settles the shape first. If the factors have and figures, the product has or figures, and all three together use ten. The second case would need , which is impossible, so the product has five figures and the two factors share the other five, split one and four or two and three. On the ring, then, the product is a run of five neighbouring discs, which can start at any of ten places, and the remaining run of five is cut in one of four places: forty cases, of which thirty remain once runs starting with the nought are set aside.
Casting out nines thins these further. The ten digits add to 45, so, exactly as in the Three Groups, the remainders and of the factors on division by 9 must satisfy . Running through the thirty cases with this check leaves just five multiplications to do, and only one of them works: with the groups 7, 1, 5 then 4, 6 then 3, 2, 8, 9, 0 in order round the ring. Here 715 and 46 leave remainders 4 and 1, and , as required. This is Dudeney’s answer and it is the only one, even if the first and second groups may be any two of the three runs. Reading the ring the other way round gives no solution at all.
Answer , the only answer
Digital Division
Write the division as . Multiplying a number by from 2 to 9 adds at most one figure, so if has figures then has or , and the nine digits force : the divisor has four figures and the dividend five.
Casting out nines then explains a pattern Dudeney noticed. The digits of and add to 45, so is a multiple of 9. For this says nothing, since always is. For and it says or is a multiple of 9, so is a multiple of 3. For and 9 the factor is 4, 5, 7, 8 or 10, none of them a multiple of 3, so itself must be a multiple of 9. This is Dudeney’s classification of the digital roots: 9 and 9 for the five cases just named, 3 and 6 in some order for halves and fifths, and anything at all for eighths, which is why eighths have by far the most solutions.
Within these limits the search is short, and it confirms each of Dudeney’s eight smallest pairs: The numbers of solutions for to 9 are 12, 2, 4, 12, 3, 7, 46 and 3.
Answer Dudeney’s eight pairs are all correct and all smallest
Adding the Digits
Everything turns on the digit 1, which the small amounts all want. The smallest amount has £1, and then no other part may use a 1. That rules out 10s. to 19s., 1d., 10d. and 11d., and the fractions ¼ and ½, so the fraction is ¾ and the shillings and pence are single digits other than 1, 3 and 4. The digit sum is , and its two figures must avoid 0, 1, 3, 4, and .
Now try the shillings in increasing order. With the sum is , somewhere from 15 to 19, and always contains a 1. With the possible sums are 15, 19, 20, 21 and 22; with they are 16, 19, 21, 22 and 23; with they are 17, 20, 21, 23 and 24. Each contains a 0, a 1, a 3, a 4 or a repeated figure. With the pence 2, 5, 6 and 7 give 18, 21, 22 and 23, which fail, but gives 25, which is clear. So the smallest amount is whose digits 1, 8, 9, 3, 4 add to 25, exactly Dudeney’s answer.
His claim for the largest amount also holds. The digit sum of at least four different digits is at least 10, so it takes two figures, and the fraction takes two more. With the shillings and pence taking at least one each, the pounds have at most three figures, and when they do, all nine digits are in use and the shillings and pence are single figures. The digit sum then equals , so , whose only solution in digits is , . The best possible pounds, 987, leave 1, 2, 4 and 5 for the shillings, pence and a fraction without a 3, and the largest choice is 5s. 4½d.
Answer £1 8s. 9¾d., digit sum 25; Dudeney’s largest, £987 5s. 4½d., is confirmed
The Century Puzzle
Write the mixed number as .
The fraction must be a whole number, , so , and has one or two figures. Casting out nines gives a sharp filter. The digits of , and add to 45, so , and substituting for , with , If leaves remainder 2 on division by 3, then is a multiple of 3, and reading the condition modulo 3 would make a multiple of 3, a contradiction; so such whole parts are out at once. For every other the factor is prime to 9 and the condition fixes the remainder of . The search that remains is modest. It gives exactly eleven ways, as Dudeney said: The odd one out is , where the fraction is 97. It passes the filter: with the condition reads , and 714 does leave remainder 3.
Answer ; eleven ways in all, as Dudeney said
More Mixed Fractions
The same filter applies to any target : with and , the digits give . It prunes the search, but it does not settle which targets are impossible; for that there is no substitute for trial, as Dudeney said. The trial shows that 15 and 18 cannot be done, and that 16, 20 and 27 can each be done in exactly one way, so Dudeney’s remark that he had found only one arrangement for these three is the whole truth. His answers for the other numbers are all correct: The numbers of ways for 13, 14, 36, 40, 69, 72 and 94 are 2, 2, 3, 7, 3, 7 and 8. Dudeney got round 15 and 18 with a fraction stacked on a fraction, and rightly said it was fairer to keep to the plain form, under which they are impossible.
Answer 15 and 18 are impossible; 16, 20 and 27 have one way each; the rest as listed
Digital Square Numbers
A square using 1 to 9 once has nine figures, between 123,456,789 and 987,654,321, so its root lies between 11,112 and 31,426.
Its digits add to 45, so it is a multiple of 9, and therefore its root is a multiple of 3. That leaves under seven thousand roots to square, a long afternoon by hand in 1917 and an instant by machine. There are thirty such squares, and Dudeney’s two extremes are right:
Answer smallest ; largest
The Mystic Eleven
The crux is the test for 11. Since , a number is divisible by 11 exactly when the digits in the odd places (first, third, and so on) and those in the even places have sums differing by a multiple of 11. Dudeney makes the same point: the difference need only be a multiple of 11, not nought.
The largest. The best conceivable start is 98765, so try it. The last four places, sixth to ninth, take four of 0, 1, 2, 3, 4. The odd places so far hold and the even places , so the seventh and ninth figures must beat the sixth and eighth by 4 (or fall short by 7, which four small digits cannot manage, as the sixth and eighth would need 3 and 4 and the others would have to add to nought). A surplus of 4 comes from 3 and 4 against 1 and 2 (leaving out 0), or from 2 and 3 against 0 and 1 (leaving out 4). The first gives the larger sixth figure, and the largest arrangement is with odd places and even places .
The smallest. The best start is 10234. The odd places hold and the even places , and the last four figures come from 5 to 9, one of them left out. The sixth and eighth must now beat the seventh and ninth by exactly 4 (the other way round, the seventh and ninth would have to win by 7, which needs a pair adding to 18). If the pair sums are and , the four figures add to , which is less the digit left out, so the omitted digit is odd. Leaving out 7 would need from 5, 6, 8, 9, which fails; leaving out 5 gives 6, 7 against 8, 9; leaving out 9 gives 5, 6 against 7, 8, and this has the smaller sixth figure. The smallest arrangement is Both are Dudeney’s answers.
Answer largest 987,652,413; smallest 102,347,586
The Digital Century
The crux is that long numbers do the work, so few signs are needed.
With one sign the expression is two numbers joined by a single operation, and none of the eight ways of cutting 123456789 in two gives 100 by adding, subtracting, multiplying or dividing; a leading minus does not help. With two signs, three numbers and two operations, a search of every cut and every pair of operations still finds nothing that reaches 100, and brackets are no use with a single operation, so at least three signs are needed.
Three signs do suffice, and the answer Dudeney gave as his best, uses three signs and four strokes. He said only that he did not think it would ever be beaten. It cannot be: among all expressions with three signs, brackets included, it is the only one that makes 100, so it is best on both counts. (The one three-sign form the search below does not list, a minus in front of a bracketed pair, , would need a tail of the figures to exceed the head by exactly 100, which never happens.)
Answer : three signs, four strokes, and the only three-sign answer
The Four Sevens
The trick is the decimal point, which turns a 7 into a tenth of itself: .
Two of those multiplied together give Dudeney’s answer, and, as he says, any figure would serve in place of 7.
The decimal point allows more than he mentions. Allowing the sevens to be run together into 77 and .77 as well, a search through every arrangement of four sevens with the four operations and brackets finds eighteen expressions equal to 100. Most are Dudeney’s answer regrouped, such as . Three are different in kind: The first is perhaps the neatest of all, and like Dudeney’s it works with any figure in place of the 7.
Answer , or
The Dice Numbers
The crux is symmetry of position. Take any four different figures , , , . They can be arranged in 24 orders, and in those 24 numbers each figure stands in each of the four places exactly 6 times. So the units column adds up to , and so do the tens, hundreds and thousands, and the 24 numbers together make The dice can show the seven figures 1, 2, 3, 4, 5, 6 and 9, and since a 6 and a 9 on different dice are different figures, any four of the seven may be used together: sets. Each figure belongs to of them, so the figure-sums of all 35 sets add up to . The grand total is , as Dudeney says, and adding all 840 numbers one by one confirms it.
Dudeney went on to the nine figures 1 to 9 in general. His table of how many sets of four different figures have each sum (one set for 10 and 11, two for 12, three for 13, and so on up to 11 for 18, 19, 21 and 22 and 12 for 20) is correct, and so is his total of 16,798,320 for all numbers of four different non-zero figures. The same argument gives that at once: each figure lies in sets, the sets’ figures add up to , and . His formula for figures, , follows the same way, and agrees with direct addition for up to 6.
Answer 3,999,600