There are
candles which are numbered from 1 to 100.There are 100 students.
The 1st student lights up all the candles.
The 2nd student changes the state of the candles(lights up or lights off) which are multiples of
.
The 3rd student changes the state of the candles(lights up or lights off) which are multiples of
.
This continues till the 100th student.
Find how many candles are still lightened up in the end.
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.
It is same as "How many numbers from 1 to 100 has odd amount of positive divisors?"
All perfect squares has odd amount of positive divisors,so the answer is 1,4,9,...,100,total of 10 candles.