**From New Scientist #1540, 25th December 1986** [link]

Delivering Christmas presents is not an easy task and Exe-on-Wye has grown to be so populous that it is hardly surprising that this year Santa Claus decided to delegate the delivery to his minions. Thanks to some failure in communication, however, instead of each house receiving one sack of presents, each of his helpers left a sack at each and every house. The number of sacks that should have been delivered happens to be the number obtained by striking out the first digit of the number of sacks delivered.

When Santa Claus discovered this, he was not pleased. “Things couldn’t be worse!” he groaned. “The number of sacks you should have delivered is the largest number not ending in zero to which the addition of a single digit at the beginning produces a multiple of that number”. And he disciplined the unhappy helpers.

But for each unhappy helper there were many happy households in Exe-on-Wye on Christmas morning.

Can you say how many unhappy helpers and how many happy households?

This puzzle completes the archive of *Enigma* puzzles from 1986, and brings the total number of *Enigma* puzzles on the site to 1,058. There is a complete archive from the start of *Enigma* in February 1979 to the end of 1986, as well as a complete archive from February 2001 to the end of *Enigma* in December 2013, which is 59% of all *Enigma* puzzles, and leaves 733 *Enigma* puzzles left to publish.

I have also started to post the *Tantalizer* and *Puzzle* problems that were precursors to the *Enigma* puzzles in **New Scientist**, and so far I have posted 16 of each. In total there are 90 *Puzzles* (which I can get from *Google Books*) and 500 *Tantalizer* puzzles (of which the final 320 are available in *Google Books*).

Happy puzzling (and coding)!

[enigma391b] [enigma391]

### Like this:

Like Loading...

*Related*

If

xis ak-digit number that can be multiplied bymby adding a digitdto the front we have:So, to find

x, we can consider the factors ofd.10^k.From the

10^kpart the will bek2’s and alsok5’s. Butxcannot have both 2 and 5 as factors (as it doesn’t end in a zero).This program consider the possible values for the prepended digit

d, and finds possible corresponding values ofxandm. It runs in 38ms.Solution:Santa has 65 helpers. There are 140,625 households in Exe-on-Wye.x= 140625 ⇒ 65x= 9140625, which is formed by prepending the digit 9 tox.Although the puzzle says “for each unhappy helper there were many happy households”, 140625 does not divide exactly by 65.

I found a non-rigorous solution in MiniZinc by fixing the number of houses as a 6-digit number.

I see New Scientist of 22 Jan 1987 gives the answer as 65 unhappy helpers and 140625 happy households, so all the helpers were unhappy and all the houses were happy.