Read this lesson as text
The Division Algorithm
Number Theory · Axiom Academy
Discover why every division has a unique quotient and remainder - and why it matters. Imagine you have 17 objects and want to divide them into groups of 5. Try it visually below. Use the sliders to explore different division problems. Notice what happens to the quotient and remainder. Why Must the Answer Be Unique? Could there be multiple valid quotients and remainders for the same division? Let's investigate. The Division Algorithm isn't just theoretical - it's the foundation for major areas of mathematics and computer science. RSA encryption relies on modular arithmetic, which is built on the Division Algorithm. Every time you use HTTPS, this concept protects your data. When we say "3 hours after 11:00 is 2:00," we're using remainders. 11 + 3 = 14 ≡ 2 (mod 12). The remainder tells time! The Euclidean Algorithm for finding GCD repeatedly applies the Division Algorithm. It's one of the oldest algorithms still in use! Hash functions use modular arithmetic (remainders) to map data to array indices. This powers fast lookups in databases and programming. For any integers a and d with d > 0, there exist unique integers q (quotient) and r (remainder) such that: Existence: A solution always exists for any valid inputs. Uniqueness: There's exactly one solution - no ambiguity. Constraint: The remainder is always in [0, d), making it predictable and useful.
This is the written version of the interactive lesson above. See the full Number Theory course.