Member-only story

Logic Puzzle

Can You Solve This Viral Prisoner Hat Puzzle? 🔴🔵

All four prisoners will be freed if at least one of them correctly guesses the color of the hat on his head. The question is, how?

BL
Intuition
Published in
3 min readJan 31, 2024

--

I LOVE logic puzzles. If you want to improve your logic skills, try out this interesting challenge!

There are four prisoners. All four prisoners will be freed, if at least one of them correctly guesses the color of the hat on his head.

They can’t speak to each other, and they can’t touch each other.

  • Number 1 sees number 2 and 3’s hats.
  • Number 2 sees number 3’s hat.
  • Number 3 sees only the wall.
  • Number 4 sees only the wall.

There are no mirrors.

They all know that there are 2 red hats🔴 and 2 blue hats🔵, and that there are four people.

All the prisoners are perfect logicians, and won’t speak unless they are sure of their hat color.

Can the four prisoners be freed? If yes, then how?

I recommend you to pause the article, grab your pen and paper, and give this a go. When you are ready, keep reading for the solution! ✒️

--

--

BL
BL

Written by BL

鳳凰🐦‍🔥 | On a hiatus for self growth

Responses (33)