The Hilbert Hotel

Hilbert owns a hotel with an infinite number of rooms numbered . The rooms are all occupied by guests who are numbered just like the rooms they occupy, that is, guest is in room .
A taxi arrives with new guests labeled . How can the manager give them rooms in the already full hotel? But there is always room at the Hilbert hotel, no matter how many people show up! To make room for them, the manager moves all of the original guests over by rooms.
A plane arrives with rows of seats, each row seating an infinite number of fliers. Label the fliers in the row . To make room for all of them, the manager shifts the original guests in the hotel from room to room .
A ship arrives with an infinite number of decks, each with an infinite number of sailors. Label the sailors on the deck . To fit them all into the hotel, the hotel manager and the captain of the ship free the first deck by shifting all the sailors by one deck. They move the original hotel guests to the first deck. The hotel is empty. The manager arranges the room numbers diagonally in a table. The original guests and the sailors go to the room assigned to them by the table. The person on the deck goes to the room that is in the table at row and column .


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.

Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and
interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Step-by-Step Solutions »
Walk through homework problems one step at a time, with hints to help along the way.
Wolfram Problem Generator »
Unlimited random practice problems and answers with built-in step-by-step solutions. Practice online or make a printable study sheet.
Wolfram Language »
Knowledge-based programming for everyone.
Powered by Wolfram Mathematica © 2018 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+