Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2012-11-25 22:42:08

miansons
Member
Registered: 2012-11-25
Posts: 1

Lockers Maths Puzzle

What is the answer to below puzzle? I am unable to solve this.

"A high school has a strange principal. On the first day, he has his students perform an odd opening day ceremony:

There are one thousand lockers and one thousand students in the school. The principal asks the first student to go to every locker and open it. Then he has the second student go to every second locker and close it. The third goes to every third locker and, if it is closed, he opens it, and if it is open, he closes it. The fourth student does this to every fourth locker, and so on. After the process is completed with the thousandth student, how many lockers are open?"

Offline

#2 2012-11-25 23:38:05

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Lockers Maths Puzzle

Hi miansons;


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#3 2012-11-25 23:42:31

Bob
Administrator
Registered: 2010-06-20
Posts: 10,626

Re: Lockers Maths Puzzle

hi bobbym,

How are you today? 

This seems to be a general rule for any number of lockers.  But why?  hhhmmmm

Bob


Children are not defined by school ...........The Fonz
You cannot teach a man anything;  you can only help him find it within himself..........Galileo Galilei
Sometimes I deliberately make mistakes, just to test you!  …………….Bob smile

Offline

#4 2012-11-25 23:43:33

Bob
Administrator
Registered: 2010-06-20
Posts: 10,626

Re: Lockers Maths Puzzle

Arrh! I've just worked out why.

Bob


Children are not defined by school ...........The Fonz
You cannot teach a man anything;  you can only help him find it within himself..........Galileo Galilei
Sometimes I deliberately make mistakes, just to test you!  …………….Bob smile

Offline

#5 2012-11-25 23:44:41

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Lockers Maths Puzzle

Hi Bob;

I am still chugging along.

But why?

Seek and ye shall find.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#6 2012-11-25 23:45:41

Bob
Administrator
Registered: 2010-06-20
Posts: 10,626

Re: Lockers Maths Puzzle

I have.

Sorry I double posted.

Bob


Children are not defined by school ...........The Fonz
You cannot teach a man anything;  you can only help him find it within himself..........Galileo Galilei
Sometimes I deliberately make mistakes, just to test you!  …………….Bob smile

Offline

#7 2012-11-25 23:49:24

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Lockers Maths Puzzle

Hi;

The bulb is lit! Very good!


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#8 2012-11-26 01:10:30

anonimnystefy
Real Member
From: Harlan's World
Registered: 2011-05-23
Posts: 16,049

Re: Lockers Maths Puzzle

Hi guys

The reason is that only lockers whose numbers have and odd number of divisors will become open. Showing that only square numbers satisfy this condition is a piece of pie chart.

Hi Bob

Is this what you meant?

Last edited by anonimnystefy (2012-11-26 01:11:25)


“Here lies the reader who will never open this book. He is forever dead.
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.

Offline

#9 2012-11-26 01:48:14

phrontister
Real Member
From: The Land of Tomorrow
Registered: 2009-07-12
Posts: 4,881

Re: Lockers Maths Puzzle

Hi miansons,

Last edited by phrontister (2012-11-26 10:04:08)


"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson

Offline

#10 2012-11-26 01:48:59

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Lockers Maths Puzzle

Showing that only square numbers satisfy this condition is a piece of pie chart.

Piece of pie chart? That does not sound delicious at all.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#11 2012-11-26 02:29:04

anonimnystefy
Real Member
From: Harlan's World
Registered: 2011-05-23
Posts: 16,049

Re: Lockers Maths Puzzle

Who said it was?

I have to ask you something in the random chatter thread later...


“Here lies the reader who will never open this book. He is forever dead.
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.

Offline

#12 2012-11-26 04:41:12

Bob
Administrator
Registered: 2010-06-20
Posts: 10,626

Re: Lockers Maths Puzzle

Easy as pie chart!

Look at the time between post 3 and post 4.

Impressive speed huh?  smile

Bob

If only the OP was as quick to respond, sob, sob.  sad


Children are not defined by school ...........The Fonz
You cannot teach a man anything;  you can only help him find it within himself..........Galileo Galilei
Sometimes I deliberately make mistakes, just to test you!  …………….Bob smile

Offline

#13 2012-11-26 08:13:47

anonimnystefy
Real Member
From: Harlan's World
Registered: 2011-05-23
Posts: 16,049

