Solution: What Color Hat? Math Puzzle
To solve the puzzle, the boys need logic, teamwork, and trust.
If the boy at the back (Boy 3) could see two hats the same color, he could be sure that his hat was the other color, one of these two scenarios:
Lucy
|
Boy 1
|
Boy 2
|
Boy 3
|
Red
|
Blue
|
Blue
|
Red
|
Blue
|
Red
|
Red
|
Blue
|
If the boy at the back said nothing, the boy in the middle (Boy 2) would know that his hat was a different color from the boy at the front; that is, one of these four scenarios:
Lucy
|
Boy 1
|
Boy 2
|
Boy 3
|
Red
|
Blue
|
Red
|
Blue
|
Blue
|
Red
|
Blue
|
Red
|
Blue
|
Blue
|
Red
|
Red
|
Red
|
Red
|
Blue
|
Blue
|
So, Boy 2 waits for a moment, then, if Boy 3 remains silent, calls out the opposite color of the hat on the head of Boy 1.