Friday, October 2, 2009

Locker Problem


Red lockers= open
White lockers= closed


Locker Problem

There was a total of 1000 lockers, and only 31 lockers were left open. The way we figured this out was by finding the factors and the perfect squares. If the locker had an odd number of factors, we knew it would end up open. For example, locker number 8’s factors are 1,2,4, and 8. As you see, there is an even amount of factors. There for the locker will end up closed. The pattern for the first ten lockers is, 2 lockers closed then 1 open, 4 lockers closed, then 1 open, 6 lockers closed, and 1open, 8 lockers closed, then 1 open, and 10 lockers closed, and 1 open, and so on. For example, locker number 1,4,9,16,25, and 36, are opened( as seen on the diagram below) This operation was repeated until we reached the last locker.

No comments:

Post a Comment