Earlier quoted context omitted.
It's probably not worth worrying about the fate of humanity till you've figured out the rooms example. Since you're on this site I'm sure you can trivially knock up a script to simulate what happens. Or just draw the probability tree. In any case the relevant question is,, out of those who find their room number is less than ten, what is the probability that the coin toss meant only ten rooms are occupied. The answer…
Okay, here's a simplified probability tree. Scenario 1: Doom soon 10 people have a room number less than or equal to 10. Scenario 2: Doom late 10 people have a room number less than or equal to 10. --- Given that each scenario has an equal probability in isolation, there are 20 possible positions for the the Of those 20 possibilities, 10 of those are in the doom soon scenario. The remaining 10 are in the doom late sc…
(Let's leave aside mentions of doom and stick to the rooms: according to the article no-one has quite nailed down yet whether there are subtleties about unbounded future populations). Rather than try to draw a tree I'll write it out flat:
10 rooms (0.5) & you're in 1-10 (1.0): Probability 0.5
10 rooms (0.5) & you're in 11-100 (0.0): Probability 0.0
100 rooms (0.5) & you're in 1-10 (0.1): Probability 0.05
100 rooms (0.5) & you're in 11-100 (0.9): Probability 0.45
Work out any relative probabilities using the right-hand column. For instance, when you're in room 1-10, the chances of the coin having been heads is 0.5/0.55. Even if this bugs you, this approach of using the tree will let you get the right answers to tricky teasers about medical tests with false positives and false negatives.