n lamps numbered 1, 2, ..., n be connected in cyclic order , turn on off lamps
Source: Indian Postal Coaching 2009 set 5 p6
May 26, 2020
combinatorics
Problem Statement
Let and lamps numbered be connected in cyclic order: to to to to . At the beginning all lamps are off. If the switch of a lamp is operated, the lamp and its neighbors change status: off to on, on to off. Prove that if does not divide , then (all the) configurations can be reached and if divides , then configurations can be reached.