n lamps on a circle
Source: Italy TST 2009 p1
March 10, 2012
vectorlinear algebramatrixcombinatorics proposedcombinatorics
Problem Statement
Let be positive integers such that . lamps are placed on a circle, which are all off. In any step we can change the state of consecutive lamps. In the following three cases, how many states of lamps are there in all possible states that can be obtained from the initial state by a certain series of operations?
i) is a prime number greater than ;
ii) is odd;
iii) is even.