Placement AptitudeVery hardGoldman Sachs aptitude · Amazon

A corridor has 200 bulbs numbered 1 to 200, all initially ON. Person 1 toggles every bulb, person 2 toggles every 2nd bulb, person 3 every 3rd bulb, and so on up to person 200. How many bulbs are ON at the end?

  1. A. 14
  2. B. 185
  3. C. 186
  4. D. 100

Correct answer: C. 186

Bulb k is toggled once per divisor of k. Only perfect squares have an odd number of divisors, so only they change state, from ON to OFF. There are 14 squares up to 200, leaving 200 − 14 = 186 ON. 14 is the answer if the bulbs start OFF.

More Logical Reasoning for Placements questions

Exams that ask this topic