Read this lesson as text
Clock Arithmetic
Discrete Math · Axiom Academy
Discover how numbers wrap around on a clock – the foundation of modular arithmetic! You know how clocks work: after 12 o'clock comes 1 o'clock again. But have you ever wondered what this tells us about numbers? Set a starting time and add hours to see what happens! Standard clocks use 12-hour format, but military time uses 24 hours. Same time, different moduli! Watch how the same addition behaves on both clocks. Now that you've explored clock arithmetic, try these practice problems! Clock arithmetic is modular arithmetic . When we say a ≡ b (mod n), we mean "a and b have the same remainder when divided by n." This wrapping behavior appears everywhere in mathematics and computer science! Modular arithmetic powers cryptography (RSA encryption), hash functions, computer graphics (angles), music theory (octaves), and scheduling systems. It's one of the most practical areas of discrete mathematics! Modular arithmetic creates algebraic structures called "rings" and "fields." These structures have fascinating properties: inverses, prime moduli, the Chinese Remainder Theorem, and Fermat's Little Theorem all emerge from this simple clock concept!
This is the written version of the interactive lesson above. See the full Discrete Math course.