# The Last Room?

**Number Theory**Level 3

In a big hostel, there are 1000 rooms. In that hostel, only even numbers are used for room numbers, i.e. the room numbers are 2, 4, 6, ..., 1998, 2000. All the rooms have one resident each. One fine morning, the warden calls all the residents and tells them to go back to their rooms as well as multiples of their room numbers. When a guy visits a room and finds the door open, he closes it, and if the door is closed, he opens it. All 1000 guys do this operation. All the doors were open initially. What is the last door that is closed (room number of that door)?

**Your answer seems reasonable.**Find out if you're right!

**That seems reasonable.**Find out if you're right!

Already have an account? Log in here.