Once in a country there were these two thieves who were notorious for their intelligence. After much effort the soldiers captured them and brought them before the king. Now in this country the punishment for theft was capital, but the king being impressed by their smartness wanted to give them a chance. The thieves were bound to separate pillars facing each other and two consecutive numbers between 1 and 100 were stuck to their foreheads. One of them will be asked whether he knows the number on his forehead. If he knows, he must say what number it is, otherwise he can pass and the turn goes to the other thief (this can go on indefinitely). If the answer given is wrong, both of them will be executed by hanging. If the answer is right both will be left free.
After a few turns one of them said the correct answer.
How was it possible.
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.
The logic goes like this: If thief A sees a 1 on his partner's forehead he can deduce a 2 on his own forehead. Game over. But if he sees a 2 he will have to pass. Now if B sees a 1 he can deduce a 2. But if he sees a 3 he will have to pass. Now A can deduce a 3. Applying this logic any number pairs can be deduced after sufficient number of turns.