Concept Flow - Modular Arithmetic Basics
Start with numbers a and b
Choose modulus m
Calculate a mod m
Calculate b mod m
Perform operation (add, subtract, multiply) on results
Take result mod m
Result
Start with two numbers and a modulus. Find their remainders mod m, perform the operation, then take mod m again to get the final result.
