Learn modular arithmetic
Numbers “wrap around” after reaching n, just like hours on a clock. If there are 12 stations, 9 + 5 = 14 becomes station 2 because 14 mod 12 = 2.
Give a number circle one rule. Watch it weave an astonishing pattern. Then discover why every journey repeats.
For this ring size, the graph shows how many unique stations each possible jump visits. Click a bar to change your experiment.
One complete start orbit, written as a sequence. Each station occurs once until you return home.
Ten procedurally generated investigations, from first predictions to live construction challenges. Every answer is checked against the actual mathematical model.
—Numbers “wrap around” after reaching n, just like hours on a clock. If there are 12 stations, 9 + 5 = 14 becomes station 2 because 14 mod 12 = 2.
After j jumps of length k from station s, the position is (s + jk) mod n. The shortest repeating period is n / gcd(n, k).
Every station belongs to exactly one cycle. There are gcd(n, k) equal-sized cycles. A jump reaches every station precisely when gcd(n, k) = 1.
Clock arithmetic, cyclic timetables, rotating shift patterns, ring networks, repeating textile designs and introductory cryptography all use the same mathematical idea.
Stations are equally spaced, numbered from 0 to n−1. Every jump adds exactly the same whole number; nothing changes the rule between jumps. The connecting chords illustrate number relationships, not physical travel or distance.