MindYourPuzzleMindYourPuzzle
Insight · ★★★☆☆ · ~7 min

Light Bulbs in a Circle (State Space Proof)

Bulbs in a circle toggle by a rule. Does the all-ON state always return?

by MindYourPuzzle

N light bulbs in a circle, all initially ON. At step t, inspect bulb t mod N: if ON, toggle the next bulb; if OFF, do nothing.

Prove the bulbs eventually all return to ON.

Hints