1996 AIME Problem 9
Problem 9 of 15IntermediateAlgebraProblem-Solving Techniques
A bored student walks down a hall that contains a row of closed lockers, numbered to He opens locker and then alternates between skipping and opening each closed locker thereafter. When he reaches the end of the hall, the student turns around and starts back. He opens the first closed locker he encounters, and then alternates between skipping and opening each closed locker thereafter. The student continues wandering back and forth in this manner until every locker is open. What is the number of the last locker he opens?
Your answer
Integer from 0 to 999
Show solution
Solution
On every trip the student opens the first, third, fifth, and so on among the remaining lockers in his direction of travel. Tracking the closed arithmetic sequence after each trip gives:
Thus only lockers and remain after the ninth trip. On the tenth trip, starting from the right, locker is opened and remains. Therefore the last locker opened is
| trip | first | difference | count |
|---|---|---|---|
Tagged: process simulation · pattern recognition · arithmetic sequence