4.5/5 - (42 votes)

Picture a hotel with infinitely many rooms, every single one occupied. A new guest walks in and asks for a room, and the clerk says yes. Then infinitely many more guests arrive, and the clerk still says yes.

One more guest, no room left

The thought experiment is known as Hilbert’s paradox of the Grand Hotel. David Hilbert introduced the idea in a 1924-1925 lecture titled “Über das Unendliche”, and physicist George Gamow popularized it in his 1947 book One Two Three… Infinity.

The rooms are numbered 1, 2, 3 and so on, with no upper limit. Every room is taken. In an ordinary hotel, that would be the end of the story.

Here, the clerk simply asks every guest to move one room up. The guest in room 1 goes to room 2, the guest in room 2 goes to room 3, and so on. Because the hotel has no final room, nobody is left without somewhere to go. Room 1 is now empty, and the newcomer moves in.

The same trick handles any finite crowd. If k guests arrive, everyone moves from room n to room n + k.

Infinitely many guests, still no problem

Now suppose a countably infinite crowd shows up. The clerk asks each current guest to move to the room with double their number: room 1 to room 2, room 2 to room 4, room 3 to room 6.

Every even-numbered room is now taken, and every odd-numbered room, infinitely many of them, is free for the new arrivals.

Infinite coaches, each full of infinite passengers

The puzzle gets wilder when infinitely many coaches arrive, each carrying infinitely many passengers. It can still be solved, and in several different ways.

See also  A 9-year-old coined the googol in 1920, and a misspelling made it Google

One method uses prime factorization. The passenger in seat n of coach c goes to room 2 to the power n, multiplied by 3 to the power c. Since every number breaks down into primes in only one way, no two people ever end up sharing a room. For instance, room 2592 belongs to the person in the 5th seat of the 4th coach.

That method leaves many rooms empty, such as any room divisible by a prime other than 2 and 3. Another method fills the hotel completely: interleave the digits of the coach number and the seat number. The longtime guest in room 1729 moves to room 1,070,209, and the passenger in seat 1234 of coach 789 lands in room 1,728,394.

A third approach sends the existing guests to the triangular numbers, then fills the remaining rooms coach by coach. Every room gets exactly one guest.

Even infinitely many ferries, each carrying infinitely many coaches, can be handled by adding one more prime for each new layer of infinity.

Why this is not really a contradiction

Mathematicians call this a veridical paradox: it feels wrong, yet it is provably true. The confusion comes from treating two statements as the same. “Every room has a guest” and “no more guests can be accommodated” mean the same thing in a finite hotel. With infinitely many rooms, they do not.

The resolution lies in Cantor’s theory of transfinite numbers. In a normal hotel, the odd-numbered rooms are clearly fewer than all the rooms. In Hilbert’s hotel, the odd-numbered rooms have the same cardinality as the full set of rooms, the same size of infinity that mathematicians write as aleph-null.

See also  A mathematician gave an hour-long talk and never said a word

In fact, this is how infinite sets are defined: they can be matched one-to-one with a proper part of themselves. The rational numbers, which include every fraction, turn out to be no bigger than the whole numbers either. A perfect pairing exists between the two.

Where intuition stops working

If you enjoy numbers that stretch the imagination, the googol and Graham’s number are enormous, yet every one of them is finite. Hilbert’s hotel is a reminder that infinity is not just a very large number. It follows its own rules, and our everyday sense of “full” and “more” simply does not carry over.