Number Theory Flashcards
What does a|b mean?
a divides/is a divisor/ a factor/ a multiple of b
Division Algo
a = bq+r where q is the quotient and r is the remainder
Congruence Modulus
if m divides (a-b)
also known as a ≡ b (mod m)
Congruence Modulus Theorem
If a ≡ b (mod m) and c ≡ d (mod m)
then:
a + c ≡ b + d (mod m)
a -c ≡ b - d (mod m)
ac ≡ bd (mod m)
a^n ≡ b^n (mod m)
Corollary for the Congruence Modulus Theorem
(a + b) mod m ≡ ((a mod m) + (b mod m)) mod m
(a x b) mod m ≡ ((a mod m) x(b mod m)) mod m
Arithmetic Addition
a ⊕ b = (a + b ) mod m
Arithmetic Multiplication
a ⨂ b = (a x b) mod m
Commutative property for arithmetic addition and multiplication
a ⊕ b = b ⊕ a
a ⨂ b = b ⨂ a
Associative property for arithmetic addition and multiplication
a ⊕ (b ⊕ c) = (a ⊕ b) ⊕ c
a ⨂ (b ⨂ c) = ( a ⨂ b) ⨂c
Identity property for arithmetic addition and multiplication
a ⊕ 0 = a
a ⨂ 1 = a
a ⨂ 0 = 0
The distributive property for arithmetic addition and multiplication
a ⨂ ( b ⊕ c) = ( a ⨂ b) ⊕ (a ⨂ c)
Modular Subtraction
a ⊖ b = (a - b) mod m
Modular Reciprocal
a^-1 = b
Modular Division
a ⨂ b ^ -1
Prime Number
has exactly two positive divisors 1 and itself