You have a scale with two pans and four weights:
$$ 1,\ 3,\ 9,\ 27\ \text{kg}. $$
You can put weights on either side.
How many different whole weights between 1 and 40 kg can you measure exactly?
Home > Riddles > The scales of Babel
You have a scale with two pans and four weights:
$$ 1,\ 3,\ 9,\ 27\ \text{kg}. $$
You can put weights on either side.
How many different whole weights between 1 and 40 kg can you measure exactly?
Back to problem
Answer: all integers from 1 to 40 (40 values) can be measured.
With weights on both plates, each weight can provide:
With $w\in\{1,3,9,27\}$ this is equivalent to representing the desired weight in balanced base 3 with digits $-1,0,+1$.
The absolute maximum representable is:
$$ 1+3+9+27=40. $$
And balanced base 3 guarantees coverage of all integers between $-40$ and $40$. In particular, all positive weights from 1 to 40.
Example:
$$ 20 = 27-9+3-1. $$
If you enjoyed this one, try more pure-logic riddles, explore this theme, browse the full archive, or read the riddle-solving guide.