Week 1 Flashcards
Define the terms:
- divisor
- prime number
- composite number
Let a, b ∈ ɴ
- if a divides b, then a is a divisor of b (and b is a multiple of a)
- if a has only two distinct divisors (which will be 1 and a), then a is prime
- if a has more than two distinct divisors, then a is composite
How do you determine whether one natural number divides another?
If a divides b then there exists some c ∈ ɴ such that b = ac
Use the definition of a divisor to prove the following basic results about divisibility.
Let a, b, q ∈ ɴ.
- Show that if q | a then q | ab
- Show that if a | b and a | c, then a | (b + c)
- If q | a, then there exists some c ∈ ɴ such that a = qc
- Multiplying both sides by b, we see that ab = qcb
- Associating terms to highlight the result, we have ab = q(bc), which is to say that q | ab
- If a | b, then there exists some k1 ∈ ɴ such that b = ak1
- Similarly, if a | c, then there exists some k2 ∈ ɴ such that c = ak2
- In this case, b + c = ak1 + ak2 = a(k1 + k2)
- Thus we see that a | (b + c)
State the Fundamental Theorem of Arithmetic
Every natural number can be expressed as a product of primes:
Let n ∈ ɴ. Then we can write n in the form
n = p1i1p2i2…pkik
where p1, p2, …, pk ∈ ɴ are distinct primes and i1, i2, …, ik ∈ ɴ.
Furthermore, there is only one such representation (aside from reordering the primes) for each number.
Define the terms:
- greatest common divisor
- lowest common multiple
- coprime (using a prior definition here)
- gcd(a, b) is the largest n ∈ ɴ such that n | a and n | b
- lcm(a, b) is the smallest n ∈ ɴ such that a | n and b | n
- if gcd(a, b) = 1 then a and b are coprime
Apply the Euclidean Algorithm to find the greatest common divisor of [two natural numbers]
Apply the Extended Euclidean algorithm to natural numbers a, b in order to find integers s, t with as + bt = gcd(a, b)
Is the number 1 composite or prime?
Why? (Refer to definitions of composite and prime)
Neither, because it does not have two distinct divisors, or more than two distinct divisors