BEACON/ENGINETHE MODULAR TIMEKEEPER

MATHEMATICS / NUMBER THEORY / LIVE EXHIBIT

When do the clocks
agree?

Three signals. Three repeating rhythms. One hidden meeting time. Drag the luminous markers, turn the master clock and discover why remainders unlock the answer.

01 / INTERACTIVE CHAMBER

The signal alignment lab

MODEL RUNNING LOCALLY
PHASE CLOCKS / LIVE VIEWCalculating…
Your browser needs Canvas support.
EVENT STRIP / EXACT INTEGER TICKS

Each dot is a real flash. Green indicates a shared flash.

CLICK TO SEEK
FIRST SHARED FLASH—smallest non-negative tick
FULL REPEAT PERIOD105 ticksleast common multiple
SIGNALS FLASHING NOW0 / 3test each clock remainder
NUMBER THEORY RULECompatibleone or more matching ticks
02 / MATHEMATICS FIELD NOTES

Solve the signal mysteries

BEGINNERCHALLENGE 01 / 08

Loading your challenge…

tick
Work it out with the clocks, then check your result.
03 / DISCOVER THE MATHEMATICS

Behind the hidden rhythm

01

Read a remainder

The expression t ≡ r (mod n) means that dividing tick t by period n leaves remainder r. Each glowing marker picks one remainder.

17 ≡ 2 (mod 5)

02

Predict an alignment

Find a tick satisfying all the chosen remainder conditions. With pairwise coprime periods, the Chinese Remainder Theorem guarantees one answer per product of the periods.

t ≡ r₁ (mod n₁), …

03

Recognise impossibility

For two periods a and b, their required phases must agree modulo gcd(a,b). If they do not, the lamps can never synchronise.

r₁ ≡ r₂ (mod gcd(a,b))

WHY THIS MATTERS

From clock hands to communication networks.

The same mathematics helps analyse repeating transport connections, cyclic machine schedules and timing protocols. Modular arithmetic is also a building block in computer science and cryptography.

Model assumptions & accuracy notes +

The simulation uses exact integer arithmetic for discrete ticks. A signal flashes at every integer time t ≥ 0 with t mod period = phase. All signals share one perfect clock; pulses have zero duration, no jitter and no propagation delay. A signal with phase zero flashes at tick zero.

The master cycle is the least common multiple of all periods. The generalised Chinese Remainder Theorem is used for overlapping, non-coprime periods as well as coprime ones. The display is a conceptual visualisation, not a model of physical lamps or satellite orbital dynamics.

Made with 🤖 ChatGPT