Why endless counting numbers and even numbers are the same size, shown by pairing each number with its double. Ends with Cantor's rule for matching infinite sets.
How can you tell two groups are the same size without counting? Pair them up. If every marble gets exactly one partner and nobody is left over, the groups are the same size.
Mathematicians call a perfect pairing like this a one-to-one matching.
Now a sixth blue marble rolls in. It has no partner, so the blue row is bigger. For groups that end, pairing and counting always agree.
Now imagine rows that go on forever. The blue row holds every counting number: 1, 2, 3 and on and on. The gold row holds only the even numbers, each one sitting in front of its twin.
Neither row has a last marble. The rows simply fade into the distance.
Look at the gaps. In front of every odd number, like 1, 3 and 5, there is an empty space. From 1 to 10 there are ten counting numbers but only five even ones, so the evens seem to be half as many.
Press the button to slide the gold marbles together and close every gap. Each even number lands in front of its half: 2 with 1, 4 with 2, 6 with 3. The rule is simple: every counting number is paired with its double.
Every counting number has exactly one partner: its double. Every even number has exactly one partner too: its half. Nobody is left over in either row, so these two endless rows are the same size.
Tap any marble to light up its partner. Even 1,000,000 has one: 2,000,000.
Picture a hotel with endless rooms, every one full. Each guest moves to the room with double their number: room 1 to room 2, room 3 to room 6. Now every odd room is empty, ready for endlessly many new guests.
The mathematician David Hilbert described this hotel in a lecture in 1924.
In 1638 Galileo paired numbers with their squares and was puzzled. Later, Georg Cantor made matching the rule: if a perfect pairing exists, two sets are the same size, even endless ones. He also proved that some infinities, like all the points on a line, are too big to pair with 1, 2, 3.