Student 1 flips light bulb 1, 2, 3,...and so on => Bulbs that are multiple of 1
Student 2 flips light bulb 2, 4, 6,...and so on => Bulbs that are multiple of 2
Student 3 flips light bulb 3, 6, 9,...and so on => Bulbs that are multiple of 3
...
...
Student 1000 flips light bulb 1000 => Bulbs that are multiple of 1000
From above we can say that student
k will flip the bulbs that are multiples of
k => thus, a light bulb
j will be flipped by all students for whom
j is a multiple of that student number; in other words, light bulb
j will be flipped by all student no.
i, where i is a factor of
j. Example: Bulb 6 will be flipped by students {1, 2, 3, 6} => factors of 6.
Now, light bulb is initially off, when one student flips it, it goes
on and if a second student flips the same light bulb it goes
off, thus if even number of flips occur => its final status is
off, and if odd number of flips occur => its final status is
onBulb no. 25 is flipped by Students {1, 5, 25} => odd number of flips, final status
onBulb no. 93 is flipped by Students {1, 3, 31, 93} => even number of flips, final status
offBulb no. 576 is flipped by \(576 = 2^6*3^2 = 7*3\) = 21 students => odd number of flips, final status
onAnswer B.