A new school has exactly 1000 lockers and exactly 1000 students. On the first day of school, the students meet outside the building and agree on the following plan: the first student will enter the school and open all the lockers. The second student will then enter the school and close every locker with an even number (2,4,6,8, etc.). The third student will then ‘reverse’ every third locker (3, 6, 9, 12, etc.). That is if the locker is closed, he or she will open it; if it is open, he or she will close it. The fourth student will then reverse every fourth locker, and so on until all 1000 students in turn have entered the building and reversed the proper lockers. Which lockers will finally remain open?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here