Home > Riddles > The thousand poisoned bottles

The thousand poisoned bottles

Chance and uncertaintyLevel 5 · Expert · ●●●●●

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?

Hints

Show hints
  1. Strategy (binary encoding): For each bottle n, write n in 10-bit binary.
  2. Example: If rats 0, 3, 4 and 9 die, the pattern is 1000011001_2, which corresponds to bottle 537.
  3. 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).
Thousand bottles: binary encoding (example with 537)
Strategy (binary coding):
With 10 rats and binary outcome (live/die), there are $2^{10}=1024$ possible patterns, enough to identify 1000 bottles.

  1. Number bottles from 0 to 999.
  2. Number rats from 0 to 9 (each rat represents one bit).
  3. For each bottle $n$, write $n$ in 10-bit binary.
  4. 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.

Next: The hundred numbered boxes →