Mathematical System
Mathematical System
Modular Arithmetic
-numbers are wrap around upon reaching a given fixed quantity to leave a remainder.
Example:
1. Determine the time 8 hours after 3 o’clock.
2. Determine the time 8 hours after 9 o’clock.
3. Determine the time 9 hours after 7 o’clock.
4. Determine the time 9 hours before 7 o’clock.
CONGRUENCE
We use the symbol (≡ ) to show that two numbers are congruent.
a ≡ b (mod n), reads as "a is congruent to b modulo n"
If b is a negative number keep adding 'n' to 'b' until the result is 0 or a positive number. You are allowed to add
more than one times the modulus n. The result is your remainder or least residue. The remainder must be in the
range of 0 to n-1.
If b < n (b is less than n): This means that 'b' is already within the range of possible remainders. Remember,
remainders when dividing by n must be between 0 and n-1.