PDA

View Full Version : Maths problem 00/03/2009















Wongo
1st March 2009, 08:49 PM
My mate Groggy gave me this challenge the other day. I found it interesting. Do you want to have a go? :U

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?

Groggy
1st March 2009, 08:56 PM
I'll be interested to see if anyone can beat Wongo's time :wink:

Wongo
1st March 2009, 09:05 PM
:D

BTW groggy, there is very little to do with binary. Your hint didn't really help. :U

Groggy
1st March 2009, 09:13 PM
If you were a lateral rather than a logical thinker, it would have been obvious :p

Wongo
1st March 2009, 09:16 PM
I don't agree with you.:rolleyes:

:D

fenderbelly
1st March 2009, 11:26 PM
none ---they open them all for the kids returning to school

switt775
1st March 2009, 11:36 PM
For 100 lockers, the answer is 10.

Hint: The answer is 10 for any number of lockers between 100 and 120.

Wongo
2nd March 2009, 09:03 AM
10 is the right answer. :2tsup:

What is the hint for?

journeyman Mick
2nd March 2009, 09:11 AM
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:p

mic-d
2nd March 2009, 09:15 AM
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:p
and not even God had to work 'til the Nth day

Cheers
Michael

switt775
2nd March 2009, 09:16 AM
10 is the right answer. :2tsup:

What is the hint for?

Are you asking me to reveal the calculation method, or do we leave it hanging a little longer?

Wongo
2nd March 2009, 09:17 AM
Mick :smack:


:D

Wongo
2nd March 2009, 09:21 AM
Are you asking me to reveal the calculation method, or do we leave it hanging a little longer?

Does your hint really lead people to the right answer? I do not think so. Probably just as bad as groggy's. :D

switt775
2nd March 2009, 09:28 AM
Does your hint really lead people to the right answer? I do not think so. Probably just as bad as groggy's. :D


So as not to spoil the fun for everyone, I'll PM you the answer.

Wongo
2nd March 2009, 09:41 AM
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. :D

switt775
2nd March 2009, 09:46 AM
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. :D

I'll put it on my to do list.

Groggy
2nd March 2009, 10:33 AM
Next week will be a program to descend a lander to Mars. I intend to sell it to NASA, they need some help :D

Ashore
2nd March 2009, 01:32 PM
but will it be in inches or meters :D

cadeuceus
2nd March 2009, 01:42 PM
If the plan had metres, there would be descriptions of lengths, but if it had meters then it would be in verse (such as iambic pentameter)....:)

Laffin' quietly to self

Ashore
2nd March 2009, 01:44 PM
depends on the type of meters , pressure , flow , temp....:rolleyes:

Wongo
2nd March 2009, 01:51 PM
Parking??