You have 1000 bottles of wine. One of them is poisoned. One drop from the poisoned bottle kills a rat in exactly 24 hours. You have 10 lab rats. How much time do you need at MINIMUM to positively identify the poisoned bottle?
Home > Riddles > The thousand poisoned bottles
The thousand poisoned bottles
Hints
Show hints
- Strategy (binary encoding): For each bottle n, write n in 10-bit binary.
- Example: If rats 0, 3, 4 and 9 die, the pattern is 1000011001_2, which corresponds to bottle 537.
- With 10 rats and a binary outcome (live/die), there are 2^ 10 =1024 possible patterns, enough to identify 1000 bottles.
Solution
Show full solution
Answer: 24 hours (single test cycle).
Strategy (binary coding):
With 10 rats and binary outcome (live/die), there are $2^{10}=1024$ possible patterns, enough to identify 1000 bottles.
- Number bottles from 0 to 999.
- Number rats from 0 to 9 (each rat represents one bit).
- For each bottle $n$, write $n$ in 10-bit binary.
- If bit $i$ is set to 1, that bottle is given to rat $i$.
After 24 hours, the set of dead rats forms exactly the binary number of the poisoned bottle.
Example:
If rats 0, 3, 4, and 9 die, the pattern is $1000011001_2$, which corresponds to bottle 537.
Conclusion: the bottle is identified in a single round.
Related riddles
Keep practicing
If you enjoyed this one, try more pure-logic riddles, explore this theme, browse the full archive, or read the riddle-solving guide.