You are viewing a single thread.
View all comments View context
22 points

> go to hilbert hotel

> “currently all the rooms are occupied but maybe we can do something for you”

> get placed in the first room

> woken up every 5 mins and asked to move one room over

permalink
report
parent
reply

Hah i remember getting asked to solve weird stuff with this hotel like: an infinite number of busses contanining infinite people show up at the hotel. How do you sort everyone by bus number? And stuff like that

permalink
report
parent
reply
3 points
*

Assuming an empty hotel the simplest solution i can think of is placing person k from bus b into room 2^b 3^k

For a filled hotel I’d move everyone from room n to room 5^n first I guess.

permalink
report
parent
reply

Our solution was to assign every bus to a prime number. Everyone on each bus would get the new bus number^n room. It broke the rules kinda but the teacher accepted it

permalink
report
parent
reply