Based on the relationship between each polygon and the number inside it, the value of ' $X$ ' is $\_\_\_\_$

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 $\_\_\_\_$

$P$ and $Q$ are two positive integers such that $P^2=Q^2+13$.
The product of the numbers $P$ and $Q$ is $\_\_\_\_$
GATE EE Papers
All year-wise previous year question papers