Lethal and Non-lethal Poison

Logic Level 4

You are the ruler of a great empire and you have decided to throw another celebration in 24 hours. One of your most hated rivals will be there, and you decide to use some deadly poison that will definitely kill him in 10 to 20 hours. To reduce suspicion, you decide to also spike your drink with some non-lethal poison that will make you sick in 10 to 20 hours.

Out of 1250 glasses, you insert the deadly poison in one glass and your non-lethal poison in another glass. 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 won't mind lending a helping hand by taste-testing the glasses. What is the smallest number of prisoners needed to successfully locate both the lethally and non-lethally poisoned glasses?

Note: if the lethal poison acts before the non-lethal poison, then the prisoner will die without any symptoms.

20 21 18 strictly less than 18 strictly more than 21 19

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.

2 solutions

Gustavo Jambersi
Apr 7, 2017

There are 1250 glasses and we need to find 2 of them. If there were only one to discover, we could order them and translate their number to base 2. So we would need 11 people, each one represents one power if 2. So the fist glass (00000000001) only the person of the power 0 will drink. If there is a 1 on your power house you drink, if there is a 0, you don't. But if we use this logic for 2 glasses, no one could be just sick. For example: glass 00000000011 is poisoned but we do not know witch one is the non lethal one. But if we translate the glasses numbers to base 3, we manage to discover each glass is lethal and the one non lethal poisoned. So the biggest number on base 3 will be 1201022, so we need just 1 person for the power 729 and 6 for the others. To discover both glasses we need at least 13 people. So we need less than 18 to discover the lethal one, independently if we want to know the non lethal one or not .

Can you explain how taking base 3 makes a difference? Besides, can it be proved mathematically(or logically) that 13 is the minimum number or can the number of prisoners required still be reduced?

Mahir Jhaveri - 4 years ago
Milly Choochoo
Aug 20, 2017

Here's a solution using a technique outlined in the solution of a different problem here.

There are N = 1250 ! / ( 1250 2 ) ! = 1250 × 1249 N=1250!/(1250-2)!=1250\times 1249 possible arrangements of the two cups. Each prisoner test, regardless of how many cups they drink, has 3 3 possible outcomes. With the best testing procedure, k k tests will therefore probe 3 k 3^k possible arrangements. We must have 3 k N k log N log 3 3^k\geq N\implies k\geq \frac{\log N}{\log 3} . Since k k is an integer, we have that k 13 k\geq 13 .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...