Challenge Problem that seems too Easy

  • Thread starter Thread starter brtdud7
  • Start date Start date
  • Tags Tags
    Challenge
AI Thread Summary
The discussion revolves around a challenge problem involving 1000 lockers, initially all closed, where each locker’s state is altered based on its number's divisibility. The poster expresses concern that their proposed brute force method of tracking locker states seems overly simplistic for a calculus class. They seek confirmation on whether this approach is valid or if there are more efficient mathematical methods or theorems applicable. Key insights include the relationship between the number of state changes and the factors of each locker number, leading to the realization that the problem is fundamentally about identifying the conditions under which a locker remains closed. Ultimately, the problem highlights a deeper mathematical principle rather than a calculus-specific solution.
brtdud7
Messages
2
Reaction score
0
This is a challenge problem I received in my calculus class that I believe uses math lower than Calculus. My worry is that the way I want to solve it seems too simple.

Homework Statement



A long hallway contains lockers numbered 1 through 1000. At the start of the day, all of the lockers are closed. Someone comes by and opens every other locker, starting with locker #2. Then someone else comes by and changes the "state" (ie, closes open lockers and opens closed lockers) of every third locker, starting with locker #3. Then someone comes by and changes the state of every fourth locker starting with #4, and so on, until no more lockers can be changed in this way. How many lockers are closed at the end of this process?

The Attempt at a Solution



I was just going to make a table, first with #2 to #1000 (by 2s) all open, then make one with all the multiples of 3 with each locker's state, then make one with all the multiples of 4 and the resulting state. It just seems too algorithmic for a calculus class, so I was curious if this brute force method is correct, or if anyone is aware of any formulas or theorems that could be used instead to make this problem less time-consuming?
 
Physics news on Phys.org
Think logically. Start with the range from 1 to 10.. Then to hundred...
 
You're right that this has nothing to do with calculus. Here are some questions to ask yourself.

Given a number N, how many times is the state of the Nth locker changed? (Hint: the answer has to do with the factors of N).

Under what conditions is the number of state changes of the Nth locker an even number?
 
Oh alright, I figured that it had something to do with the LCM of the lockers, like the LCM of 2 and 3 is 6, so every 6th locker's state would change. I was going to start with that and then see where I go from there.
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...

Similar threads

Replies
16
Views
13K
Replies
1
Views
3K
Replies
10
Views
5K
Replies
1
Views
2K
Replies
7
Views
17K
Back
Top