Skip to main content
Skip to current response

Hilbert's Grand Hotel Paradox

Starting question

Hilbert's Grand Hotel Paradox

Then AI response Simple level

Hilbert's Grand Hotel Paradox

No source links recorded for this answer.

## The Paradox of Infinite Rooms Hilbert's Grand Hotel is a thought experiment created by mathematician David Hilbert to illustrate the counterintuitive properties of actual infinity. The paradox asks us to imagine a hotel with a countably infinite number of rooms, numbered 1, 2, 3, and so on, where every single room is currently occupied. Even though the hotel is completely full, a new guest arrives asking for a room. In a finite hotel, this request would be impossible to fulfill without evicting someone. In Hilbert's hotel, however, the desk clerk simply moves the guest in room 1 to room 2, the guest in room 2 to room 3, and so on, shifting every existing guest $n$ to room $n + 1$. This leaves room 1 empty for the new arrival, demonstrating that an infinite set can be put into a one-to-one correspondence with a proper subset of itself—a defining characteristic of infinite sets formalized by mathematician Georg Cantor. ## Managing Infinity The central mechanism that makes this possible is countable infinity (denoted by the symbol $\aleph_0$). Unlike finite numbers, an infinite collection does not shrink in magnitude when you remove elements, nor does it fail to accommodate additions. The paradox scales to more extreme scenarios. If a countably infinite number of new guests arrive all at once, the clerk can still accommodate them: every current guest in room $n$ is moved to room $2n$ (the even-numbered rooms), leaving all the odd-numbered rooms vacant for the infinite wave of newcomers. ## State of Knowledge and Limitations As a mathematical concept, the behavior of infinite sets is rigorously established within standard set theory (specifically Zermelo-Fraenkel set theory with the Axiom of Choice). There is no empirical uncertainty here, because Hilbert's hotel is a purely conceptual tool rather than a physical possibility. The primary limitation lies in applying these mathematical rules to the physical universe. Modern physics and cosmology provide no evidence that actual physical infinities exist in nature; quantities like mass, volume, and the number of particles in the observable universe are vast but finite. Consequently, Hilbert's hotel remains a brilliant logical illustration of abstract mathematics rather than a description of physical reality. ## Follow-up questions 1. How does the mathematical definition of a countably infinite set differ from an uncountably infinite set like the real numbers? 2. How would the desk clerk accommodate an infinitely countable number of buses, each carrying an infinitely countable number of new guests? 3. What physical constraints prevent a Hilbert's Grand Hotel from being constructed in our universe?
Question · @LiviaZavtur

Why does the prime factorization method leave infinitely many empty rooms (like rooms 5, 6, 7, 10, or 12), and is there a different mapping method that fills every single room with zero gaps?

Then AI response Simple level

Filling Hilbert's Hotel with Busloads of Guests

No source links recorded for this answer.

Building on the previous exploration of Hilbert's Grand Hotel, where a full infinite hotel can always take more guests, this node examines what happens when an infinite number of buses arrive—each carrying an infinite number of passengers—and why certain mapping strategies leave empty rooms behind. ## Why Prime Factorization Leaves Gaps To accommodate countably infinite buses (Bus 1, Bus 2, Bus 3,...) where each bus holds countably infinite passengers (Passenger 1, Passenger 2, Passenger 3,...), a common intuitive strategy uses prime factorization. We assign distinct prime numbers to the buses ($2$ for Bus 1, $3$ for Bus 2, $5$ for Bus 3, and so on) and raise those primes to the power of the passenger's number. For example, the 4th passenger on the 3rd bus would go to room $5^4$ ($625$). This method succeeds in uniquely assigning every single traveler to a distinct room without any double-booking. However, it leaves infinitely many rooms empty—such as rooms 6, 7, 10, 12, or 14. The mechanism behind these gaps is arithmetic: any room number whose prime factorization includes a prime *not* assigned to a bus (like 7), or whose prime factors are multiplied together (like $6 = 2 \times 3$), is claimed. But any room number that is *not* a pure power of our chosen primes—or contains composite numbers or unassigned primes—will never be reached by this specific formula. Prime factorization maps our infinite grid into a *sparse subset* of the natural numbers. ## A Gapless Mapping Method To fill every single room with zero gaps, the desk clerk must use a mapping method that covers all natural numbers sequentially. The standard mathematical solution is **Cantor’s diagonal zigzag method**. Instead of routing entire buses to isolated prime-powered rooms, imagine an infinite grid where rows represent buses and columns represent passengers. The clerk assigns rooms by zigzagging diagonally across the grid: 1. Room 1 goes to Bus 1, Passenger 1 ($1,1$). 2. Room 2 goes to Bus 1, Passenger 2 ($1,2$). 3. Room 3 goes to Bus 2, Passenger 1 ($2,1$). 4. Room 4 goes to Bus 3, Passenger 1 ($3,1$). 5. Room 5 goes to Bus 2, Passenger 2 ($2,2$), and so on. By traversing every diagonal finite stripe of the grid step-by-step, every single room ($1, 2, 3, 4, \dots$) is eventually assigned to a traveler. This proves that the set of all passengers across all infinite buses is still only *countably infinite*—its members can be put into a direct one-to-one correspondence with the standard counting numbers, leaving zero empty rooms. ## Follow-up questions 1. How does the diagonal zigzag method prove that the set of all rational fractions is also countably infinite? 2. What happens if we try to apply Cantor's diagonal argument to an *uncountable* infinity, such as the real numbers between 0 and 1? 3. Why does the existence of different sizes of infinity challenge our intuitive grasp of numbers?
Question · @LiviaZavtur

