From the 1st room if every min a person comes out, it will be 60 of them. Now if each continue to move once they double then the time will go this way
1st min
Room 2 : a person came in 1st min. Then 2nd joined in 2nd min. And then one of them left in 3rd min. While in the same 3rd min a new member can join out of 998 people. So room strength every minute will remain 2 , and so every minute someone must leave.
So 2nd min onwards, the number on room 2 becomes const, ie one joins and one leaves.
Similarly room 3 will have one person added and then to increase to 2, it will need another 1 min.
So every room that gets filled takes a minute for one person to get in.
So in 60 minutes, the room gets filled every odd minutes, ie 1, 3, 5, and so on. so last minute when the room will be filled will be 59 th min
tn = 59= 1 + (n-1)2 , so n = 30
So number of rooms that will be occupied in an hour will be 30 plus the one they already were in , ie 31.
Let us know the OA