All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Numbers
Lockers (Posted on 2002-12-06) Difficulty: 2 of 5
There is a wall with 1000 closed lockers on it. A person walks down the hall opening every other locker. Then the next person opens every 3rd locker. The next opens every fourth locker. The next every fifth locker.

Once this has been done, how many lockers are still closed?

See The Solution Submitted by Erin    
Rating: 3.0000 (7 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
2 solutions | Comment 6 of 11 |
If you assume you are counting open as well as closed lockers, then your answer is the set of numbers 1 to 1000 that are relatively prime to 2, 3, 4, and 5. (i.e., 1,7,11,13,17... etc.) This equals 266 lockers. If you started opening with the first locker, then it is the same set +1 (i.e., 2,8, 12, 14, 18... etc.), also equal to 266 lockers.

If you count only *closed* lockers (not a valid assumption based on the wording), then the answer has been given 1000*1/2*1/3*1/4*1/5 (although it's not that simple due to rounding) = 201.
  Posted by out4blood on 2003-02-20 04:34:41
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (3)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information