Labs / Mathematics

Modular Arithmetic

The numbers 0 to m − 1 sit on a circular clock. Press play and the hand hops around by k each tick — adding or multiplying — drawing chords that trace the pattern of the operation. Tap any number to start the walk somewhere new, and drag the sliders to change the modulus and the step.

Labs / Mathematics / Modular Arithmetic

Mathematics20–30 minFoundation

Modular Arithmetic

The numbers 0 to m − 1 sit on a circular clock. Press play and the hand hops around by k each tick — adding or multiplying — drawing chords that trace the pattern of the operation. Tap any number to start the walk somewhere new, and drag the sliders to change the modulus and the step.

Why it matters

Why explore this?

Mathematics helps us describe patterns precisely and predict what comes next. This model turns an abstract relationship into something you can change and observe.