posted by Alex
Newon Middle School has a hall with 500 lockers, all of which are closed. Five hundred students start down the hall. The first student opens every locker. The second student closes all the lockers that are multiples of 2. The third student changes (closes an open locker or opens a closed locker) all multiples of 3. The fourth students changes all multiples of 4. And so on. After all students have finished with the lockers, how many will be closed and how many will be open?