Why does the prime factorization method leave infinitely many empty rooms (like rooms 5, 6, 7, 10, or 12), and is there a different mapping method that fills every single room with zero gaps?

Then AI response Simple level

Filling Hilbert's Hotel with Infinite Buses

No source links recorded for this answer.

## Why Prime Factorization Leaves Gaps When an infinite number of buses arrive—each carrying an infinite number of passengers—the desk clerk can try using prime factorization to assign rooms. By assigning a unique prime number to each bus ($2$ for Bus 1, $3$ for Bus 2, $5$ for Bus 3, and so on) and raising that prime to the power of the passenger's number (e.g., Passenger $4$ on Bus $3$ goes to room $5^4$), every traveler gets a distinct room without double-booking. However, this method leaves infinitely many rooms empty, such as rooms 6, 7, 10, 12, or 14. This happens because prime-power mapping only reaches numbers that are powers of our chosen primes. Room 7 is missed because 7 is a prime not assigned as a base. Room 6 is missed because it is composite ($2 \times 3$), not a single prime raised to a power. The formula maps travelers onto a **sparse subset** of the natural numbers, meaning infinitely many rooms have no factors matching our rules. ## The Gapless Solution: Cantor's Diagonal Zigzag To fill every single room with zero gaps, the desk clerk must use a mapping method that covers all natural numbers sequentially. The standard mathematical solution is **Cantor’s diagonal zigzag method**. Instead of isolating buses into separate prime tracks, imagine an infinite grid where rows are buses and columns are passengers. The clerk assigns rooms by zigzagging diagonally across the grid: 1. Room 1 goes to Bus 1, Passenger 1 ($1,1$). 2. Room 2 goes to Bus 1, Passenger 2 ($1,2$). 3. Room 3 goes to Bus 2, Passenger 1 ($2,1$). 4. Room 4 goes to Bus 3, Passenger 1 ($3,1$). 5. Room 5 goes to Bus 2, Passenger 2 ($2,2$), and so on. By traversing every diagonal stripe step-by-step, every room ($1, 2, 3, 4, \dots$) is eventually reached. This proves that the total collection of passengers remains **countably infinite**—meaning it can be placed in a direct one-to-one correspondence with the standard counting numbers, leaving no empty rooms behind.

Continue this thread

This path ends here for now.

Sign in or create an account to continue the discussion.

Continue your thinking

Anyone can read this grid. Sign in to ask questions, post thoughts and use the thinking tools.

Other paths you could read

Earlier, at Why does the prime factorization method leave infinitely many empty rooms (like ..., the conversation split. If this is not the thread you want, you can switch to the other path below.

Grid history

How this grid was built

Follow the questions, contributions, and edits that shaped this grid, and meet the people behind them.

This grid began

LiviaZavtur

Created

Hilbert's Grand Hotel Paradox

This grid’s history will appear here as people ask questions, add ideas, and make edits.

More

Your reading

Reading options

This grid

Sign in to follow this grid
Download

Download your grid

Translate this idea

Read the selected idea in another language

Highlights

0 saved passages and connected ideas

No highlights yet

Select text to save it here.