The setup
A teacher shows three friends a bag containing three white hats and two black hats. The friends close their eyes; the teacher puts a hat on each of them - in fact, a white hat on all three - and hides the rest. Each friend can see the others' hats but not their own. The teacher asks: 'If you know the colour of your hat, say so.'
Nobody speaks. A minute passes. Nobody speaks. Then, at nearly the same moment, all three say: 'Mine is white.' Each of them was right. The interesting question is not the answer - it is what the silence told them.
Silence is information
Follow one friend's reasoning. Suppose she saw two black hats. She would know at once that hers must be white, since only two black hats exist. She sees no such thing - and crucially, neither does anyone else, because nobody spoke immediately. That first silence rules out the two-black world entirely.
So consider the next possibility: she sees one black hat and one white. She reasons: 'If my hat were also black, then the friend in white would be looking at two black hats and would have known instantly. He did not speak - so my hat cannot be black; it must be white.' She would speak after the first round of silence. But nobody does. That second silence rules out the one-black world too. Only one possibility remains: everyone is looking at two white hats - so her own is white as well.
Try it yourself
Play it with three people, real hats or cards held to foreheads: use three red cards and two black cards from a deck, deal reds to everyone, and agree that nobody may speak until they can prove their colour. Time the silences - you will feel each round eliminate a world.
Then read about the muddy children puzzle, this puzzle's famous cousin, where a whole class of children reasons in exactly the same ladder of silences. It is one of the clearest windows into how groups can know things that no individual could know alone.

