There are 2021 light bulbs in a row, labeled 1 through 2021, each with an on/off switch. They all start in the off position. When 1011 people walk by, they interact with the bulbs as follows:

1. The first person flips the switch on every bulb.
2. The second person flips the switch on every 3rd bulb (bulbs 3, 6, etc.).
3. The third person flips the switch on every 5th bulb.
4. In general, the $k$th person flips the switch on every $(2k - 1)$th light bulb, starting with bulb $2k - 1$.

After all 1011 people have gone by, how many light bulbs are on?

Let's think step by step and output the final answer within \boxed{}.
user