Chapter 4 - Number Theory and Cryptography Flashcards
Excludes: 4.5 - Applications of Congruences & 4.6 - Cryptography
a | b (a divides b)
there is an integer x such that b = ac
a and b are congruent modulo m
m divides a - b
modular arithmetic
arithmetic done modulo an integer m ≥ 2
prime
an integer greater than 1 with exactly two positive integer divisors
composite
an integer greater than 1 that is not prime
Mersenne prime
a prime in the form 2ᵖ - 1, where p is prime
gcd(a, b) (greatest common divisor of A and b)
the largest integer that divides both a and b
relatively prime integers
integers a and b such that gcd(a, b) = 1
pairwise relatively prime integers
a set of integers with the property that every pair of these integers is relatively prime
lcm(a, b) (least common multiple of a and b)
the smallest positive integer that is divisible by both a and b
a mod b
the remainder when the integer a is divided by the positive integer b
a ≡ b (mod m) (a is congruent to b modulo m)
a - b is divisible by m
n = (aₖaₖ₋₁ . . . a₁a₀)ₓ
the base x representation of n
binary representation
the base 2 representation of an integer
octal representation
the base 8 representation of an integer