A number theory problem by Matthew Tam

Number Theory Level pending

In a school of 1000 students, the 1st student opens all lockers, the 2nd student changes the state of every 2nd locker, the third changes the state of every third locker and so on until all 1000 students have went. How many are open after?


The answer is 31.

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

Mohit Gupta
Jun 12, 2015

Its very simple that only squares no. Will have odd no of factors

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...