You are the ruler of a great empire and you have decided to throw another celebration tomorrow. However, apparently you were forgetful of the near disaster that happened in the last celebration, and decide to hatch your own plan with poison. For during this celebration, one of your most hated rivals will come, thinking that you have finally given up your fight and you held this celebration in part to surrender to your rival's superiority. You decide to pour some drops of that same deadly poison (that have no symptoms except death 10 to 20 hours later) into his glass; however, you do not want to look guilty, so to push the blame away you will insert some poison in your own drink that will make you sick after 10 to 20 hours with some worrisome but definitely non-lethal symptoms.
You have already inserted the deadly poison in one glass and your non-lethal poison in another glass out of the glasses, but because of your forgetfulness you forgot which glasses had the poisons! Certainly, you don't want another one of your beloved guests to drink a poisoned glass, or even worse, giving yourself the lethally poisoned glass.
Fortunately, you still have your supply of death-row prisoners who you are sure won't mind lending a helping hand by taste-testing the glasses. What is the least amount of prisoners needed to guarantee successful location of the lethally and non-lethally poisoned glasses?
Note: if the lethal poison acts before the non-lethal poison, the prisoner will die without any symptoms.
inspired from this problem but with more glasses.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Here is the solution for 1458 glasses:
It is clear that with 2 prisoners you can reduce the problem to the half number of glasses (for more details see the proof of this problem 1 ). By the same way, 3 prisoners reduce the problem to the third of the number of glasses. Now, just use 2 prisoners 1 time, and use 3 prisoners 6 times. So, for a total of 2 0 prisoners you locate the lethal and non-lethal glasses.
Note: this is not the smallest number of prisoners needed. see this problem 2