infinite bus

also known as infinite buses

2 moment(s) that assert this concept — showing 1–2 of 2

single sourceRests on a single channel — treat as a lead, verify independently
↣ how this spread over time →
provenance — click a node to open its encoding unit
[1] Veritasium[2] Veritasium
showing 2 of 2 moments
Veritasium · youtube
1The Hilbert Hotel can accommodate an infinite number of new guests from an infinite bus by having each existing guest move to a room with double their original number, freeing all odd-numbered rooms.
“You tell each of your existing guests to move to the room with double their room number. So the person in room one moves to room two, room two moves to room four, room three to room six and so on. And now all of the odd numbered rooms are available. And you know, there are an infinite number of odd numbers. So you can give each person on the infinite bus a unique, odd numbered room.”
spoken · 85s · 2021-05-10
Veritasium · youtube
2The Hilbert Hotel can accommodate an infinite number of infinite buses, each with infinitely many people, by assigning each person a unique identifier based on their bus and seat and mapping them via a diagonal zigzag traversal of an infinite grid.
“You make a row for each bus, bus 1 bus 2 bus 3 and so on. And a row at the top for all the people who are already in the hotel. The columns are for the position each person occupies. So each person gets a unique identifier which is a combination of their vehicle and their position in it. So how do you assign the rooms? Well start in the top left corner and draw a line that zigzags back and forth across the spreadsheet, going over each unique ID exactly once. Then imagine you pull on the opposite ends of this line, straightening it out. So we've gone from an infinite by infinite grid, to a single infinite line. It's then pretty simple just to line up each person on that line with a unique room in the hotel.”
spoken · 128s · 2021-05-10