Here the digital roots of the six numbers are 6, 4, 1, 2, 7, 9, which together sum to 29, whose digital root is 2. As the contents of the barrels sold must be a number divisible by 3, if one buyer purchased twice as much as the other, we must find a barrel with root 2, 5, or 8 to set on one side. There is only one barrel, that containing 20 gallons, that fulfils these conditions. So the man must have kept these 20 gallons of beer for his own use and sold one man 33 gallons (the 18-gallon and 15-gallon barrels) and sold the other man 66 gallons (the 16, 19, and 31 gallon barrels).
[77.—DIGITS AND SQUARES.—solution]
The top row must be one of the four following numbers: 192, 219, 273, 327. The first was the example given.
[78.—ODD AND EVEN DIGITS.—solution]
As we have to exclude complex and improper fractions and recurring decimals, the simplest solution is this: 79 + 51/3 and 84 + 2/6, both equal 841/3. Without any use of fractions it is obviously impossible.
[79.—THE LOCKERS PUZZLE.—solution]
The smallest possible total is 356 = 107 + 249, and the largest sum possible is 981 = 235 + 746, or 657 + 324. The middle sum may be either 720 =134+586, or 702 = 134 + 568, or 407 = 138 + 269. The total in this case must be made up of three of the figures 0, 2, 4, 7, but no sum other than the three given can possibly be obtained. We have therefore no choice in the case of the first locker, an alternative in the case of the third, and any one of three arrangements in the case of the middle locker. Here is one solution:—