Riddle of Logic: Death by Firing Squad

Click For Summary
SUMMARY

The riddle involves four prisoners lined up facing north, each wearing a hat—two black and two white. The first prisoner sees no hats, the second sees one white and one black, the third sees one black and one white, and the last prisoner, behind a wall, cannot see any hats. The key to solving the riddle lies in the last prisoner deducing his hat color based on the visible hats of the others and the knowledge that there are two of each color. The conclusion is that the last prisoner can confidently state his hat color, which is black, based on the reasoning that he sees a white hat in front of him and knows the distribution of hats.

PREREQUISITES
  • Understanding of logical deduction and reasoning
  • Familiarity with basic principles of probability
  • Knowledge of riddle-solving techniques
  • Ability to visualize spatial arrangements and perspectives
NEXT STEPS
  • Explore advanced logical puzzles and their solutions
  • Study the principles of game theory as they relate to decision-making
  • Learn about the psychology of reasoning under pressure
  • Investigate similar riddles involving conditional reasoning and deduction
USEFUL FOR

This discussion is beneficial for puzzle enthusiasts, educators teaching logic and reasoning, and anyone interested in enhancing their critical thinking skills through engaging challenges.

z3hr
Messages
11
Reaction score
0
This is a cool riddle of logic that I heard recently. It is supposed to be drawn out so I'll try to describe it as best as I can.

Four prisoners of war are sentenced to death by firing squad. They line them up from north to south, all of them facing north (so that they are in line facing the person in front of them, Directions are unimportant North South etc..) Each of them is wearing a hat, they are told that there are two black hats and two white hats. If ONE of them can say for sure what color hat they are wearing, they are all set free. The person in front, who cannot see the hat colors of any of his comrades, is wearing a white hat. The man behind him is wearing a black hat, and the man behind him is wearing a white hat. The last man is behind a wall wearing a black hat so he cannot see the hat colors of the men in front of him. All of them are aware of their physical positions; for example, the man in the front knows that there are two men behind him, and another behind a wall etc... The only thing they don't know is their own hat color and the hat colors of those behind them. It looks like this:

Black | White Black White

They can only see the hat colors of the people in --> direction from them, with the exception of the last man behind the wall.

They have exactly ten minutes before they are executed. Which one of them would be able to know their hat color and why?
 
Physics news on Phys.org
It is simple:
The second one will know it for sure, his hat is not the same color of the first, cause if it was the same color, the third one would know for sure his hat color. So he just have wait for a moment, and if the third one stays silent, he will know his hat color (different from the first one).
 
I like it! I'm kicking myself for not working it out though (I gave up and looked at Caracrist's spoiler).
 
z3hr said:
This is a cool riddle of logic that I heard recently. It is supposed to be drawn out so I'll try to describe it as best as I can.

Four prisoners of war are sentenced to death by firing squad. They line them up from north to south, all of them facing north (so that they are in line facing the person in front of them, Directions are unimportant North South etc..) Each of them is wearing a hat, they are told that there are two black hats and two white hats. If ONE of them can say for sure what color hat they are wearing, they are all set free. The person in front, who cannot see the hat colors of any of his comrades, is wearing a white hat. The man behind him is wearing a black hat, and the man behind him is wearing a white hat. The last man is behind a wall wearing a black hat so he cannot see the hat colors of the men in front of him. All of them are aware of their physical positions; for example, the man in the front knows that there are two men behind him, and another behind a wall etc... The only thing they don't know is their own hat color and the hat colors of those behind them. It looks like this:

Black | White Black White

They can only see the hat colors of the people in --> direction from them, with the exception of the last man behind the wall.

They have exactly ten minutes before they are executed. Which one of them would be able to know their hat color and why?

The last black knows the colour . i think he looks his shadow in the wall .we all know that shadow will be black but he think his hat is black.
 
The last black knows the colour . i think he looks his shadow in the wall .we all know that shadow will be black but he think his hat is black.
 
Last edited by a moderator:
drizzle said:
it’s almost like https://www.physicsforums.com/showthread.php?t=331079". the only difference is, in my riddle the lame emperor would set free the one who can tell his hat color alone, poor others

Actually, that's a key distinction. If the only way to be set free is to guess the color of your own hat and each prisoner gets an opportunity to guess their own hat color, then there's no benefit to delaying a guess unless someone else's prior guess would help you. If only one prisoner is going to be set free no matter what, then there's definitely no reason for anyone to delay.

The first two will reveal no new info to the 3rd that he doesn't already know and the 4th's guess reveals no info at all. The 3rd doesn't benefit from delaying, even if he doesn't know the color of his own hat.

Prisoners 1, 2, and 4 always benefit from letting the 3rd guess first, even if the 3rd is selfish and willing to guess wrong when he doesn't know. In fact, letting a selfish #3 guess first gives everyone a 67% chance of surviving.

If only one prisoner is going to be set free no matter what, then there's definitely no reason for anyone to delay. In that case, there's about a 54% chance that one of the four prisoners will survive.

I went ahead and put this in a spoiler tag, since it actually gives a really big hint as to the solution of the teaser in the op
 
Last edited by a moderator:

Similar threads

Replies
35
Views
8K
  • · Replies 10 ·
Replies
10
Views
4K
  • · Replies 14 ·
Replies
14
Views
7K
  • · Replies 32 ·
2
Replies
32
Views
27K
  • · Replies 15 ·
Replies
15
Views
5K
  • · Replies 8 ·
Replies
8
Views
5K
  • · Replies 1 ·
Replies
1
Views
4K
Replies
15
Views
5K
  • · Replies 161 ·
6
Replies
161
Views
14K
  • · Replies 25 ·
Replies
25
Views
7K