pull down to refresh

With a little bit of delay, another classic puzzle today.
Four prisoners are lined up in a row. A wall separates the last prisoner from the first three, so that the fourth prisoner cannot see the others, and the first three prisoners can only see forward. The prisoners know that each of them is wearing either a black or white hat, and that there are two hats of each color.
The prisoners can only make one guess about the color of their own hats. If they guess correctly, they will all go free. If anyone guesses wrong, they will all remain in prison.
Starting from the back, each prisoner in turn (from fourth to first) is asked if they know the color of their hat. Only one of them says, "Yes." Which prisoner speaks, and what color is their hat?
Previous iteration: #756004 (several correct answers in the thread)
I remember this one from a while ago.
Two speaks and declares he’s wearing the opposite of what he sees in front?
reply
128 sats \ 0 replies \ @nym 7 Nov
Prisoner 2 speaks, because he knows his hat is the opposite color of Prisoner 1's hat?
reply
You're either incredibly early or incredibly late. Either way I'm too exhausted to think, or really read so my guess is yellow.
reply
I'm a bit confused. Is my descripction below accurate?
Prisoner 4 cannot see anyone
Prisoner 3 can see prisoners 2 and 1
Prisoner 2 can see Prisoner 1
Prisoner 1 cannot see anyone
The order in which they are asked is: 4, 3, 2, 1
reply
Yes, this description is accurate.
reply
  • If the configuration is BBWW or WWBB, then prisoner 3 answers, B or W, respectively.
  • If the configuration is WBWB or BWWB, then prisoner 2 answers W
  • If the configuration is WBBW or BWBW, then prisoner 2 answers B
Logic:
  • 4 will not answer because he has no info
  • If 3 sees two of the same color, he must have the opposite color
  • If the process gets to 2, then he knows that he and 1 have opposite colors.
reply
Nice puzzle, let me think on it. Of course, they can’t take there hats off and look, right? :)
reply
Nope, they can't.
Well, you are a sovereign individual, who am I to say if the prisoners are allowed to take off their hats in your imagination?~~
reply
Lovin’ it!! My imagination rules!!
reply