In a room, there are lights numbered with positive integers , , , . At the beginning of the game subsets , , , of can be chosen. For every integer , there is a button that turns on the lights corresponding to the elements of and also a button that turns off all the lights corresponding to the elements of . For any positive integer , determine the smallest for which it is possible to choose the sets , , , in such a way that allows any combination of the lights to be turned on, starting from the state where all the lights are off.
, 2025
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.