Chests of logic 3: Difference between revisions

From Math Puzzle Wiki
Jump to navigation Jump to search
Oscarlevin (talk | contribs)
No edit summary
Oscarlevin (talk | contribs)
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 8: Line 8:


{{Hint| The guard will either answer yes, no, or not at all (if he does not know the right answer).  That's three possible responses to your question.}}
{{Hint| The guard will either answer yes, no, or not at all (if he does not know the right answer).  That's three possible responses to your question.}}
 
{{Solution| There are many possible solutions.  One of them is this: ask the guard, "If I were to think of either the number 1 or 2, would the number on the chest containing the key be greater than the number I am thinking of?"  Now if the key is in chest 1, then the guard will say "no," since 1 is not greater than either 1 or 2.  If the key is in chest 2, then the guard will not answer, since it is impossible for him to know whether you were thinking of the number 1 or 2.  If the key is in chest 3, then the guard will answer "yes," since 3 is greater than both 1 and 2.  In any case, you know which chest contains the key.}}
{{Solution| There are possible solutions.  One of them is this: ask the guard, "If I were to think of either the number 1 or 2, would the number on the chest containing the key be greater than the number I am thinking of?"  Now if the key is in chest 1, then the guard will say "no," since 1 is not greater than either 1 or 2.  If the key is in chest 2, then the guard will not answer, since it is impossible for him to know whether you were thinking of the number 1 or 2.  If the key is in chest 3, then the guard will answer "yes," since 3 is greater than both 1 and 2.  In any case, you know which chest contains the key.}}


==See also==
==See also==


[[Two guards]]
*[[Chests of logic]]
[[Three princesses]]
*[[Chests of logic 4]]
*[[Two guards]]
*[[Three princesses]]


==References==
==References==

Current revision as of 18:19, 14 July 2013

Another puzzle inspired by Richard Wiseman's Blog.

Puzzle

You awake in a locked dungeon containing three chests, numbered 1, 2, and 3. The guard tells you that he has placed the key to the dungeon on one of the three chests, but in the other two, there are thousands of poisonous scorpions, all very hungry for prisoners. The guard says he will allow you one yes/no question, which he will answer truthfully. What should you ask him in order to locate the chest containing the key?

Help

Hint
The guard will either answer yes, no, or not at all (if he does not know the right answer). That's three possible responses to your question.
Solution
There are many possible solutions. One of them is this: ask the guard, "If I were to think of either the number 1 or 2, would the number on the chest containing the key be greater than the number I am thinking of?" Now if the key is in chest 1, then the guard will say "no," since 1 is not greater than either 1 or 2. If the key is in chest 2, then the guard will not answer, since it is impossible for him to know whether you were thinking of the number 1 or 2. If the key is in chest 3, then the guard will answer "yes," since 3 is greater than both 1 and 2. In any case, you know which chest contains the key.

See also

References

Friday puzzle on Richard Wiseman's Blog