A Daily Learning Experience · Math

Night Clerk at the Hotel Infinity

Every room is full. A guest walks in anyway. Your job: find them a room — without throwing anyone out.
▼ Take the night shift
Your shift begins

Winter, 1924. Snow over Göttingen.

You button up the brass-trimmed jacket, step behind the front desk, and read the note your manager left you: "Hotel is completely full. Every single room. Good luck tonight."

There is one detail your manager forgot to mention. This is the Grand Hotel Infinity, and its corridor does not end. Room 1, room 2, room 3… for every counting number, there is a room with that number on the door. No last room. No end of the hallway. And tonight, every one of those infinitely many rooms has a guest asleep inside.

At 11:47 pm, the lobby doors swing open in a swirl of snowflakes. A traveler stamps the cold off his boots and asks for a room.

🛎️ The full-hotel rule of ordinary hotels: "Sorry, no vacancy." But you are about to discover the strangest fact in mathematics — a full infinite hotel always has room for more. This thought experiment is real: the great mathematician David Hilbert used it in his Göttingen lectures on the infinite (winter 1924–25) to show his students how differently infinity behaves. It was nearly forgotten until physicist George Gamow retold it in his 1947 book One, Two, Three… Infinity — and made it world-famous.
Interactive · The Front Desk

1Work the impossible desk

You can't build new rooms and you can't evict anyone. But you can pick up the corridor intercom and ask every guest at once to move. That is your superpower. Try each arrival — then watch the corridor obey. (Scroll the corridor sideways; it goes on a while. Actually, forever.)

∞
FRONT DESK LOG — All rooms occupied. The night is quiet… for now.

HOW THE ∞×∞ TRICK WORKS: give every seat on every bus a single room number by walking the diagonals — bus b, seat s gets checked in along the zigzag path below. Every one of the infinitely many passengers on infinitely many buses gets exactly one room. Press play to watch the path count them.

🛎️ What just happened to arithmetic? You have shown, with door keys and moving vans, that ∞ + 1 = ∞, that ∞ + ∞ = ∞, and even ∞ × ∞ = ∞. Infinity absorbs everything you throw at it. Mathematicians call the size of the counting numbers ℵ₀ ("aleph-null") — the first infinity. Hilbert's own version of the trick in his lecture: send the guest in room n to room 2n, "leaving infinitely many rooms with odd numbers free."
Interactive · 3:00 AM

2The bus you cannot fit

By now you feel unbeatable. Then, at 3 am, headlights fill the window. A bus pulls up carrying one passenger for every real number — every possible decimal, including the ones that run on forever without a pattern. The driver grins: "Room them all, clerk."

You try. You post a giant list in the lobby: room 1 gets some decimal guest, room 2 another, room 3 another — any assignment you like, forever. But a mysterious passenger in a red scarf walks the list with a pencil and builds her own number: she looks at the 1st digit of guest 1, the 2nd digit of guest 2, the 3rd digit of guest 3… and changes each one.

Play her part. Click the glowing diagonal digits to flip them and build the Red Scarf Number:

Red Scarf Number = 0.
Click the six dashed diagonal cells — in any order.

Her number differs from guest 1 in the 1st digit, from guest 2 in the 2nd digit, from guest n in the n-th digit. So she is not on your list — no matter what list you wrote. And she can do it again to any new list, forever. Some infinities are simply bigger than the hotel.

🛎️ This is Cantor's diagonal argument, published by Georg Cantor in 1891 (he had first proved the real numbers "uncountable" in 1874, by a different route). It means infinity comes in sizes: the counting numbers, the even numbers, and all the fractions are the same size (ℵ₀) — but the real numbers form a strictly larger infinity. Cantor discovered a whole endless ladder of ever-bigger infinities, and it shook mathematics to its foundations.
The true story

3How a hotel checked into history

Tap each moment. (Yes — historians only pinned down where the hotel came from in 2014.)

1873–74
Cantor counts the uncountable
In letters to his friend Richard Dedekind and then an 1874 paper, Georg Cantor proves the real numbers cannot be listed 1, 2, 3, … — the first proof that infinities come in different sizes. Many colleagues are horrified; Leopold Kronecker, his old teacher, attacks the work bitterly.
1891
The diagonal trick
Cantor publishes the diagonal argument you just performed — one of the shortest, most powerful proofs in all of mathematics. It works on any list of infinite decimals, ever.
1924–25
Hilbert opens the hotel
In his Göttingen lecture course "Über das Unendliche" ("On the Infinite"), David Hilbert imagines a full hotel with infinitely many rooms that can always take more guests. His assistant Lothar Nordheim writes the notes down. Hilbert never publishes the story himself.
1925–26
"No one shall expel us"
Defending Cantor's ideas in a famous address (published in Mathematische Annalen), Hilbert declares: "No one shall expel us from the paradise that Cantor created for us."
1947
Gamow tells the world
Physicist George Gamow retells the hotel in his bestseller One, Two, Three… Infinity, crediting "one of the stories about the famous German mathematician David Hilbert" — and jokingly citing a "Complete Collection of Hilbert Stories" that doesn't exist. The Grand Hotel becomes math's most famous building.
2014
A historian checks the register
Historian of science Helge Kragh traces the story's paper trail — Nordheim's lecture notes, a lone 1938 textbook mention, then Gamow — in "The True (?) Story of Hilbert's Infinite Hotel." The hotel very nearly vanished from history before anyone wrote it down.
2015
The hotel goes quantum
Physicists demonstrate a real "Hilbert hotel" protocol using the orbital angular momentum states of light — shifting every occupied quantum "room" to make space, in an actual laboratory experiment.
End of shift

4The Night Clerk's Exam

Dawn is coming and the manager wants to know if you can keep the job. Seven arrivals, seven decisions.