A number theory problem by Joshua Cortright

Elliot had 100 light bulb switches. He invited 100 friends over and assigned them a different number from 1 to 100. All of the switches were off. The person who was number 1 flipped every 1st switch, the person who was number 2 flipped every 2nd switch, and so on until the person who was number 100 flipped every 100th switch. How many switches were on at the end?


The answer is 10.

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

展豪 張
Mar 6, 2016

The n n -th bulb has been flipped for d ( n ) d(n) times, where d ( n ) d(n) is the function counting number of divisors of n n .
A bulb is on only if it has been flipped for odd number of times, and only prefect square has odd number of divisors.
There are 10 10 prefect square from 1 1 to 100 100 , so the answer is 100 100 .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...