math
posted by Anonymous .
the 20 students in Mr. Wolf's 4th grade class are playing a game in a hallway that is lined with 20 lockers in row. the 1 student starts with the first locker and goes down the hallways and opens all lockers. the 2 student starts with the second locker and goes down the hallway and shuts every others lockers. the third student starts with the third locker and changes every third locker: if the locker is open the student closes it, and if it is closed the student open it. the fourth student starts with the fourth locker and changes every fourth locker: if the locker is open the student closes it, and if it is closes the student opens it. THis process continues until all 20 students in the class have walked down the hallway. a.) which lockers are still open at the end of the game?. b.) which lockers were touched by the only two student?. c.) which lockers were touched by only three students?.d.) which lockers were touched the most?

Haven't devised an algebraic solution. Maybe you can work on that after taking a look at the table below, where row #n is the state of the lockers (0=closed, 1=open) after the nth student has gone by. The last line is the number of times each locker was touched.
01: 11111111111111111111
02: 10101010101010101010
03: 10001110001110001110
04: 10011111001010011111
05: 10010111011010111110
06: 10010011011110111010
07: 10010001011111111010
08: 10010000011111101010
09: 10010000111111101110
10: 10010000101111101111
11: 10010000100111101111
12: 10010000100011101111
13: 10010000100001101111
14: 10010000100000101111
15: 10010000100000001111
16: 10010000100000011111
17: 10010000100000010111
18: 10010000100000010011
19: 10010000100000010001
20: 10010000100000010000
1 2 2 3 2 4 2 4 3 4 2 6 2 4 4 5 2 6 2 6 
thanks Steve And Happy new year and God bless you
Respond to this Question
Similar Questions

Math
A new school has exactly 1,000 lockers and 1,000 students. the student meet outside the building and decide on this plan. The first student will enter and open al the lockers. The second student will enter and colse ever locker with … 
Math 6th
Imagine there are 1000 lockers and 1000 students at school. The 1st student who comes through the school opens every locker as they enter the school. The 2nd student walks in and closes every other locker begining with locker number … 
Math
Imagine there are 100 lockers. Each locker is given a number 1100. When the students are assigned to their lockers, the 1st student runds down the row of lockers and opens every door, student #2 closes the doors of locker #'s, 2,4,6,8, … 
Math
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 … 
9th grade
A new high school has just been completed. There are 1,000 lockers in the long hall of the school and they have been numbered from 1 to 1,000. During lunch, the 1,000 students decide to try an experiment.  The first student, student … 
math
1000 lockers 1000 students, the first student goes along and opens every other locker. The second student goes along and shuts every other locker beginning with the number 2. The third student changes the state of every 3rd locker … 
ALEGEBRA
The new school has exactly 1000 students and 1000 lockers.On the first day all the students meet outside and agree on the following plan: the first student will enter the school and open all the lockers.The second student will then … 
Math
Reasoning Word Problem: A school's lockers are numbered 1100. One hundred students enter the school one at a time. The first student opens the lockers. The second student closes the evennumbered lockers. The third student either … 
Math Word Problem(PLEASE HELP NOW)
Reasoning Word Problem: A school's lockers are numbered 1100. One hundred students enter the school one at a time. The first student opens the lockers. The second student closes the evennumbered lockers. The third student either … 
Algrebra
A new high school has just been opened, with an enrollment of 1000 students. The school has 1000 lockers, numbered 1 to 1000, to accommodate them. On the first day of school all 1000 lockers are closed. The first student enters the …