Parity beats counting
An odd number of flips changes a lamp; an even number leaves it unchanged. That is why two identical switch presses cancel.
One press changes a whole neighbourhood. Two presses cancel. Can you find the shortest path from a beautiful mess to perfect darkness?
Press a switch to discover which other lamps it controls.
Every worksheet is generated from a fresh seed. Answers and reachable patterns are verified by the mathematical model.
Worksheet seed —
Use the live switchboard above to investigate.
The glows and connection lines come directly from the same exact binary model that checks every answer.
Switch matrix · presses = starting lights XOR target lights. A solution exists only when the target is reachable.
An odd number of flips changes a lamp; an even number leaves it unchanged. That is why two identical switch presses cancel.
Parity checks are used in digital communication, error-detecting codes, logic electronics and recreational mathematics.
Lights are either ON (1) or OFF (0). Switches act instantly, wiring never changes during a run, and energy, heat and electrical resistance are not modelled. This is a mathematical network, not an electrical safety simulator.