A school had 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?
Try and solve this logical maths puzzle yourself.
You may also like:
- A Combination Problem
- Living Place of Mosquito!!
- Horsepower Problem
November 4th, 2009 - 09:08
The answers will be all the perfect squares because perfect squares have odd no.s of factors.
November 3rd, 2009 - 14:45
Yes Mohit is correct.
November 2nd, 2009 - 11:45
I tried upto 10, and found that the doors remaining open are the ones which are perfect squares.
So it had to be true for 1000 also.
November 2nd, 2009 - 10:58
@Mohit: can u explain how you got this answer.
November 2nd, 2009 - 10:56
31 : Number of perfect squares between 1 and 1000.