Math Brain Teaser: Which Lockers are Open?

  • Thread starter Thread starter Alethia
  • Start date Start date
  • Tags Tags
    Brain
Click For Summary
SUMMARY

The discussion centers on a mathematical brain teaser involving 1,000 lockers and 1,000 students, where each student toggles the state of lockers based on their student number. The key conclusion is that lockers remain open if they have an odd number of factors, which occurs for perfect square numbers. Therefore, only lockers numbered with perfect squares (1, 4, 9, 16, ..., 961) will remain open after all students have toggled the lockers.

PREREQUISITES
  • Understanding of factors and multiples
  • Basic knowledge of perfect squares
  • Familiarity with mathematical reasoning and patterns
  • Ability to analyze sequences and series
NEXT STEPS
  • Explore the properties of perfect squares in number theory
  • Learn about factors and their significance in mathematics
  • Investigate mathematical patterns in toggling problems
  • Study combinatorial problems involving sequences and state changes
USEFUL FOR

Mathematics enthusiasts, educators, students preparing for competitive exams, and anyone interested in problem-solving and logical reasoning.

Alethia
Messages
35
Reaction score
0
1. 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 1, runs down the row of lockers and opens every door.
- Student 2 closes the doors of lockers 2, 4, 6, 8 and so on to the end of the line.
- Student 3 changes the state of the doors of lockers 3, 6, 9, 12 and so on to the end of the line. (the student opens the door if it is closed and closes the door if it is opened)
- Studnet 4 changes the state of the doors 4, 8, 12, 16 and so on. Student 5 changes the state of every fifth door, student 6 changes the state of every sixth, and so on until all 1000 students have had a turn.

When the students are finished, which lockers doors are open?
---
I was REALLY tempted to sit tehr are write out numbers 1-1000 but decided there was an easier way...
 
Physics news on Phys.org
which lockers doors are open?
Try the case when there are only 10 lockers and try to find out a pattern. Then try to explain why the pattern is like this. :smile:
 
There won't be a pattern. Take the factors of each number, include 1 and the number itself. Count the number of factors. This is the number of "state" flips. If it is even, the locker is closed. If it is odd, the locker is open.

Njorl
 
There most certainly is a pattern.
 
Sorry,
I had to do a few more lockers. You're right Hurkyl. For anyone else trying this, more power two ya'. :wink:

Njorl
 
One certainty

Prime numbered lockers will be closed.
 
There's more two it than that. Many other lockers will be closed too.

Njorl
 
All the square numbers will be open...
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 16 ·
Replies
16
Views
13K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 10 ·
Replies
10
Views
5K
  • · Replies 20 ·
Replies
20
Views
8K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 212 ·
8
Replies
212
Views
16K