1 Numbers and Arithmetic Flashcards
Definition 1.1:
a|b
Let a, b ∈ Z. a divides b, written a | b, if there exists n∈Z such that an=b.
Definition 1.1:
Prime numbers
For p∈N, p is prime if:
- p≥2
- ∀a∈N, a|p ⇒ a=1or a=p.
Lemma 1.3:
1. if a|b and b|a
1. if m|a and m|b
Let a, b, m ∈ Z.
1. If a|b and b|a, then a=±b.
1. If m|a and m|b, then m|λa+μb for all λ,μ∈Z.
Proposition 1.4:
Product of primes
Every integer >1 is a product of primes,
i.e., each m∈Z satisfying m≥2 can be written as
m = Πᵏᵢ₌₁ (pᵢ) = p₁ p₂ … pₖ
for some k ≥ 1, where p₁,…,pₖ are primes that need not be distinct.
Definition 1.6:
lcm
Let m,n∈N.
lcm(m,n) is the smallest a∈N such that m|a and n|a.
Definition 1.6:
gcd
Let m,n∈N.
gcd(m,n) is the largest a∈N such that a|m and a|n.
Definition 1.6
coprime
If gcd(m,n) = 1.
m,n∈N
Remark 1.7:
gcd of m/g and n/g
Let g := gcd(m,n). We claim that m/g and n/g are coprime.
Theorem 1.9
Euclid’s theorem
There are infinitely many primes.
Proposition 1.10:
Bézout identity
For a, b ∈ N, let g be the smallest positive integer
in the set S = { λa + μb | λ, μ ∈ Z}.
Then g = gcd(a, b).
i.e. gcd(a, b) = λa + μb for some λ, μ ∈ Z.
Lemma 1.14:
Computing all Bézout identities
For a, b ∈ N, write g = gcd(a, b).
Suppose that λ, μ ∈ Z give a particular Bézout identity g = λa + μb.
Then every Bézout identity is of the form g = (λ + α)a + (μ − β)b for some α, β ∈ Z, where αa = βb.
Lemma 1.16:
Euclid’s Lemma
Let a, b ∈ Z and p be a prime. Then p|ab ⇒ (p|a or p|b).
More generally p|(a₁… aₖ) ⇒ p|aᵢ for some 1 ≤ i ≤ k.
Theorem 1.17:
Fundamental Theorem of Arithmetic
Every integer >1 can be written uniquely (upto the choice of order) as a product of primes.
i.e., each m∈Z satisfying m≥2 can be written as
m = Πᵏᵢ₌₁ (pᵢ) = p₁ p₂ … pₖ
for some k ≥ 1, where the primes p₁,…,pₖ are uniquely determined by m.
Lemma 1.19:
gcd and lcm
Consider d, m, n ∈ N. Then:
1. gcd(m,n) · lcm(m,n) = m·n
1. m|d and n|d iff lcm(m,n)|d.
Definition 1.21:
Congruence modulo n
For n∈N and a,b∈Z,
a and b are congruent modulo n iff n|(a−b).
So a≡b (mod n).
Lemma 1.22:
Modulo
For a ∈ Z, there exists r satisfying 0 ≤ r < n such that a ≡ r (mod n).
i.e. every int is congruent modulo n to an integer r in the range 0≤r<n.