Problem #WSP-000340

Problems Discrete Mathematics Set theory and logic Mathematical logic Puzzles

Problem

King Hattius has three prisoners and gives them the following puzzle. He will put a randomly coloured hat on each of their heads: red, blue or green. He’ll then give them \(10\) seconds for them to each guess their own hat’s colour at the same time.

However! Each prisoner can only see the other two prisoners’ hats, not their own. There are no mirrors in the prison, and they are not allowed to take off their hat, nor talk, mouth, use sign-language, or otherwise communicate with the other two prisoners during those ten seconds.

Hattius tells them that he’ll release them all if at least one correctly guesses their hat’s colour. He gives them an hour to come up with a strategy - what should their strategy be?