Lecture 2 Flashcards
Define divisibility
We say d divides n (d∣n) whenever n = cd for some c. If d does not divide n, then we write d ∤ n
Give the properties of divisibility
- d∣m and d∣n ⇒ d∣(am + bn).
- ad∣an and a ≠ 0 ⇒ d∣n.
- d∣n and n ≠ 0 ⇒ ∣d∣ ≤ ∣n∣.
- d∣n and n∣d ⇒ ∣d∣ = ∣n∣.
- d∣n and nd ≠ 0 ⇒ (n/d) ∣n.
Define a common divisor
If d∣a and d∣b, then d is called a common divisor of a and b.
What are the three properties of the greatest common divisor
- d ≥ 0.
- d∣a and d∣b.
- e∣a and e∣b ⇒ e∣d.
Define the greatest common divisor
The number d which satisfies the properties seen in the previous Theorem is called the greatest common divisor of a and b, which is denoted by gcd(a, b) or (a, b) or aDb
Euclid’s lemma
If a∣bc and gcd(a, b) = 1, then a∣c.
Define Prime numbers
An integer n is called prime if n > 1 and if the only positive divisors of n are 1 and n itself. If n > 1 and is not a prime, then n is composite
Give theorem 9, the almagamation of several theorems about prime numbers
- Every integer n > 1 is a prime number or a product of prime numbers.
- There are infinitely many prime numbers.
- If p is a prime and p ∤ a, then (p, a) = 1.
- If p is a prime and p∣ab, then p∣a or p∣b. More generally if p∣a1 . . . an, then p divides at least one of the factors.
- (Fundamental Theorem of Arithmetic) Every integer n > 1 can be represented as a product of prime factors in only one way, apart from the order of the factors.
Does the following converge
Sum_(n=1)^infinity 1/p_n
Diverges
Given a and b with b > 0, does there existsa unique pair of integers q and r such that a = bq + r with 0 ≤ r < b.
Yes. Moreover r = 0 if and only if b∣a
What is the Euclidean algorithm
Given positive integers a and b where b ∤ a. Let r0 = a and r1 = b, and apply the division repeatedly to obtain a set of remainders r2, . . . , rn+1 defined succesively by the relations:
See equation sheet
Then r_n = gcd(a,b)