The Infinite Hotel Paradox
Start writing a post
Entertainment

The Infinite Hotel Paradox

And more on the infinity.

69
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.
Student Life

Waitlisted for a College Class? Here's What to Do!

Dealing with the inevitable realities of college life.

39351
college students waiting in a long line in the hallway
StableDiffusion

Course registration at college can be a big hassle and is almost never talked about. Classes you want to take fill up before you get a chance to register. You might change your mind about a class you want to take and must struggle to find another class to fit in the same time period. You also have to make sure no classes clash by time. Like I said, it's a big hassle.

This semester, I was waitlisted for two classes. Most people in this situation, especially first years, freak out because they don't know what to do. Here is what you should do when this happens.

Keep Reading...Show less
a man and a woman sitting on the beach in front of the sunset

Whether you met your new love interest online, through mutual friends, or another way entirely, you'll definitely want to know what you're getting into. I mean, really, what's the point in entering a relationship with someone if you don't know whether or not you're compatible on a very basic level?

Consider these 21 questions to ask in the talking stage when getting to know that new guy or girl you just started talking to:

Keep Reading...Show less
Lifestyle

Challah vs. Easter Bread: A Delicious Dilemma

Is there really such a difference in Challah bread or Easter Bread?

23895
loaves of challah and easter bread stacked up aside each other, an abundance of food in baskets
StableDiffusion

Ever since I could remember, it was a treat to receive Easter Bread made by my grandmother. We would only have it once a year and the wait was excruciating. Now that my grandmother has gotten older, she has stopped baking a lot of her recipes that require a lot of hand usage--her traditional Italian baking means no machines. So for the past few years, I have missed enjoying my Easter Bread.

Keep Reading...Show less
Adulting

Unlocking Lake People's Secrets: 15 Must-Knows!

There's no other place you'd rather be in the summer.

950017
Group of joyful friends sitting in a boat
Haley Harvey

The people that spend their summers at the lake are a unique group of people.

Whether you grew up going to the lake, have only recently started going, or have only been once or twice, you know it takes a certain kind of person to be a lake person. To the long-time lake people, the lake holds a special place in your heart, no matter how dirty the water may look.

Keep Reading...Show less
Student Life

Top 10 Reasons My School Rocks!

Why I Chose a Small School Over a Big University.

128582
man in black long sleeve shirt and black pants walking on white concrete pathway

I was asked so many times why I wanted to go to a small school when a big university is so much better. Don't get me wrong, I'm sure a big university is great but I absolutely love going to a small school. I know that I miss out on big sporting events and having people actually know where it is. I can't even count how many times I've been asked where it is and I know they won't know so I just say "somewhere in the middle of Wisconsin." But, I get to know most people at my school and I know my professors very well. Not to mention, being able to walk to the other side of campus in 5 minutes at a casual walking pace. I am so happy I made the decision to go to school where I did. I love my school and these are just a few reasons why.

Keep Reading...Show less

Subscribe to Our Newsletter

Facebook Comments