2021 Selection · Dhaka · Junior 9/10 বাং

Question 9

Logic · Number theory BDMO 2021 Selection · Dhaka

In a hotel, there are 100 rooms in a row, numbered 1 through 100 in order. Initially, all the doors of the rooms are closed and the hotel manager wants to open them all. But the way he wants to do it is somewhat strange. First, he opens every other door, starting from room 1. So, he opens 1,3,5,71, 3, 5, 7 and so on. Then he goes back to the beginning and again opens every other unopened door. So, this time he opens 2,6,102, 6, 10 and so on. He continues in this way until he opens all the doors. What is the number of the last door he opens?

Worked it out?

This paper's answer key isn't in yet, so mark it yourself.

Log in to save your progress.
Log in to report a mistake