Jump to content
BrainDen.com - Brain Teasers
  • 0

A merciless emperor


ujjagrawal
 Share

Question

There's a merciless emperor who has 500 bottles of very expensive wine in his cellar.

An assassin infiltrates the wine cellar to poison the wine. Fortunately the emperor’s guards catch the plotter after she has poisoned only one bottle. Unfortunately, the guards don’t know which one of the bottles is poisoned.

The poison exhibits no symptoms until death. Death occurs within ten to twenty hours after consuming even the minutest amount of poison.

The emperor decides he will get some of the prisoners in his dungeons to test the wine as he has handful of them about to be executed.

What is the smallest number of prisoners that must have to drink from the bottles to be absolutely sure to find the poisoned bottle within 24 hours?

Link to comment
Share on other sites

12 answers to this question

Recommended Posts

  • 0

I'm thinking the search can be partitioned in a hierarchical binary fashion.

Since 1000 is almost, but less than, 210, I'll throw 10 out as a first guess.

Now to formalize it.

Edit:

Number the wines in binary. Ten bits are sufficient.

Assign each of ten prisoners a bit, sipping the bottles that have a 1 in that place.

The ones who die spell out in binary the number of the poisoned bottle.

Link to comment
Share on other sites

  • 0

You'd have to make sure you waited 20 hours to see the results (as if you waited 10 hours and it was a 20 hour dose of poison, you cannot be completely sure). And to test all the 500 bottles within 24 hours, you would need 499 people. Then, if they all survived, you'd know the leftover bottle is poisoned.

Link to comment
Share on other sites

  • 0

The emperor would only need nine prisoners.

First each one if given one bottle to taste

Then each prisoner is pair up a number of times and each pair is given a bottle to try. (1&2 1&3 1&4 1&5 1&6 1&7 1&8 1&9 2&3 2&4...)

Then the prisoners are group in three's, four's five's six's, seven's, eight's and even nine's(ie they all try one bottle)

Then we wait 20 hours and see who dies.

If only three prisoners die then we know its form one of the bottle tried when the prisoners were group in three's and based on who die the poisoned wine can be

ID.

(of cause there could have been 512 bottles to try.)

Link to comment
Share on other sites

  • 0

The emperor would only need nine prisoners.

First each one if given one bottle to taste

Then each prisoner is pair up a number of times and each pair is given a bottle to try. (1&2 1&3 1&4 1&5 1&6 1&7 1&8 1&9 2&3 2&4...)

Then the prisoners are group in three's, four's five's six's, seven's, eight's and even nine's(ie they all try one bottle)

Then we wait 20 hours and see who dies.

If only three prisoners die then we know its form one of the bottle tried when the prisoners were group in three's and based on who die the poisoned wine can be

ID.

(of cause there could have been 512 bottles to try.)

Here's a simpler way of saying what he said. 9 slaves, if all 9 are in one group, that's 1 possibility.

Therefore one bottle tested.

For all 9, that's 1 bottle.

9 choose 8 = 9

9 choose 7 = 36

9 choose 6 = 84

9 choose 5 = 126

9 choose 4 = 126

9 choose 3 = 84

9 choose 2 = 36

9 choose 1 = 9

That's 510 possibilties.

511 total possibilities if you consider that all 9 could avoid drinking one bottle.

Edited by TheChad08
Link to comment
Share on other sites

  • 0

Here's a simpler way of saying what he said. 9 slaves, if all 9 are in one group, that's 1 possibility.

Therefore one bottle tested.

For all 9, that's 1 bottle.

9 choose 8 = 9

9 choose 7 = 36

9 choose 6 = 84

9 choose 5 = 126

9 choose 4 = 126

9 choose 3 = 84

9 choose 2 = 36

9 choose 1 = 9

That's 510 possibilties.

511 total possibilities if you consider that all 9 could avoid drinking one bottle.

I think you missed one, 511 bottles were tested, leaving one remaining one. So 512 bottle could have been tested.

Link to comment
Share on other sites

  • 0

with 15 bottles, you would need 4 prisoners.

prisoner 1 drinks from bottles 1,3,5,7,9,11,13,15

prisoner 2 drinks from bottles 2,3,6,7,10,11,14,15

prisoner 3 drinks from bottles 4,5,6,7,12,13,14,15

prisoner 4 drinks from bottles 8-15.

if prisoner 1 and 3 die, then we know bottle 5 is poisoned.

if prisoner 8 dies, then we know bottle 8 is poisoned.

and so on.

Link to comment
Share on other sites

  • 0

bonanova As a math teacher I considered your solution to be correct except for one minor detail. As far as I am concerned you are the one who solved the problem.

Not as far as I'm concerned.

He said 10 people, MikeD found a solution with 9.

The question is "What is the smallest number of prisoners that must have to drink from the bottles to be absolutely sure to find the poisoned bottle within 24 hours?"

The smallest number is 9, which is the correct answer.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...