Page 1 of 9 · Overview

Lesson 3 of 8 · Number Theory

Modular Arithmetic

Modular arithmetic lets you answer "what's the remainder" or "what's the units digit" questions about enormous numbers without ever computing the full value. The key habit is reducing early and often — never carry a number bigger than the modulus through more than one operation.

Mark your status for this lesson:

Learning objectives

  • Reduce sums, differences, and products modulo m by reducing each term first, not the final result.
  • Find the units digit of a power by identifying its short repeating cycle.
  • Compute large modular exponents efficiently by finding and using the cycle length.
  • Apply the digit-sum shortcut for divisibility and remainders mod 9.