Try it !!

In a school activity, 1000 students are participating. There are 1000 lockers. The teacher asks the first student to go to each locker and open it. Then he asks the second student to go to every second locker and close it. The third student is asked to go to every third locker and open it if it is closed and vice versa. The fourth student does the same for every fourth locker and so on. After all 1000 students do the same, how many lockers will remain open?

75 31 48 59

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Kanika Kachhwaha
Jun 7, 2014

All lockers with odd no. of factors will remain open.

Since perfect squares have odd number of factors, all lockers with perfect squares less than 1000 will remain open. Now, the largest perfect square number less than 1000 is 961 = Square of 31.

Hence, Number of lockers which will remain open = 31

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...