🌴
🌴
Gallery

The Blue-Eyed Islanders

A Paradox of Common Knowledge

The Puzzle

This legendary logic puzzle reveals the surprising power of common knowledge—not just what you know, but what you know that others know that you know...

The Setup:

  • An island has 100 perfect logicians
  • Some have blue eyes, some have brown eyes
  • Everyone can see everyone else's eye color, but no one knows their own
  • There are no mirrors, no reflections, and they never discuss eye color
  • The Rule: If you ever know your own eye color, you must leave the island at midnight

The Event:

A visitor arrives and announces to everyone: "At least one of you has blue eyes."

The visitor then leaves. What happens?

If there are N blue-eyed people, they ALL leave on night N.

Interactive Simulation

Set the number of blue-eyed islanders and watch the logic unfold:

Day: 0
📢 "At least one of you has blue eyes!"
Click "Start Simulation" to begin

Why Does This Work?

The key insight is understanding the difference between individual knowledge and common knowledge.

Case: 1 Blue-Eyed Person

Alice is the only one with blue eyes. She sees 0 blue eyes. When the visitor says "at least one has blue eyes," Alice immediately knows it must be her. She leaves on Night 1.

Case: 2 Blue-Eyed People

Alice and Bob both have blue eyes. Alice sees 1 blue eye (Bob's). She thinks: "If I don't have blue eyes, Bob will leave Night 1." Bob reasons the same about Alice. When neither leaves Night 1, both realize: "I must have blue eyes too!" Both leave on Night 2.

Case: 3 Blue-Eyed People

Alice, Bob, and Carol all have blue eyes. Each sees 2 blue eyes. Alice thinks: "If I don't have blue eyes, Bob and Carol will leave Night 2." When they don't, Alice (and Bob and Carol, by identical reasoning) realizes she has blue eyes. All three leave on Night 3.

General Case: N Blue-Eyed People

By induction, if there are N blue-eyed people, they all leave on Night N.

But Wait—The Paradox!

Here's what makes this truly paradoxical:

The Announcement Seems Useless!

If there are 100 blue-eyed people, everyone can already see that at least one person has blue eyes. The visitor's announcement tells them nothing new... or does it?

Before the announcement, everyone individually knew there were blue-eyed people. But:

Everyone knows there are blue eyes
Everyone knows that everyone knows
Everyone knows that everyone knows that everyone knows...
...repeated infinitely = COMMON KNOWLEDGE

The announcement creates this infinite tower of shared knowledge. Before it, the chain broke at some level. After it, everyone can begin the recursive reasoning that leads to the solution.

The Deep Insight

Common knowledge is not just knowing something. It's knowing that others know, and knowing that others know that you know, and so on to infinity. This subtle distinction has profound implications:

Real-World Applications

Economics & Game Theory

Market crashes can happen when private information becomes common knowledge. Everyone knowing the king has no clothes is different from it being publicly announced.

Cryptography

Secure communication protocols must carefully manage what becomes common knowledge between parties. The distinction is crucial for security proofs.

Social Coordination

Revolutions often start when oppression becomes common knowledge. Everyone suffering isn't enough—everyone must know that everyone knows and is ready to act.

Distributed Computing

The "Two Generals Problem" shows that common knowledge is impossible to achieve in systems with unreliable communication. This has deep implications for consensus algorithms.

Variations & Extensions

What if someone is wrong?

The puzzle assumes perfect logicians. In reality, one person's mistake would break the chain, and no one might ever leave.

What about the brown-eyed people?

They watch and wait. On night N, when all blue-eyed people leave, the brown-eyed ones learn they don't have blue eyes—but they still don't know if their eyes are brown or some other color!

What if the visitor lied?

If there are actually no blue-eyed people, everyone sees 0 blue eyes, so no one can deduce anything, and nothing happens.

What if the visitor said "N people have blue eyes"?

Each blue-eyed person sees N-1 blue eyes. On night 1, they'd all know and leave immediately!

The Mind-Bending Truth

A single, seemingly obvious statement—"at least one of you has blue eyes"—triggers a cascade of logical deduction that takes exactly N days to complete. The announcement added no new facts that anyone didn't already know, yet it fundamentally changed what everyone could reason.

This is the strange power of common knowledge: the difference between everyone knowing something, and everyone knowing that everyone knows.