OpenGL guy
Veteran
My niece asked me this one earlier and my response was that there is no solution... tell me what you think.
There are three students and five hats (two are red and three are blue). A teacher has the students closer their eyes while she hides two of the hats and places the remaining hats on the students' heads. A student may open their eyes and choose to guess what color hat is on their head (wrong answers are punished with extra homework, so you won't guess unless you can be sure).
Student 1 opens his eyes and passes.
Student 2 opens her eyes and passes.
Student 3 correctly guesses the color of her hat without opening her eyes.
What color was the third student's hat and how did they deduce it?
My thoughts...
There are three possibilities for the three remaining hats on the student's heads:
1) 3 blue hats
2) 2 blue and 1 red hat
3) 1 blue and 2 red hats
Now, if case 1, I submit that no student could have guessed the color of their own hat. The reason being that they would open their eyes and see two blue hats... no way to know if their hat is blue or red.
In case 2, again, I submit that no student could have guessed the color of their hat. The reason being that they would see either two blue hats or one red and one blue. No way to determine what color their own hat was.
In case 3, any student that sees two red hats would know they had a blue hat (since all red hats would be visible). If student 1 saw two red hats, they would have said blue, but they passed so they must have seen one of each color. Ditto for student 2. Thus student three could have guessed blue if they opened their eyes.
I see no way to eliminate cases 1 and 2. So my take is that the problem is flawed, or my niece didn't relate the problem well (it was over the phone).
Other ideas?
There are three students and five hats (two are red and three are blue). A teacher has the students closer their eyes while she hides two of the hats and places the remaining hats on the students' heads. A student may open their eyes and choose to guess what color hat is on their head (wrong answers are punished with extra homework, so you won't guess unless you can be sure).
Student 1 opens his eyes and passes.
Student 2 opens her eyes and passes.
Student 3 correctly guesses the color of her hat without opening her eyes.
What color was the third student's hat and how did they deduce it?
My thoughts...
There are three possibilities for the three remaining hats on the student's heads:
1) 3 blue hats
2) 2 blue and 1 red hat
3) 1 blue and 2 red hats
Now, if case 1, I submit that no student could have guessed the color of their own hat. The reason being that they would open their eyes and see two blue hats... no way to know if their hat is blue or red.
In case 2, again, I submit that no student could have guessed the color of their hat. The reason being that they would see either two blue hats or one red and one blue. No way to determine what color their own hat was.
In case 3, any student that sees two red hats would know they had a blue hat (since all red hats would be visible). If student 1 saw two red hats, they would have said blue, but they passed so they must have seen one of each color. Ditto for student 2. Thus student three could have guessed blue if they opened their eyes.
I see no way to eliminate cases 1 and 2. So my take is that the problem is flawed, or my niece didn't relate the problem well (it was over the phone).
Other ideas?