Welcome to MindCipher, a social repository of the world's greatest brain teasers, logic puzzles and mental challenges.

## 100 Light Bulbs 16

There are 100 light switches, all of them are off. First, you walk by them, turning all of them on. Next, you walk by them turning every other one off. Then, you walk by them changing every third one. On your 4th pass, you change every 4th one.

You repeat this for 100 passes. At the end, how many lights will be on?

Each of the 100 light switches changes its state on passes whose number is a factor of the light switch's number. For example, the 12th light will change its state on the 1st, 2nd, 3rd, 4th, 6th, and 12th passes.

Factors usually come in pairs: (1, 12), (2, 6), (3, 4), so there's an even number of them. If the light's state gets changed an even number of times, it'll remain off.

Only for perfect squares do the factors not come in pairs. For example, 9 will get changed on the 1st, 3rd, and 9th passes (it only has 3 factors). So perfect squares have an odd number of unique factors and so end up on. There are 10 perfect squares between 1 and 100.

Vishal barot

excellent quiz !

leilei3915

2018529 leilei3915

# polo ralph lauren outlet

leilei3915

2018529 leilei3915

# polo ralph lauren outlet

Check out other puzzles:

Like this? You might also like:
Coin Flip
What is the sum of 1+2+3+4+5 . . . (forever)?
Prisoners and hats
Submitted by
Aakash
over 7 years ago
Likes
Difficulty 7.6 ?

Tags