Great math problem for upper elementary to high school
This is the lesson that got me my current job:
Imagine you are at a school that still has student lockers. There are 1000 lockers, all shut and unlocked, and 1000 students.
Here's the problem:
Suppose the first student goes along the row and opens every locker.
The second student then goes along and shuts every other locker beginning with number 2.
The third student changes the state of every third locker beginning with number 3. (If the locker is open the student shuts it, and if the locker is closed the student opens it.)
The fourth student changes the state of every fourth locker beginning with number 4. Imagine that this continues until the thousand students have followed the pattern with the thousand lockers. At the end, which lockers will be open and which will be closed? Why?
(I used a deck of cards for each pair of students: face up was an open locker and face down was a closed locker. By the way, the answer is that only the square numbered lockers remain open because they are the only numbers with an odd number of factors)