Lamps to be turned on in at most $k$ moves
Source: Macedonian TST 2022, P1
May 21, 2022
combinatoricsTST
Problem Statement
Let be a fixed positive integer. There are lamps in a row, some of them are on and some are off. In a single move, we choose a positive integer () and switch the state of the first lamps from the left. Determine the smallest number with the property that we can make all of the lamps be switched on using at most moves, no matter what the initial configuration was.Proposed by Viktor Simjanoski and Nikola Velov