Math Problem Involving 1000 doors

  • Context:
  • Thread starter Thread starter mck3939
  • Start date Start date
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 3K views
mck3939
Messages
2
Reaction score
0
There are 1000 doors. Each one labeled with a number 1-1000. A person opens all doors whose number has one as a factor (which is all of them). Then she closes all doors whose number has two as a factor. Then the person continues to change the status of the doors (opening or closing them) based on the number and factors. What lockers will be open when we reach 1000? How do you show your work?
 
Mathematics news on Phys.org
Hi. Welcome to MHB. (Wave) We ask you to post any work you have tried or any effort and to explain where you are stuck or having trouble therefor our math helpers or anyone who can help has a better idea and understanding of what you have tried so far and where you are standing/stuck. Thank You. :)
 
There are 1000 doors. Each one labeled with a number 1-1000. A person opens all doors whose number has one as a factor (which is all of them). Then she closes all doors whose number has two as a factor. Then the person continues to change the status of the doors (opening or closing them) based on the number and factors. What lockers will be open when we reach 1000? How do you show your work?

I tried first dividing 1000 by 2 to get 500
then 1000 by 3 to get approximately 333
and 1000 by 4 and so on, but I find this is taking forever and is no the best strategy to use. I cannot think of a better one.
 
mck3939 said:
There are 1000 doors. Each one labeled with a number 1-1000. A person opens all doors whose number has one as a factor (which is all of them). Then she closes all doors whose number has two as a factor. Then the person continues to change the status of the doors (opening or closing them) based on the number and factors. What lockers will be open when we reach 1000? How do you show your work?

I tried first dividing 1000 by 2 to get 500
then 1000 by 3 to get approximately 333
and 1000 by 4 and so on, but I find this is taking forever and is no the best strategy to use. I cannot think of a better one.

Hi mck3939! Welcome to MHB! :)

Let's start with door 1.
We open it... and we're done, since 1 is the only number that divides 1.

Next is door 2, which is a prime.
We open it, we close it, and we're done.
So we manipulate it twice, since 1 and 2 are the only numbers that divide 2.

How about, say, doors 3 to 10? (Wondering)