Prisoner Hat Riddle Solution
Prisoner three sees an even number of black hats so he knows that his must be one of the black hats the first two prisoners saw.
Prisoner hat riddle solution. If B wears a black hat as well C can immediately tell that he is wearing a white hat after looking at the two black hats in front of him. The solution Assuming that A wears a black hat. But she only sees one so she deduces that her hat.
Contribute to PatchesMapsprisoner_hat development by creating an account on GitHub. Alex Gendler gives a logical solution to the enigmatic prisoner hat riddleThe prisoners in the story are each randomly assigned a black or white hat and are forced to stand in a row only able to see the prisoners in front of them. In common with many puzzles of this type the solution relies on the assumption that all participants are totally rational and are intelligent enough to make the appropriate deductions.
The warden who happens to be overseeing the work decides to play a little game with the prisoners. Starting with the person in the back each person must say a single word. 4 prisoners wearing black and white hats.
Prisoner 2 is the right person for freedom. There is a wall between prisoners C and D which cannot be seen through or. 3odd so he will say white For next prisoner.
Easy Case as P1 can see both P2 and P3 he can easily guess he is wearing the opposite color hat. The key is that the person at the back of the line who can see everyone elses hats can use the words black or white to communicate some coded information. He then proceeds to bury each prisoner up to his neck in sand as shown.
3 To sum up the 1st prisoners ignorance rules out permutation 1. An explanation solution to the prisoner box riddle. 3odd as the previous prisoner said white so it is black hat on his head.