Modular Arithmetic
Modular Arithmetic
Modular Arithmetic
12
11
Congruent Modulo
DEFINITION!
1.
1.
• Addition:
• EXAMPLE:
• 1.
• 2.
• Subtraction:
• EXAMPLE:
• 1.
• 2.
• 1.
• 2.
ADDITIVE INVERSE IN
MODULAR ARITHMETIC
MULTIPLICATIVE INVERSE
IN MODULAR
ARITHMETIC
• If the product of two numbers is 1, then the numbers are multiplicative
inverses of each other. The same concept applies to modular
arithmetic (although the multiplicative inverses will always be natural
numbers).
• 4 in modulo 6 arithmetic
• 2 in modulo 7 arithmetic