Question 6
Number theory · Combinatorics BDMO 2023 Regional · Dhaka
There are 2023 light-bulbs in a line with indexing . Initially, all of them are switched off. Zahin, switches on evey even indexed light-bulb. In the next step, he alters each light-bulb with index divisible by 4. He continues this process until he does not have any light-bulb to alter (in his step, he alters each light-bulbs with index divisible by ). After Zahin is done, how many light-bulbs will be switched on? (An alteration means: if the light bulb is off, Zahin will switch it on, and if it is switched off, he will switch it on.)