Ten results, no labels, and five weights to reconstruct.
Five boxes, ten weighings
Riddle statement
Five boxes have unknown weights.
Every possible pair was weighed exactly once. The note recording which two boxes produced each result was then lost, but these ten weights, in kilograms, were preserved:
20, 26, 32, 33, 39, 42, 45, 48, 54, and 61
Can you determine with certainty how much each box weighs?
Show solution
Solution
Answer: The boxes weigh 7, 13, 19, 26, and 35 kg.
Let their weights, from lightest to heaviest, be
The sum of the ten recorded weighings is
Each box appears in exactly four pairs. Therefore,
so the total weight of all five boxes is
The smallest result must come from the two lightest boxes:
The largest must come from the two heaviest:
This isolates the middle weight:
The second-smallest result must be \(a+c\):
so
Likewise, the second-largest result must be \(c+e\):
and therefore
Thus the five weights are
Checking every pair reproduces exactly the ten results in the puzzle.