MathDB
n lamps on a circle

Source: Italy TST 2009 p1

March 10, 2012
vectorlinear algebramatrixcombinatorics proposedcombinatorics

Problem Statement

Let n,kn,k be positive integers such that nkn\ge k. nn lamps are placed on a circle, which are all off. In any step we can change the state of kk consecutive lamps. In the following three cases, how many states of lamps are there in all 2n2^n possible states that can be obtained from the initial state by a certain series of operations? i)kk is a prime number greater than 22; ii) kk is odd; iii) kk is even.