Entrance Slip Sept 21 - Locker Problem
I really enjoyed working on this problem! I was reminded, however, about the importance of not leaving my work to the last minute, as I caught myself working on it late Sunday evening and didn't want to give up. I was able to solve it, and I've included my thought process below. I must admit that my justification may not be up to the spec of a number theory proof.
1. I first thought there might be some clever incorporation of binary numbers given the on/off character of the problem. I realized that any locker that had its state changed an odd number of times (including the first pass) would end up closed, and any one that had its state changed an even number of times would end up open. I then realized that I needed to think about divisibility but wasn't sure how to proceed.
2. Eventually, I decided to break down the problem into a smaller locker sample. I started with 10 lockers, and then scaled it up to 25 as I noticed a pattern emerge.
- I used a "c" to represent a closed locker and "o" to represent an open locker
- I simply followed the "rules of the game" to draw out a diagram as seen below:
- I noticed that the only lockers that remained closed were the perfect squares in the defined range. I decided to extend the diagram up to the 25th locker to confirm the pattern (and it was confirmed).
- All natural numbers have factors in pairs (including prime numbers—itself and "1")
- The only exception is natural numbers that are perfect squares (since one of the pairs of factors is in fact a duplicate). Thus, the perfect squares have an odd number of distinct factors.

Lovely, Adam! I'm so glad that you did get caught up in the puzzle -- what a happy state to be in (even if it was a bit late in the evening...) I like your thought about the possibility of a binary model. Your solution is very good!
ReplyDelete