Mental Model
Modular arithmetic means working with numbers that wrap around after reaching a certain value, called the modulus.
Analogy: Think of a clock: after 12 hours, it goes back to 1. Numbers in modular arithmetic behave like hours on a clock, wrapping around after reaching the modulus.
Number line: 0 -> 1 -> 2 -> ... -> (modulus-1) -> back to 0 Example with modulus 5: 0 -> 1 -> 2 -> 3 -> 4 -> back to 0
