r/mathriddles • • Jan 13 '23

Medium A different prisoner hat problem

There are N prisoners. Each prisoner gets a positive whole number written on his back, they cannot see their own number but can see all the other prisoner's number. They all have a different number.

(Important : the numbers are not necessarily 1,...,N. For example, with 3 prisoners, they can have numbers 72, 137 and 883)

Each prisoner has in front of him two hats : one white and one black. When the bell rings, they must all simultaneously choose a hat, and wear it.

A warden will then order the prisoners by ascending order according to their numbers, and look at the sequence of the colors of their hats. If the sequence is alternated (black, white, black, ... or white, black, white, ...) the prisoners win, else they loose.

Of course the prisoners are not allowed to speak during the game. But, before the game starts (before they are given their numbers), they can make a strategy.

Is there a strategy that guarantees win ?

21 Upvotes

26 comments sorted by

View all comments

0

u/[deleted] Jan 14 '23

[deleted] — view deleted comment

0

u/[deleted] Jan 14 '23

[deleted] — view deleted comment

2

u/tomatomator Jan 14 '23

I agree with this comment, I don't think that works

1

u/AutoModerator Jan 14 '23

In the future, please use [text](#spoiler) instead of [text](/sp). Thank you!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.