The book Pillow-Problems: Thought Out During Wakeful Hours, by Charles Dodgson, better known by the pseudonym Lewis Carroll, was first published in 1893. It contains 72 problems that Carroll thought of while lying awake at night over the course of a few decades. Carroll's intent was that the puzzler would, like he did, work out the answers to the questions mentally.
This is problem #52 in the book.
Previous problem: Problem #27.
Next problem: Problem #68.
Note: For more information on British currency and coins in circulation at that time, see British Currency.
Five beggars sat down in a circle, and each piled up, in a heap before him, the pennies he had received that day: and the five heaps were equal.
Then spake the eldest and wisest of them, unfolding, as he spake, an empty sack.
"My friends, let me teach you a pretty little game! First, I name myself 'Number One,' my left-hand neighbour 'Number Two,' and so on to 'Number Five.' I then pour into this sack the whole of my earnings for the day, and hand it on to him who sits next but one on my left, that is 'Number Three.' His part in the game is to take out of it, and give to his two neighbours, so many pennies as represent their names (that is, he must give four to 'Number Four' and two to 'Number Two'); he must then put into the sack half as much as it contained when he received it; and he must then hand it on just as I did, that is, he must hand it to him who sits next but one on his left—who will of course be 'Number Five.' He must proceed in the same way, and hand it on to 'Number Two,' from whom the sack will find its way to 'Number Four,' and so to me again. If any player cannot furnish, from his own heap, the whole of what he has to put into the sack, he is at liberty to draw upon any of the other heaps, except mine!"
The other beggars entered in to the same with much enthusiasm: and in due time the sack returned to 'Number One,' who put into it the two pennies he had received during the game, and carefully tied up the mouth of it with a string. Then, remarking "it is a very pretty little game," he rose to his feet, and hastily quitted the spot. The other four beggars gazed at each other with rueful countenances. Not one of them had a penny left!
How much had each at first?
Answer: £ s. d.
Let x be the number of pennies each had at first.
No. (3) received x, took out (2+4), and put in
; so that the sack then contained (x·
−6). Let us write ‘a’ for ‘
No. (5) received (xa−6), took out (4+1), and put in enough to multiply, by a, its contents when he received it. The sack now contained (xa²−6a−5).
No. (2) took out (1+3), and handed on (xa³−6a²−5a−4).
No. (4) took out (3+5), and handed on
No. (1) put in 2. The sack now contained 5x.
Hence xa4−6a³−5a²−4a−6 = 5x;
= 696 = 2l 18s. 0d.
URL: http://www.allfunandgames.ca/templates/footer1.shtml.Last update: August 16, 2010.