Thursday, October 1, 2009

The Locker Problem


THE LOCKER PROBLEM

Luis Aguirre

(Final Draft)

Which lockers are open and which are closed?

there are 31 open and 961

When I first saw the locker problem I thought you were to do whole thing but you just needed to find the pattern.

The pattern starts with every number that has an odd number of divisors going to be the opposite of what it started in other words open.

every number with an even number of divisors is the same as it started in other words closed

instead of doing it all the way to 1000 you can find pattern by less numbers.

i started with 10 and didn't find a pattern, and then 20 and kept on going until i saw the divisors


1 2 3 4 5 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
o c c o c c c c c c c c c c o c c c c c c c c o


No comments:

Post a Comment