Problem 6
There are lamps in a circle, where and . At step , if is lit, switch , otherwise do nothing. Initially all lamps are on. Show that (a) there is a positive integer such that after steps all lamps are on again; (b) if , take ; (c) if , take .
Step 2 of 5: Use a linear round map
In plain words
The infinite-looking process is a finite linear dynamical system.
Detailed analysis
The recurrence defines a linear map T on the finite vector space of 2^n binary states. The original process is the periodic sequence of coordinate updates whose n-step map is T.