This is a twist on a classic puzzle. N prisoners are going to play a game and if they win, they will all be released. They are allowed to develop a team strategy before the game starts, but once it starts, they can't communicate in any way. As each prisoner enters a room, they will be given a hat with a random whole number on it that can be anything from 0 to N-1. For example, if 5 prisoners are playing, they can have any combination of numbers from 0 to 4. It would be possible that all of them would have the same number.
Once all the prisoners are in the room, they all can look at the numbers on all the other prisoners' hats, but they have no way to know the number on their own hat. After looking at the hats, they are then allowed to consider a guess at what number may be on their own hat. But at some point in time, they must simultaneously guess and to win the game, they must all be right.
What is the optimal strategy to maximize their chances to win? And given that they play optimally, what are the chances they will win, expressed as a function of N?
Question
Guest
This is a twist on a classic puzzle. N prisoners are going to play a game and if they win, they will all be released. They are allowed to develop a team strategy before the game starts, but once it starts, they can't communicate in any way. As each prisoner enters a room, they will be given a hat with a random whole number on it that can be anything from 0 to N-1. For example, if 5 prisoners are playing, they can have any combination of numbers from 0 to 4. It would be possible that all of them would have the same number.
Once all the prisoners are in the room, they all can look at the numbers on all the other prisoners' hats, but they have no way to know the number on their own hat. After looking at the hats, they are then allowed to consider a guess at what number may be on their own hat. But at some point in time, they must simultaneously guess and to win the game, they must all be right.
What is the optimal strategy to maximize their chances to win? And given that they play optimally, what are the chances they will win, expressed as a function of N?
Link to comment
Share on other sites
25 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.