Re: Lockers Maths Puzzle

Impressive, indeed. But, why haven't you posted your idea?


“Here lies the reader who will never open this book. He is forever dead.
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.

Offline

#14 2012-11-26 09:15:48

Bob
Administrator
Registered: 2010-06-20
Posts: 10,626

Re: Lockers Maths Puzzle

Thank you.  It is a new policy of mine.  If the OP remains silent then I keep my answer to myself. 

I've been sitting on the 45 degree plane answer for 24 hours.

http://www.mathisfunforum.com/viewtopic.php?id=18465

Bob


Children are not defined by school ...........The Fonz
You cannot teach a man anything;  you can only help him find it within himself..........Galileo Galilei
Sometimes I deliberately make mistakes, just to test you!  …………….Bob smile

Offline

#15 2012-11-26 09:22:05

anonimnystefy
Real Member
From: Harlan's World
Registered: 2011-05-23
Posts: 16,049

Re: Lockers Maths Puzzle

I can see why you would do that... But, do you really think that there will be an improvement in the response of OPs?


“Here lies the reader who will never open this book. He is forever dead.
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.

Offline

#16 2012-11-26 09:48:34

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Lockers Maths Puzzle

I have to ask you something in the random chatter thread later...

It better not be my age.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#17 2012-11-26 09:53:05

Bob
Administrator
Registered: 2010-06-20
Posts: 10,626

Re: Lockers Maths Puzzle

Stefy wrote:

But, do you really think that there will be an improvement in the response of OPs?

No it probably won't.  But it will help to stop me getting annoyed when I've spent time on a problem and typing it up and then [blank]

bobbym wrote:

It better not be my age.

But we know you'll never tell that.  btw.  I'm still working on Phrontister's puzzle.

Bob


Children are not defined by school ...........The Fonz
You cannot teach a man anything;  you can only help him find it within himself..........Galileo Galilei
Sometimes I deliberately make mistakes, just to test you!  …………….Bob smile

Offline

#18 2012-11-26 09:57:59

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Lockers Maths Puzzle

Phrontister is brilliant but standing upside for his entire 28 years has affected his judgement. He believes that he saw me in 1904 at the fair.

His puzzle is going to place me at about 350 years old.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#19 2012-11-26 10:24:30

Bob
Administrator
Registered: 2010-06-20
Posts: 10,626

Re: Lockers Maths Puzzle

Have you solved his puzzle then ?

I kinow from what I have done so far, that it will not make you more than 100 .

So he couldn't have seen you in 1904.

1913 I could believe.

Bob


Children are not defined by school ...........The Fonz
You cannot teach a man anything;  you can only help him find it within himself..........Galileo Galilei
Sometimes I deliberately make mistakes, just to test you!  …………….Bob smile

Offline

#20 2012-11-26 10:34:21

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Lockers Maths Puzzle

Hi;

No, I have never solved that problem.

1913 is not correct. Phrontister is a good friend and a cousin but he is unable to see the contradiction between my age and my appearance at the fair.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#21 2012-11-26 10:45:00

phrontister
Real Member
From: The Land of Tomorrow
Registered: 2009-07-12
Posts: 4,881

Re: Lockers Maths Puzzle

bobbym wrote:

He believes that he saw me in 1904 at the fair.

No! No! No! Closure is closure!!

phrontister wrote:

I think that's it, Bobby!

I was probably so swept along with the whole "I've gotta know how old Bobby is and what he looks like" thing here on MIF that my imagination took hold. No other explanation makes sense...so, closure at last! smile

bobbym wrote:

I believe you are probably imagining the whole thing. I mean some people want to believe so bad that they have seen me that they just think they did.

Btw, I improved my C1 formula in my post #9 by removing a duplication, making it more succinct. I'm glad I spotted this now before the OP did.

Hi, Bob. So someone is actually working on my puzzle! up When you've solved it, I'd be very interested to see how you went about it. smile


"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson

Offline

#22 2012-12-13 23:56:15

mathaholic
Member
From: Earth
Registered: 2012-11-29
Posts: 3,251

Re: Lockers Maths Puzzle


Mathaholic | 10th most active poster | Maker of the 350,000th post | Person | rrr's classmate
smile

Offline

Board footer

Powered by FluxBB