Consider a linear arrangement of seven bulbs, each of which can be in the ON or OFF states. The initial configuration of the bulbs is shown in the figure. In every Step, the states of the bulbs are changed based on the following rules:
- Any OFF bulb with exactly one ON neighbor at the end of the previous Step is turned ON.
- Any ON bulb with both neighbors ON at the end of the previous Step is turned OFF.
- The state of any bulb not meeting the conditions above is left unchanged.
The state of bulbs at the end of Step 1 and Step 2 are also shown in the figure.
The number of bulbs which are ON at the end of Step 8 is ______
Tap to open full sizeFigure description
Three horizontal rows of seven bulb icons joined by short dashes, stacked vertically. A legend on the right shows a hollow (white) bulb labelled 'ON' and a filled (black) bulb labelled 'OFF'. Row 1, labelled 'Initial' on its left: black, black, black, white, black, black, black (only the 4th bulb ON). Below it the label 'Step 1' with a downward arrow. Row 2: black, black, white, white, white, black, black (bulbs 3, 4, 5 ON). Below it the label 'Step 2' with a downward arrow. Row 3: black, white, white, black, white, white, black (bulbs 2, 3, 5, 6 ON).
- (A)
5
- (B)
4
- (C)
3
- (D)
0