Puzzle time - prisoners and hats
-
Three prisoners are told that at midnight, in the dark, each will be fitted with a red or blue hat according to a fair coin flip. The lights will then briefly be turned on, enabling each prisoner to see every other prisoner's hat color. Once the lights are on, however, the prisoners will have no opportunity to signal to one another or to communicate in any way.
Each prisoner will then be taken aside and given the option of trying to guess whether his or her own hat is red or blue, but he or she may choose to pass. All three prisoners will be freed if (1) at least one prisoner chooses to guess his or her hat color, and (2) every prisoner who chooses to guess guesses correctly.
The prisoners have a chance to devise a strategy before the game begins. Can they achieve a winning probability greater than 50%?
@jon-nyc said in Puzzle time - prisoners and hats:
The prisoners have a chance to devise a strategy before the game begins. Can they achieve a winning probability greater than 50%?
The crux of this problem is really the question of what type of prisoners they are. If they are highly educated political prisoners currently serving time for example in a Chinese prison due to their resistance to the measures being undertaken against democracy in Hong Kong, then yes, I would say that there is a better than 50% chance that they will be able to devise a strategy.
If they are the more typical type of prisoner serving time for robbing liquor stores or attempting to sell drugs to schoolchildren, then I would put their chances of coming up with a winning strategy at about 1%.
Of course, the point is moot, since the chances of the Chinese prison authorities giving them stupid hats on the basis of a coin flip are remote at best.
-
@jon-nyc said in Puzzle time - prisoners and hats:
Possibly, but I think there are a lot of puzzles of this type.
Such as these.
Give me some more time. I know there are many "color of your hat" puzzles, but I'm pretty sure I've also seen one involving probabilities in the past. Maybe not exactly that one.
-
I think I now remember where I saw the puzzle.
There's a mathematician who publishes such puzzles on a regular basis, Peter Winkler. He has a monthly column in the "Communications of the ACM", of which I'm a subscriber. I believe I saw that puzzle there. If I think about the puzzle more, I may remember parts of the solution, so I guess I better just keep my mouth shut.
-
I guess the set of rules would attempt to clump wrong guesses together while right guesses would tend to be alone. The rules would also want to ensure that at least one person guessed.
@Horace said in Puzzle time - prisoners and hats:
I guess the set of rules would attempt to clump wrong guesses together while right guesses would tend to be alone. The rules would also want to ensure that at least one person guessed.
So, is the answer that simple? Those who see two different colors would not vote. If the other two people are same, guess opposite? This will cause any configuration of colors other than all-same to be a win (one correct vote), while all-same would be a loss (3 wrong votes).
-
Yes that is the % of my proposed solution. I got there by figuring that each guess would be 50/50 so the rules would have to clump wrong guesses together and single out right ones. One such set of rules leaves 75% of color combinations yielding one right guess.
-
It gets interesting if you generalize the number of prisoners and/or the number of colors.