Results 1 to 15 of 21
Thread: Maths problem 00/03/2009
-
1st March 2009, 08:49 PM #1
Maths problem 00/03/2009
My mate Groggy gave me this challenge the other day. I found it interesting. Do you want to have a go?
In my daughter's school, there are 100 lockers, numbered 1 to 100; the summer break also happens to be exactly 100 days long; and even the cleaners are interested in numbers.
On the first day of summer, all the lockers are unlocked. The cleaner then walks by and, for every locker, locks it if it was unlocked, and unlocks it if it was locked. (Since all the lockers were unlocked, that means he locks each one.)
On the second day, the cleaner walks by and, for every 2nd locker starting with #2, locks it if it was unlocked, and unlocks it if it was locked. (Since all the lockers were locked after the first day, that means he unlocks each one.)
On the third day, he walks by and, for every 3rd locker starting with #3, locks it if it was unlocked, and unlocks it if it was locked. (Now, some lockers get locked and some unlocked.)
On the Nth day, of course, he walks by and, for every Nth locker starting with #N, locks it if it was unlocked, and unlocks it if it was locked.
After 100 days, how many lockers are locked?Visit my website at www.myFineWoodWork.com
-
1st March 2009, 08:56 PM #2
-
1st March 2009, 09:05 PM #3
BTW groggy, there is very little to do with binary. Your hint didn't really help.Visit my website at www.myFineWoodWork.com
-
1st March 2009, 09:13 PM #4
-
1st March 2009, 09:16 PM #5
-
1st March 2009, 11:26 PM #6
none ---they open them all for the kids returning to school
Cheers Fred
The difference between light and hard is that you can sleep with the light on.
http://www.redbubble.com/people/fredsmi ... t_creative"
Updated 26 April 2010
http://sites.google.com/site/pomfred/
-
1st March 2009, 11:36 PM #7
For 100 lockers, the answer is 10.
Hint: The answer is 10 for any number of lockers between 100 and 120.
-
2nd March 2009, 09:03 AM #8
-
2nd March 2009, 09:11 AM #9
Why is the bloody cleaner mucking around locking and unlocking lockers instead of cleaning? I think that's a question of much greater importance.
Mick"If you need a machine today and don't buy it,
tomorrow you will have paid for it and not have it."
- Henry Ford 1938
-
2nd March 2009, 09:15 AM #10
-
2nd March 2009, 09:16 AM #11
-
2nd March 2009, 09:17 AM #12
-
2nd March 2009, 09:21 AM #13
-
2nd March 2009, 09:28 AM #14
-
2nd March 2009, 09:41 AM #15
Hey switty, you should come to the drivel forum on Fridays. Groggy gives me one of these every time. I am sure you will enjoy it as much as I do. It is fun.
Visit my website at www.myFineWoodWork.com
Similar Threads
-
Maths problem 9999
By Wongo in forum Woodies Quiz ForumReplies: 92Last Post: 9th April 2009, 03:50 PM -
maths question
By SPIRIT in forum NOTHING AT ALL TO DO WITH RENOVATIONReplies: 31Last Post: 6th March 2008, 08:29 AM -
Maths problem
By Iain in forum JOKESReplies: 22Last Post: 10th February 2004, 02:44 PM
Bookmarks