May 2023
Problem of the Month

Locker Problem
By K. Sengupta



There is a line of lockers numbered 1 to 1024, initially all closed.

James walks down the line, opens locker #1, then alternately skips and opens each closed locker (so he opens 1, 3, 5, ... , 1023).   At the end of the line he walks back, opens the first closed locker, then alternately skips and opens each closed locker (so he opens 1024, skips 1022, opens 1020, skips 1018, and so on....).

He continues to walk up and down the line until all the lockers are open.

Which locker did James open last ?




Send your solution by the end of the month to: mathpage@gmail.com