Library · Amusements in Mathematics · Chapter 19
Measuring, Weighing and Packing Puzzles
On this page
- No. 362. The Wassail Bowl
- No. 363. The Doctor’s Query
- No. 364. The Barrel Puzzle
- No. 365. New Measuring Puzzle
- No. 366. The Honest Dairyman
- No. 367. Wine and Water
- No. 368. The Keg of Wine
- No. 369. Mixing the Tea
- No. 370. A Packing Puzzle
- No. 371. Gold Packing in Russia
- No. 372. The Barrels of Honey
- No. 373. Crossing the Stream
- No. 374. Crossing the River Axe
- No. 375. Five Jealous Husbands
- No. 376. The Four Elopements
- No. 377. Stealing the Castle Treasure
Pouring puzzles look like arithmetic and are really about moves. A jug without graduations measures only two amounts, nothing and full, so the only honest pouring is to pour until the source runs dry or the target is full. Every position of the liquid is then a list of whole numbers, one per vessel, and the puzzle asks for the shortest walk from the starting list to the goal. A shortest walk can always be found and proved shortest by a breadth-first search, which lists every position reachable in one pouring, then in two, and so on until the goal first appears. Where Dudeney claims a fewest number of pourings, that search is how we check him.
The measures are the old English ones: two pints make a quart and four quarts a gallon. Money is in shillings and pence, twelve pence to the shilling, so that 2s. d. is pence. The mixing puzzles turn on keeping separate account of each ingredient, and the packing puzzles on how tightly round or flat things will sit in a box.
The chapter ends with Dudeney’s river-crossing puzzles, a family that goes back to Alcuin’s wolf, goat and cabbages. They are pouring puzzles in another dress: a position says who is on which bank, a move is one trip of the boat, and the same breadth-first search finds the fewest trips and proves that no shorter way exists.
No. 362. The Wassail Bowl
One Christmas Eve three tramps came by a small barrel holding exactly six quarts (twelve pints) of good ale. One of them owned a five-pint jug and another a three-pint jug, and they wanted to share the ale equally, with nothing wasted and no other vessel or measure. Every separate pouring from one vessel into another, or down a man’s throat, counts as one manipulation. Show how it can be done, and then find the way that uses the fewest manipulations.
No. 363. The Doctor’s Query
A doctor had one bottle holding ten ounces of spirits of wine and another holding ten ounces of water. He poured a quarter of an ounce of the spirits into the water and shook it up, so that the water bottle held a mixture of forty parts water to one of spirits. Then he poured a quarter of an ounce of that mixture back into the spirits bottle, so that the two bottles held ten ounces each again. In what proportion were spirits and water then mixed in the spirits bottle?
No. 364. The Barrel Puzzle
Two men are arguing about an open-topped barrel of water. One says it is more than half full, the other that it is less. We cannot see into it, and we may not use a stick, a string or any other measuring tool. What is the easiest way to settle the argument?
No. 365. New Measuring Puzzle
A man has two ten-quart vessels full of wine, and an empty five-quart measure and an empty four-quart measure. He wants exactly three quarts in each of the two measures. How can he do it, and in how few manipulations (pourings from one vessel into another)? Waste, tilting and other tricks are not allowed.
No. 366. The Honest Dairyman
A dairyman has a can B holding milk and a can A holding water. From A he pours into B enough to double what B holds. Then from B he pours into A enough to double what A holds. Finally he pours from A into B until the two cans hold the same amount, and sends can A to London. In what proportion are milk and water mixed in the Londoners’ can? We are not told how much milk or water he started with.
No. 367. Wine and Water
Mr Goodfellow filled a wine-glass half full of wine, and a second glass, twice the size of the first, one-third full of wine. He filled both glasses to the brim with water and emptied them into a tumbler. What fraction of the mixture is wine, and what fraction water?
No. 368. The Keg of Wine
A man had a ten-gallon keg full of wine, and a jug. He drew off a jugful of wine and filled the keg up with water. Later, when it was thoroughly mixed, he drew off another jugful and again filled the keg with water. The keg then held equal amounts of wine and water. What is the capacity of the jug?
No. 369. Mixing the Tea
A customer wants twenty pounds of tea at 2s. d. a pound. The grocer stocks a good tea at 2s. 6d., a slightly poorer one at 2s. 3d. and a cheap Indian tea at 1s. 9d. a pound, all in one-pound packets. He tells his assistant to mix the three teas, using whole packets only, so that the twenty pounds are worth exactly the customer’s price, and to put in as little of the best tea as he can, since it carries the smallest profit. How should the teas be mixed?
No. 370. A Packing Puzzle
A man has a large number of iron balls, each exactly two inches across, and wants to pack as many as possible into a rectangular box measuring inches long, inches wide and 14 inches deep. What is the greatest number of balls the box will hold?
No. 371. Gold Packing in Russia
Russian officials are packing 800 gold slabs, each 12½ inches long, 11 inches wide and 1 inch deep. What are the inside measurements of a box, as long as it is wide and just as deep as necessary, that will hold them exactly, with no space left over? The government’s rules allow no more than twelve slabs to be laid on edge.
No. 372. The Barrels of Honey
An old merchant of Baghdad leaves his three sons twenty-one barrels of honey: seven full, seven half-full and seven empty. Each son must receive the same quantity of honey and the same number of barrels, no honey may be poured from one barrel to another, and no son will take more than four barrels of the same kind (full, half-full or empty). How is the honey divided?
No. 373. Crossing the Stream
Mr and Mrs Softleigh, their two sons and their dog must cross a stream in a small boat that carries at most 150 lb. Mr and Mrs Softleigh weigh 150 lb each and the sons 75 lb each, and the dog will not swim on any terms. Sending Mrs Softleigh over first gained nothing, because she had to bring the boat back. How do they all get across?
No. 374. Crossing the River Axe
Three countrymen, Giles, Jasper and Timothy, have dug up smugglers’ treasure on the South Devon coast and shared it: Giles has £800 worth, Jasper £500 and Timothy £300, each in one sack. Their boat on the river Axe carries two men, or one man and one sack. They trust each other so little that no man may be left alone, on either bank or in the boat, with more than his own share of the spoil, though two men together, each a check on the other, may be left with more. How do they get over in the fewest crossings, taking the treasure with them? No ropes, currents, swimming or similar dodges.
No. 375. Five Jealous Husbands
Five married couples are cut off by floods and must escape in a boat that holds three people. Every husband is so jealous that he will not allow his wife to be in the boat, or on either bank, with another man or men unless he himself is there. Call the men A, B, C, D, E and their wives a, b, c, d, e. Show the quickest way to get them all across. Going over and coming back counts as two crossings.
No. 376. The Four Elopements
Four young men are eloping with a colonel’s four daughters across the Thames at the foot of his garden, in a boat that holds two. Each young man is so jealous that he will not let his bride be with another man, or men, at any time unless he is there too. Halfway across is a small island, where people may be left while the boat goes back or on. The boat need not call at the island on every trip, but it must always be free to: a man may not be alone in the boat, even crossing straight over, while a girl other than his own is alone on the island. What is the fewest number of passages from land to land (either bank or the island)?
No. 377. Stealing the Castle Treasure
Three thieves, a man of 195 lb, a youth of 105 lb and a small boy of 90 lb, must escape from a high window of Gloomhurst Castle with a box of treasure weighing 75 lb. Outside the window is a pulley with a rope and a basket at each end: when one basket is at the window, the other is on the ground. The baskets move only when one holds more than the other; nobody can help himself or be helped by the rope. If the descending basket is more than 15 lb heavier than the other, the fall is dangerous to a person, though it does no harm to the treasure. A basket holds two people, or one person and the treasure. What is the shortest way for all three and the treasure to reach the ground?
The Wassail Bowl
The jugs measure only 5, 3 and the odd amounts they leave in each other, so the trick is to find a moment when the barrel itself holds a share, four pints, and can be poured straight down one throat. Write a position as six numbers:
the pints in the barrel, the five-pint jug and the three-pint jug, and the pints drunk so far by the three men X, Y and Z. A pour between vessels stops when the source is empty or the target full. A pour down a man’s throat takes the whole of the vessel, because nothing marks a part of it, and no man may take more than his four pints. Here is Dudeney’s sequence: That moment comes at the fifth and sixth pourings, when the barrel is down to exactly four pints and goes straight into Y. The other two shares are made up from the odd pints the jugs can produce, 2 and 2 for X and 1 and 3 for Z.
Eleven cannot be beaten. The position space is small, and a breadth-first search over it shows that no sequence of ten or fewer manipulations leaves every man with four pints. Dudeney is right.
Answer 11 manipulations
The Doctor’s Query
The crux is that the bottles end as they began, ten ounces each. So whatever spirits are now missing from the spirits bottle have been replaced by exactly the same volume of water. The water bottle is short of water by exactly the same amount as it holds of spirits. The two bottles are mirror images.
The water bottle’s mixture was forty parts water to one of spirits after the first pouring, and pouring some of it away does not change its proportion. By the mirror argument the spirits bottle now holds forty parts spirits to one of water. In figures: the quarter-ounce poured back holds oz of spirits and oz of water, so the spirits bottle holds oz of spirits against oz of water, which is 40 to 1. Dudeney agrees.
Answer 40 parts spirits to 1 of water
The Barrel Puzzle
Tilt the barrel on the edge of its base until the water just reaches the lip of the open top.
If at that moment the water surface also just reaches the edge of the base on the opposite side, the barrel is exactly half full. If the water covers the whole base with some to spare, it is more than half full. If part of the base shows dry, it is less.
The crux is symmetry. The water surface is then a plane through a point of the rim and the diametrically opposite point of the base edge, and the midpoint of those two points is the centre of the barrel. A barrel is symmetric about its centre: turning every point through half a turn about that centre carries the barrel onto itself and carries each side of any plane through the centre onto the other side. So such a plane cuts the barrel into two halves of equal volume. The argument uses nothing about the barrel’s bulge, only that it looks the same from either end, which is Dudeney’s remark that the method works for any symmetrically made vessel. (The thickness of the base and its height above the ground, which he also mentions, only move the reference points a little.)
Answer tilt it until the water reaches the lip
New Measuring Puzzle
The second ten-quart vessel is what makes this easier than it looks:
the two big vessels act as reservoirs, so an odd quantity can be parked in one while the measures are refilled. Write a position as the quarts in the two ten-quart vessels, then the five-quart and the four-quart measure. Dudeney’s eleven pourings run The parked quantities are the 1 of step 2 and the 3 of step 7, each held in a tall vessel while the other measure is refilled. The last move is the neat one: the five-quart measure, full, tops up the second vessel, which lacks exactly two quarts, and is left holding three.
A breadth-first search over every position shows that no sequence of ten or fewer pourings puts three quarts in each measure, so eleven is the least. Dudeney is right.
Answer 11 manipulations
The Honest Dairyman
Let B start with of milk and A with of water.
The crux is to follow the two liquids separately.
First A gives B an amount . Now B holds milk and water, half and half, and A holds water.
Then B gives A an amount of its half-and-half mixture, which is of milk and of water. A now holds milk and water.
The last step only pours some of A away, which leaves its proportions alone.
So London gets three parts water to one of milk, whatever the starting amounts. Dudeney agrees.
He also states when the operations can be carried out: must exceed , or A has nothing left to double, and must be at most , or B has too little to double A. His conditions miss a third one. After the second step A holds and B holds . To pour from A into B until they are equal, A must hold at least as much as B: , which is . So the three operations are possible exactly when With three pints of milk and four of water, for instance, the first two steps leave A with 2 pints and B with 5, and the final pour cannot be made. At the cans are already equal and the last pour is a pour of nothing. The answer three to one is safe; Dudeney’s range of starting amounts is too generous.
Answer 3 parts water to 1 of milk
Wine and Water
This is plain bookkeeping, and the only trap is adding fractions of different glasses as if they were fractions of the same thing. Take the small glass to hold 1 unit and the large glass 2. The small glass has unit of wine and the large one . The tumbler receives 3 units in all, of which is wine. So the wine is of the mixture and the water . Dudeney agrees.
Answer wine, water
The Keg of Wine
The crux is that each draw removes the same fraction of whatever wine is in the keg. A jug of gallons takes of the contents, so after each draw and refill the keg keeps of its wine. After two draws it keeps of the original ten gallons, and this must be one half: The negative square root would give a jug larger than the keg. Dudeney’s 2.93 gallons is this value rounded; the exact capacity is irrational, so no decimal ends it.
Answer gallons
Mixing the Tea
In pence, the teas cost 30, 27 and 21 a pound, and twenty pounds at d. cost 570d. With , and pounds of the three, Take away 21 times the first equation from the second: , or . The crux is that this forces to be even and makes . Then . The condition gives , and gives . So the possible mixes are The first uses no Indian tea at all, and the grocer said to mix all three. Among the other three, the least of the best tea is 12 pounds: 12 lb at 2s. 6d., 7 lb at 2s. 3d. and 1 lb at 1s. 9d. Dudeney gives the same three mixes and chooses the same one. It is worth noticing that the two-tea mix of ten and ten would use even less of the best tea, and only the grocer’s word “three” rules it out.
Answer 12 lb, 7 lb and 1 lb
A Packing Puzzle
Dudeney’s packing uses layers in which the balls sit as closely as they can, each layer resting in the hollows of the one below. Stand the box so that the 14-inch depth runs along the rows and the -inch length runs through the layers.
In one layer. A row of touching balls two inches across fits seven to fourteen inches. The next row sits in the dips between them and holds six, offset by one inch. Neighbouring rows are inches apart, since the centres of two touching balls in one row and the ball resting on them make an equilateral triangle of side 2. Thirteen rows need inches, just inside the available, so the first layer takes seven rows of 7 and six rows of 6, which is 85 balls.
The next layer. Each ball of the second layer rests in a hollow formed by three balls of the first. Its rows are shifted by across, and they alternate 6 and 7 in the other order. Only twelve rows fit this time, since a thirteenth would need inches, so the second layer holds .
Between layers. A ball resting in a hollow sits inches above the layer below, which is the height of a regular tetrahedron of side 2. Fifteen layers need inches, just inside . Alternating 85 and 78, eight layers of 85 and seven of 78 give Every one of Dudeney’s measurements has been chosen to clear these three limits by less than a tenth of an inch. The crux is that close packing gains a whole row across the width and three extra layers along the length over the plain square stacking, which gives only .
Whether 1226 is truly the greatest is another matter, and Dudeney does not prove it. A program tries this kind of packing in all six ways of standing the box and with every way of stacking the layers, and none beats 1226.
But packings that do not line up with the walls are not covered by that search. The only general ceiling we know how to prove comes from the Kepler conjecture, proved by Thomas Hales in 2005 (Annals of Mathematics 162), which says no packing of equal balls fills more than of space. Reflecting the box in its own walls again and again turns any packing of the box into a packing of all space with the same density, so the box can hold at most balls. So 1226 is the best packing of the natural kind, and the true maximum lies somewhere from 1226 to 1405. Nothing here proves that Dudeney’s number is the greatest.
Answer 1226 by Dudeney’s packing (maximum unproved)
Gold Packing in Russia
Dudeney’s box is 100 inches square and 11 deep. Lay slabs flat, 12½ inches along one side and 11 along the other: eight end to end make 100 inches, and nine such rows make 99. Seventy-two slabs cover the floor except for a strip 100 inches long and 1 inch wide. Eleven layers of 72 fill the box to its depth, 792 slabs, and leave a slot 100 inches long, 1 inch wide and 11 deep, which takes the remaining eight slabs standing on edge, end to end.
Dudeney does not say whether this box is the only one, and it is. The crux is to cut the box across. Any straight line through a full box, parallel to an edge, passes through slabs whose extents along it are 12½, 11 or 1 inches, so the side and the depth are multiples of half an inch; and the volume is cubic inches, so . Writing and in whole numbers, , so divides , and a side of at least 12½ inches leaves , 20, 25, 50 or 100.
Now cut the box horizontally at a height that misses every slab’s top and bottom. The flat slabs show as rectangles , and a slab on edge as a strip (on its long edge, 11 inches tall) or (on end, 12½ tall). At most twelve slabs stand on edge, so there are at most twelve strips, and the areas must add up to . For each side this fixes the numbers: a side of 20 needs 2 flat slabs and 10 strips in every section, 25 needs 4 and 6, 50 needs 18 and 2, and 100 needs 72 and 8; 12½ cannot be made up at all. For each side these are the only numbers that fit, so every section at every height shows the same number of strips, all from slabs on their long edge, each 11 inches tall. Stacked through the depth, they make slabs on edge. For 20 that is , and for 25 it is , both far over twelve.
That leaves 50, with 18 flat slabs and 2 strips in a section 50 inches square. A line across the section passes pieces whose widths, 12½, 11 or 1, add up to 50, with at most two 1s. The only way is , since is 47 and needs three strips, and every other mixture fails worse. So every piece is 12½ wide in that direction, which makes it 11 or 1 in the other, and a line the other way needs with , which is impossible. The section cannot be tiled. Only Dudeney’s box remains.
Answer 100 by 100 inches, 11 deep
The Barrels of Honey
Count in half-barrels of honey. Each son gets 7 barrels and 7 half-barrels of honey, so if he has full, half-full and empty barrels, Subtracting, , and then . So a son’s share is one of , , or , in full, half-full and empty. The four-of-a-kind rule removes the first two. Three shares from and must use exactly seven full barrels: that forces one and two , which also uses seven half-full and seven empty. So one son takes 3 full, 1 half-full and 3 empty, and each of the others 2 full, 3 half-full and 2 empty.
Without the four-of-a-kind rule there is exactly one more way, twice and , as Dudeney notes. Either way two brothers receive theirs alike.
Answer 3 full, 1 half, 3 empty to one son; 2, 3, 2 to each of the others
Crossing the Stream
The two boys are the key, since they are the only pair who can share the boat. Each parent has to cross alone, and each time someone must bring the boat back, which only a boy can usefully do. So: the boys cross and one returns; the father crosses and the other boy returns. That moves one parent in four crossings. Repeat for the mother: four more. Now both boys are on the near side with the dog; they cross together, one comes back, and he brings the dog, which weighs no more than a boy. That is eleven crossings.
A breadth-first search over every position confirms that eleven is the fewest, taking the dog as heavier than nothing and no heavier than a boy, and unable to row.
Answer Eleven crossings
Crossing the River Axe
Everything hangs on the rule that a man alone, on a bank or in the boat, may have beside him no more money than his own share, which keeps the large sacks away from Timothy and makes the shuttling long. A breadth-first search over every placing of the three men and three sacks, with the boat carrying two men or one man and a sack, finds that thirteen crossings are needed and suffice, as Dudeney says. There are fifty different shortest ways. Here is one, with G, J, T for the men and 8, 5, 3 for the sacks, showing what goes over or back on each crossing:
| 1 | J and 5 over | 8 | J and 5 back |
| 2 | J back | 9 | J and T over |
| 3 | G and 3 over | 10 | G back |
| 4 | G back | 11 | G and 3 over |
| 5 | J and T over | 12 | J back |
| 6 | T and 3 back | 13 | J and 5 over |
| 7 | G and 8 over |
At every moment each man who is alone somewhere, on a bank or in the boat, holds no more than his own share: Timothy, for instance, never sits alone with the £500 or £800 sack. Dudeney also points out that his route never leaves two men with more than their joint shares, which the puzzle did not require. Even with that stricter rule the fewest is thirteen, and eight of the fifty routes obey it.
Answer Thirteen crossings
Five Jealous Husbands
With no jealousy, ten people and a boat of three need nine crossings: each round trip lands a net two people, so four round trips bring eight over and a final crossing takes the last three. The jealousy costs two more. Dudeney’s eleven crossings, with the boat’s load on each:
| 1 | over | 7 | over |
| 2 | back | 8 | back |
| 3 | over | 9 | over |
| 4 | back | 10 | back |
| 5 | over | 11 | over |
| 6 | back |
A breadth-first search over every division of the ten people confirms that eleven is the fewest.
Dudeney’s warning about nine-crossing answers is worth taking seriously. The search agrees that nine are enough if a bank is inspected only after the boat has left it, so that a wife may land among other men provided she rows straight back. No jealous husband would accept that, and with every landing counted the answer is eleven. His further point, that two women rowing back together go faster than one, does not change the number of crossings.
Answer Eleven crossings
The Four Elopements
The island is essential. Without it, four couples cannot cross at all in a boat of two: a search of every position finds the far bank unreachable, whereas three couples can manage without an island in eleven crossings. With the island, the fewest is seventeen passages, as Dudeney says, against the twenty-four he reports French writers giving. The search counts every trip between any two of the three lands, checks the boat and every land after each landing, and on a trip straight across checks the boat’s party together with anyone on the island, since the boat might put in there.
Dudeney’s seventeen passages, with the boat’s load and where it goes:
| 1 | to shore | 10 | shore to island |
| 2 | back to lawn | 11 | island to shore |
| 3 | to island | 12 | shore to lawn |
| 4 | back to lawn | 13 | to shore |
| 5 | to shore | 14 | shore to island |
| 6 | back to lawn | 15 | island to shore |
| 7 | to island | 16 | back to lawn |
| 8 | back to lawn | 17 | to shore |
| 9 | to shore |
In it the girls do most of the rowing, a man and a girl never share the boat, and no man ever sets foot on the island.
Answer Seventeen passages
Stealing the Castle Treasure
The treasure is the tool.
It may fall as fast as it likes, so it can always be sent down alone, and at 75 lb it is exactly 15 lb lighter than the boy, so the boy can ride down against it. The weights that can balance within 15 lb are few: the boy against the treasure (90 and 75), the youth against the boy (105 and 90), and the man against the youth and the treasure together (195 and 180). Every move of a person uses one of these three.
Dudeney’s eleven manipulations:
| 1 | treasure down |
| 2 | boy down, treasure up |
| 3 | youth down, boy up |
| 4 | treasure down |
| 5 | man down, youth and treasure up |
| 6 | treasure down |
| 7 | boy down, treasure up |
| 8 | treasure down |
| 9 | youth down, boy up |
| 10 | boy down, treasure up |
| 11 | treasure down |
A breadth-first search confirms that eleven is the fewest and finds eight shortest sequences, of which this is one. The answer is remarkably robust: it stays at eleven whether or not the treasure may share a basket with two people, and whether or not the 15 lb limit also applies to a person going up.
Answer Eleven manipulations