The math is off. For 30 rooms on the same floor, the probability of having the same one is 1/30. Similar for two hotels with 100 rooms - it is 1/100. The lower 1/900 and 1/10,000 are the probably of having the same in room in both hotels and that room being specific number.