melimarti12
New member
- Joined
- Jul 14, 2008
- Messages
- 2
I have this problem:
Pascal High 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. The third student will then “reverse” every third locker. That is, if the locker is closed, the student will open it. If the locker is open, the student will close it. The fourth student will reverse every fourth locker, and so on, until all 1000 students have entered the building and reversed the proper lockers. Which lockers will finally remain open?
I tried solving it by squaring each locker until i got to 31 and I got 961, but i'm not sure if that is right. can someone help me?
Pascal High 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. The third student will then “reverse” every third locker. That is, if the locker is closed, the student will open it. If the locker is open, the student will close it. The fourth student will reverse every fourth locker, and so on, until all 1000 students have entered the building and reversed the proper lockers. Which lockers will finally remain open?
I tried solving it by squaring each locker until i got to 31 and I got 961, but i'm not sure if that is right. can someone help me?