The Infinite Hotel Paradox | The Odyssey Online
Start writing a post
Entertainment

The Infinite Hotel Paradox

And more on the infinity.

81
The Infinite Hotel Paradox
Pixabay

Imagine a hotel. Now imagine that this hotel is unlike any other:

This hotel can accommodate a countably infinite number of patrons. Wait, did I just say countably infinite? What the hell does countably infinite mean? Isn't infinity just infinity?

No! One of the topics that they really harped on during my four years as a math major at UVA is the fact that not all infinities are created equal. For example, the infinity that we're most familiar with, that of the positive integers (1,2,3,4,...), is smaller than the infinity of real numbers between 0 and 1.

Why? Think about this: if I asked you to find an integer between 1 and 2, you can't. As a matter of fact, you wouldn't be able to find an integer between any two consecutive integers. In math terms, this means that the positive integers aren't dense.

But the real numbers between 0 and 1 are different. If I were to tell you to find a number between 1/3 and 1/2, you could say 2/5. If I asked for a number between 1/100 and 2/100, you could say 3/200. Even if I asked for a number between .33333 and .333333, you could say .333332. Unlike the positive integers, there is a number between any two arbitrary real numbers in the interval from 0 to 1, making the real numbers between 0 and 1 dense, meaning the infinity between 0 and 1 is bigger than that of positive integers.

Holy shit that was a ton of really boring math jargon.

Now back to the hotel paradox. Let's say that one night, the hotel manager really has his work cut out for him: a countably infinite number of buses, each containing a countably infinite number of passengers show up. And they all want rooms.

How can our hotel manager accommodate each of his guests with their own unique room? Hmmmmm.

Here's a little hint: if there were two buses filled with a countably infinite number of guests, he could tell everyone in bus one to go to an even numbered room and all of those in bus two to go to an odd numbered room (because the even integers and odd integers are both countably infinite, remember?).

Any ideas? I'll wait. Cue Jeopardy music.

alex trebek GIF by Jeopardy!

Times up! Here's the solution, one that you would most likely only know if you spent four years barely passing all of your math classes.

In case you didn't know, there is an infinite number of prime numbers (that would have been a helpful tidbit of knowledge). Therefore, the hotel manager could assign each of the countably infinite buses a unique prime number. Then, he could assign each passenger on each bus a power of said prime number.

So the third passenger on the second bus would be in room 3^2 (aka 9), the fifth passenger on the fourth bus would be in 7^5 (aka 16,807), and so on and so forth.

Since each number will only have two factors (one and the prime it's a power of), now two passengers will ever be assigned to the same room. And since the powers of prime numbers are all positive integers, there will definitely be a room for everyone.

And there you have it! Feel free to stump your friends with this little brainteaser at your next get-together.

Isn't math fun? Yes?

NERD!

Report this Content
This article has not been reviewed by Odyssey HQ and solely reflects the ideas and opinions of the creator.
Entertainment

Every Girl Needs To Listen To 'She Used To Be Mine' By Sara Bareilles

These powerful lyrics remind us how much good is inside each of us and that sometimes we are too blinded by our imperfections to see the other side of the coin, to see all of that good.

651584
Every Girl Needs To Listen To 'She Used To Be Mine' By Sara Bareilles

The song was sent to me late in the middle of the night. I was still awake enough to plug in my headphones and listen to it immediately. I always did this when my best friend sent me songs, never wasting a moment. She had sent a message with this one too, telling me it reminded her so much of both of us and what we have each been through in the past couple of months.

Keep Reading...Show less
Zodiac wheel with signs and symbols surrounding a central sun against a starry sky.

What's your sign? It's one of the first questions some of us are asked when approached by someone in a bar, at a party or even when having lunch with some of our friends. Astrology, for centuries, has been one of the largest phenomenons out there. There's a reason why many magazines and newspapers have a horoscope page, and there's also a reason why almost every bookstore or library has a section dedicated completely to astrology. Many of us could just be curious about why some of us act differently than others and whom we will get along with best, and others may just want to see if their sign does, in fact, match their personality.

Keep Reading...Show less
Entertainment

20 Song Lyrics To Put A Spring Into Your Instagram Captions

"On an island in the sun, We'll be playing and having fun"

547193
Person in front of neon musical instruments; glowing red and white lights.
Photo by Spencer Imbrock on Unsplash

Whenever I post a picture to Instagram, it takes me so long to come up with a caption. I want to be funny, clever, cute and direct all at the same time. It can be frustrating! So I just look for some online. I really like to find a song lyric that goes with my picture, I just feel like it gives the picture a certain vibe.

Here's a list of song lyrics that can go with any picture you want to post!

Keep Reading...Show less
Chalk drawing of scales weighing "good" and "bad" on a blackboard.
WP content

Being a good person does not depend on your religion or status in life, your race or skin color, political views or culture. It depends on how good you treat others.

We are all born to do something great. Whether that be to grow up and become a doctor and save the lives of thousands of people, run a marathon, win the Noble Peace Prize, or be the greatest mother or father for your own future children one day. Regardless, we are all born with a purpose. But in between birth and death lies a path that life paves for us; a path that we must fill with something that gives our lives meaning.

Keep Reading...Show less

Subscribe to Our Newsletter

Facebook Comments