• No results found

Number Theory, Lecture 1 Integers, Divisibility, Primes

N/A
N/A
Protected

Academic year: 2021

Share "Number Theory, Lecture 1 Integers, Divisibility, Primes"

Copied!
35
0
0

Loading.... (view fulltext now)

Full text

(1)

Number

Theory,

Lecture 1

Jan Snellman

Divisibility

Definition Elementary properties Partial order Prime number Division Algorithm

Greatest

common

divisor

Definition Bezout Euclidean algorithm Extended Euclidean Algorithm

Unique

factorization

into primes

Some Lemmas An importan property of primes Euclid, again Fundamental theorem of arithmetic Exponent vectors Least common multiple

More about

primes

Sieve of Eratosthenes

Number Theory, Lecture 1

Integers, Divisibility, Primes

Jan Snellman 1

1 Matematiska Institutionen

Link¨ opings Universitet

(2)

Number

Theory,

Lecture 1

Jan Snellman

Divisibility

Definition Elementary properties Partial order Prime number Division Algorithm

Greatest

common

divisor

Definition Bezout Euclidean algorithm Extended Euclidean Algorithm

Unique

factorization

into primes

Some Lemmas An importan property of primes Euclid, again Fundamental theorem of arithmetic Exponent vectors Least common multiple

More about

primes

Sieve of Eratosthenes Primes in arithmetic progressions

Summary

1 Divisibility

Definition

Elementary properties

Partial order

Prime number

Division Algorithm

2 Greatest common divisor

Definition

Bezout

Euclidean algorithm

Extended Euclidean Algorithm

3 Unique factorization into primes

Some Lemmas

An importan property of primes

Euclid, again

Fundamental theorem of arithmetic

Exponent vectors

Least common multiple

4 More about primes

Sieve of Eratosthenes

Primes in arithmetic progressions

(3)

Number

Theory,

Lecture 1

Jan Snellman

Divisibility

Definition Elementary properties Partial order Prime number Division Algorithm

Greatest

common

divisor

Definition Bezout Euclidean algorithm Extended Euclidean Algorithm

Unique

factorization

into primes

Some Lemmas An importan property of primes Euclid, again Fundamental theorem of arithmetic

Summary

1 Divisibility

Definition

Elementary properties

Partial order

Prime number

Division Algorithm

2 Greatest common divisor

Definition

Bezout

Euclidean algorithm

Extended Euclidean Algorithm

3 Unique factorization into primes

Some Lemmas

An importan property of primes

Euclid, again

Fundamental theorem of arithmetic

Exponent vectors

Least common multiple

4 More about primes

Sieve of Eratosthenes

Primes in arithmetic progressions

(4)

Number

Theory,

Lecture 1

Jan Snellman

Divisibility

Definition Elementary properties Partial order Prime number Division Algorithm

Greatest

common

divisor

Definition Bezout Euclidean algorithm Extended Euclidean Algorithm

Unique

factorization

into primes

Some Lemmas An importan property of primes Euclid, again Fundamental theorem of arithmetic Exponent vectors Least common multiple

More about

primes

Sieve of Eratosthenes Primes in arithmetic progressions

Summary

1 Divisibility

Definition

Elementary properties

Partial order

Prime number

Division Algorithm

2 Greatest common divisor

Definition

Bezout

Euclidean algorithm

Extended Euclidean Algorithm

3 Unique factorization into primes

Some Lemmas

An importan property of primes

Euclid, again

Fundamental theorem of arithmetic

Exponent vectors

Least common multiple

4 More about primes

Sieve of Eratosthenes

Primes in arithmetic progressions

(5)

Number

Theory,

Lecture 1

Jan Snellman

Divisibility

Definition Elementary properties Partial order Prime number Division Algorithm

Greatest

common

divisor

Definition Bezout Euclidean algorithm Extended Euclidean Algorithm

Unique

factorization

into primes

Some Lemmas An importan property of primes Euclid, again Fundamental theorem of arithmetic

Summary

1 Divisibility

Definition

Elementary properties

Partial order

Prime number

Division Algorithm

2 Greatest common divisor

Definition

Bezout

Euclidean algorithm

Extended Euclidean Algorithm

3 Unique factorization into primes

Some Lemmas

An importan property of primes

Euclid, again

Fundamental theorem of arithmetic

Exponent vectors

Least common multiple

4 More about primes

Sieve of Eratosthenes

Primes in arithmetic progressions

(6)

Number

Theory,

Lecture 1

Jan Snellman

Divisibility

Definition Elementary properties Partial order Prime number Division Algorithm

Greatest

common

divisor

Definition Bezout Euclidean algorithm Extended Euclidean Algorithm

Unique

factorization

into primes

Some Lemmas An importan property of primes Euclid, again Fundamental theorem of arithmetic Exponent vectors Least common multiple

More about

primes

Sieve of Eratosthenes Primes in arithmetic progressions

Integers, divisibility

Definition

• Z = {0, 1, −1, 2, −2, 3, −3, . . .}

• N = {0, 1, 2, 3, . . .}

• P = {1, 2, 3, . . .}

Unless otherwise stated, a, b, c, x , y , r , s ∈ Z, n, m ∈ P.

Definition

a|b if exists c s.t. b = ac.

Example

3|12 since 12 = 3 ∗ 4.

(7)

Number

Theory,

Lecture 1

Jan Snellman

Divisibility

Definition Elementary properties Partial order Prime number Division Algorithm

Greatest

common

divisor

Definition Bezout Euclidean algorithm Extended Euclidean Algorithm

Unique

factorization

into primes

Some Lemmas An importan property of primes Euclid, again Fundamental theorem of arithmetic

Lemma

• a|0,

• 0|a ⇐⇒ a = 0,

• 1|a,

• a|1 ⇐⇒ a = ±1,

• a|b ∧ b|a ⇐⇒ a = ±b

• a|b ⇐⇒ −a|b ⇐⇒ a|−b

• a|b ∧ a|c = ⇒ a|(b + c),

• a|b = ⇒ a|bc.

(8)

Number

Theory,

Lecture 1

Jan Snellman

Divisibility

Definition Elementary properties Partial order Prime number Division Algorithm

Greatest

common

divisor

Definition Bezout Euclidean algorithm Extended Euclidean Algorithm

Unique

factorization

into primes

Some Lemmas An importan property of primes Euclid, again Fundamental theorem of arithmetic Exponent vectors Least common multiple

More about

primes

Sieve of Eratosthenes Primes in arithmetic progressions

Theorem

Retricted to P, divisibility is a partial order, with unique minimal element 1.

Part of Hasse diagram

1

2 3

4

5

6

7

9 10 15 14 21 35

Id est,

1 a|a,

2 a|b ∧ b|c = ⇒ a|c,

3 a|b ∧ b|a = ⇒ a = b.

(9)

Number

Theory,

Lecture 1

Jan Snellman

Divisibility

Definition Elementary properties Partial order Prime number Division Algorithm

Greatest

common

divisor

Definition Bezout Euclidean algorithm Extended Euclidean Algorithm

Unique

factorization

into primes

Some Lemmas An importan property of primes Euclid, again Fundamental theorem of arithmetic

Definition

n ∈ P is a prime number if

• n > 1,

• m|n = ⇒ m ∈ {1, n}

(positive divisors, of course −1, −n also divisors)

2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, . . .

(10)

Number

Theory,

Lecture 1

Jan Snellman

Divisibility

Definition Elementary properties Partial order Prime number Division Algorithm

Greatest

common

divisor

Definition Bezout Euclidean algorithm Extended Euclidean Algorithm

Unique

factorization

into primes

Some Lemmas An importan property of primes Euclid, again Fundamental theorem of arithmetic Exponent vectors Least common multiple

More about

primes

Sieve of Eratosthenes Primes in arithmetic progressions

Division algorithm

Theorem

a, b ∈ Z, b 6= 0. Then exists unique k, r , quotient and remainder, such that

• a = kb + r ,

• 0 ≤ r < b.

Example

−27 = (−6) ∗ 5 + 3.

(11)

Number

Theory,

Lecture 1

Jan Snellman

Divisibility

Definition Elementary properties Partial order Prime number Division Algorithm

Greatest

common

divisor

Definition Bezout Euclidean algorithm Extended Euclidean Algorithm

Unique

factorization

into primes

Some Lemmas An importan property of primes Euclid, again Fundamental theorem of arithmetic

Proof, existence

Suppose a, b > 0. Fix b, induction over a, base case a < b, then

a = 0 ∗ b + a.

Otherwise

a = (a − b) + b

and ind. hyp. gives

a − b = k 0 b + r 0 , 0 ≤ r 0 < b

so

a = b + k 0 b + r 0 = (1 + k 0 )b + r 0 .

Take k = 1 + k 0 , r = r 0 .

(12)

Number

Theory,

Lecture 1

Jan Snellman

Divisibility

Definition Elementary properties Partial order Prime number Division Algorithm

Greatest

common

divisor

Definition Bezout Euclidean algorithm Extended Euclidean Algorithm

Unique

factorization

into primes

Some Lemmas An importan property of primes Euclid, again Fundamental theorem of arithmetic Exponent vectors Least common multiple

More about

primes

Sieve of Eratosthenes Primes in arithmetic progressions

Proof, uniqueness

If

a = k 1 b + r 1 = k 2 b + r 2 , 0 ≤ r 1 , r 2 < b

then

0 = a − a = (k 1 − k 2 )b + r 1 − r 2

hence

(k 1 − k 2 )b = r 2 − r 1

|RHS| < b, so |LHS| < b, hence k 1 = k 2 . But then r 1 = r 2 .

(13)

Number

Theory,

Lecture 1

Jan Snellman

Divisibility

Definition Elementary properties Partial order Prime number Division Algorithm

Greatest

common

divisor

Definition Bezout Euclidean algorithm Extended Euclidean Algorithm

Unique

factorization

into primes

Some Lemmas An importan property of primes Euclid, again Fundamental theorem of arithmetic

Example

a = 23,b = 5.

23 = 5 + (23 − 5) = 5 + 18

= 5 + 5 + (18 − 5) = 2 ∗ 5 + 13

= 2 ∗ 5 + 5 + (13 − 5) = 3 ∗ 5 + 8

= 3 ∗ 5 + 5 + (8 − 5) = 4 ∗ 5 + 3

k = 4, r = 3.

(14)

Number

Theory,

Lecture 1

Jan Snellman

Divisibility

Definition Elementary properties Partial order Prime number Division Algorithm

Greatest

common

divisor

Definition Bezout Euclidean algorithm Extended Euclidean Algorithm

Unique

factorization

into primes

Some Lemmas An importan property of primes Euclid, again Fundamental theorem of arithmetic Exponent vectors Least common multiple

More about

primes

Sieve of Eratosthenes Primes in arithmetic progressions

Greatest common divisor

Definition

a, b ∈ Z. The greatest common divisor of a and b, c = gcd(a, b), is defined by

1 c|a ∧ c|b,

2 If d |a ∧ d|b, then d ≤ c.

If we restrict to P, the the last condition can be replaced with

2’ If d |a ∧ d|b, then d|c.

(15)

Number

Theory,

Lecture 1

Jan Snellman

Divisibility

Definition Elementary properties Partial order Prime number Division Algorithm

Greatest

common

divisor

Definition Bezout Euclidean algorithm Extended Euclidean Algorithm

Unique

factorization

into primes

Some Lemmas An importan property of primes Euclid, again Fundamental theorem of arithmetic

Bezout’s theorem

Theorem (Bezout)

Let d = gcd(a, b). Then exists (not unique) x, y ∈ Z so that

ax + by = d .

Proof.

S = { ax + by x, y ∈ Z }, d = min S ∩ P. If t ∈ S, then t = kd + r, 0 ≤ r < d. So

r = t − kd ∈ S ∩ N. Minimiality of d, r < d gives r = 0. So d|t.

But a, b ∈ S , so d |a, d |b, and if ` another common divisor then a = `u, b = `v , and

d = ax + by = `ux + `vy = `(ux + vy )

so `|d . Hence d is greatest common divisor.

(16)

Number

Theory,

Lecture 1

Jan Snellman

Divisibility

Definition Elementary properties Partial order Prime number Division Algorithm

Greatest

common

divisor

Definition Bezout Euclidean algorithm Extended Euclidean Algorithm

Unique

factorization

into primes

Some Lemmas An importan property of primes Euclid, again Fundamental theorem of arithmetic Exponent vectors Least common multiple

More about

primes

Sieve of Eratosthenes Primes in arithmetic progressions

Etienne B´ ´ ezout

(17)

Number

Theory,

Lecture 1

Jan Snellman

Divisibility

Definition Elementary properties Partial order Prime number Division Algorithm

Greatest

common

divisor

Definition Bezout Euclidean algorithm Extended Euclidean Algorithm

Unique

factorization

into primes

Some Lemmas An importan property of primes Euclid, again Fundamental theorem of arithmetic

Lemma

If a = kb + r then gcd(a, b) = gcd(b, r).

Proof.

If c|a, c|b then c|r .

If c|b, c|r then c|a.

(18)

Number

Theory,

Lecture 1

Jan Snellman

Divisibility

Definition Elementary properties Partial order Prime number Division Algorithm

Greatest

common

divisor

Definition Bezout Euclidean algorithm Extended Euclidean Algorithm

Unique

factorization

into primes

Some Lemmas An importan property of primes Euclid, again Fundamental theorem of arithmetic Exponent vectors Least common multiple

More about

primes

Sieve of Eratosthenes Primes in arithmetic progressions

Extended Euclidean algorithm, example

27 = 3 ∗ 7 + 6

7 = 1 ∗ 6 + 1

6 = 6 ∗ 1 + 0

6 = 1 ∗ 27 − 3 ∗ 7

1 = 7 − 1 ∗ 6

= 7 − (27 − 3 ∗ 7)

= (−1) ∗ 27 + 4 ∗ 7

(19)

Number

Theory,

Lecture 1

Jan Snellman

Divisibility

Definition Elementary properties Partial order Prime number Division Algorithm

Greatest

common

divisor

Definition Bezout Euclidean algorithm Extended Euclidean Algorithm

Unique

factorization

into primes

Some Lemmas An importan property of primes Euclid, again Fundamental theorem of arithmetic

Xgcd

Algorithm

1 Initialize: Set x = 1, y = 0, r = 0, s = 1.

2 Finished?: If b = 0, set d = a and terminate.

3 Quotient and Remainder: Use Division algorithm to write a = qb + c with

0 ≤ c < b.

4 Shift: Set (a, b, r , s, x , y ) = (b, c, x − qr , y − qs, r , s) and go to Step 2.

(20)

Number

Theory,

Lecture 1

Jan Snellman

Divisibility

Definition Elementary properties Partial order Prime number Division Algorithm

Greatest

common

divisor

Definition Bezout Euclidean algorithm Extended Euclidean Algorithm

Unique

factorization

into primes

Some Lemmas An importan property of primes Euclid, again Fundamental theorem of arithmetic Exponent vectors Least common multiple

More about

primes

Sieve of Eratosthenes Primes in arithmetic progressions

Lemma

gcd(an, bn) = |n| gcd(a, b).

Proof

Assume a, b, n ∈ P. Induct on a + b. Basis: a = b = 1, gcd(a, b) = 1,

gcd(an, bn) = n, OK.

Ind. step: a + b > 2, a ≥ b.

a = kb + r , 0 ≤ r < b

If k = 0, OK. Assume k > 0.

(21)

Number

Theory,

Lecture 1

Jan Snellman

Divisibility

Definition Elementary properties Partial order Prime number Division Algorithm

Greatest

common

divisor

Definition Bezout Euclidean algorithm Extended Euclidean Algorithm

Unique

factorization

into primes

Some Lemmas An importan property of primes Euclid, again Fundamental theorem of arithmetic

Then

gcd(a, b) = gcd(b, r)

gcd(an, bn) = gcd(bn, rn)

since

an = kbn + rn, 0 ≤ rn < bn.

But

b + r = b + (a − kb) = a − b(k − 1) ≤ a < a + b,

so ind. hyp. gives

n gcd(b, r) = gcd(bn, rn).

But LHS = n gcd(a, b), RHS = gcd(an, bn).

(22)

Number

Theory,

Lecture 1

Jan Snellman

Divisibility

Definition Elementary properties Partial order Prime number Division Algorithm

Greatest

common

divisor

Definition Bezout Euclidean algorithm Extended Euclidean Algorithm

Unique

factorization

into primes

Some Lemmas An importan property of primes Euclid, again Fundamental theorem of arithmetic Exponent vectors Least common multiple

More about

primes

Sieve of Eratosthenes Primes in arithmetic progressions

Lemma

If a|bc and gcd(a, b) = 1 then a|c.

Proof.

1 = ax + by ,

so

c = axc + byc.

Since a|RHS , a|c.

(23)

Number

Theory,

Lecture 1

Jan Snellman

Divisibility

Definition Elementary properties Partial order Prime number Division Algorithm

Greatest

common

divisor

Definition Bezout Euclidean algorithm Extended Euclidean Algorithm

Unique

factorization

into primes

Some Lemmas An importan property of primes Euclid, again Fundamental theorem of arithmetic

Lemma

p prime, p|ab. Then p|a or p|b.

Proof.

If p 6 |a then gcd(p, a) = 1. Thus p|b by previous lemma.

(24)

Number

Theory,

Lecture 1

Jan Snellman

Divisibility

Definition Elementary properties Partial order Prime number Division Algorithm

Greatest

common

divisor

Definition Bezout Euclidean algorithm Extended Euclidean Algorithm

Unique

factorization

into primes

Some Lemmas An importan property of primes Euclid, again Fundamental theorem of arithmetic Exponent vectors Least common multiple

More about

primes

Sieve of Eratosthenes Primes in arithmetic progressions

Infinitude of primes

Theorem (Euclides)

Ever n is a product of primes. There are infinitely many primes.

Proof.

1 is regarded as the empty product. Ind on n. If n prime, OK. Otherwise, n = ab,

a, b < n. So a, b product of primes. Combine.

Suppose p 1 , p 2 , . . . , p s are known primes. Put

N = p 1 p 2 · · · p s + 1,

then N = kp i + 1 for all known primes, so no known prime divide N. But N is a

product of primes, so either prime, or product of unknown primes.

(25)

Number

Theory,

Lecture 1

Jan Snellman

Divisibility

Definition Elementary properties Partial order Prime number Division Algorithm

Greatest

common

divisor

Definition Bezout Euclidean algorithm Extended Euclidean Algorithm

Unique

factorization

into primes

Some Lemmas An importan property of primes Euclid, again Fundamental theorem of arithmetic

Example

2 ∗ 3 ∗ 5 + 1 = 31

2 ∗ 3 ∗ 5 ∗ 7 + 1 = 211

2 ∗ 3 ∗ 5 ∗ 7 ∗ 11 ∗ 13 + 1 = 59 ∗ 509

(26)

Number

Theory,

Lecture 1

Jan Snellman

Divisibility

Definition Elementary properties Partial order Prime number Division Algorithm

Greatest

common

divisor

Definition Bezout Euclidean algorithm Extended Euclidean Algorithm

Unique

factorization

into primes

Some Lemmas An importan property of primes Euclid, again Fundamental theorem of arithmetic Exponent vectors Least common multiple

More about

primes

Sieve of Eratosthenes Primes in arithmetic progressions

Example

2 ∗ 3 ∗ 5 + 1 = 31

2 ∗ 3 ∗ 5 ∗ 7 + 1 = 211

2 ∗ 3 ∗ 5 ∗ 7 ∗ 11 ∗ 13 + 1 = 59 ∗ 509

(27)

Number

Theory,

Lecture 1

Jan Snellman

Divisibility

Definition Elementary properties Partial order Prime number Division Algorithm

Greatest

common

divisor

Definition Bezout Euclidean algorithm Extended Euclidean Algorithm

Unique

factorization

into primes

Some Lemmas An importan property of primes Euclid, again Fundamental theorem of arithmetic

Example

2 ∗ 3 ∗ 5 + 1 = 31

2 ∗ 3 ∗ 5 ∗ 7 + 1 = 211

2 ∗ 3 ∗ 5 ∗ 7 ∗ 11 ∗ 13 + 1 = 59 ∗ 509

(28)

Number

Theory,

Lecture 1

Jan Snellman

Divisibility

Definition Elementary properties Partial order Prime number Division Algorithm

Greatest

common

divisor

Definition Bezout Euclidean algorithm Extended Euclidean Algorithm

Unique

factorization

into primes

Some Lemmas An importan property of primes Euclid, again Fundamental theorem of arithmetic Exponent vectors Least common multiple

More about

primes

Sieve of Eratosthenes Primes in arithmetic progressions

Fundamental theorem of arithmetic

Theorem

For any n ∈ P, can uniquely (up to reordering) write

n = p 1 p 2 · · · p s , p i prime .

Proof.

Existence, Euclides. Uniqueness: suppose

n = p 1 p 2 · · · p s = q 1 q 2 · q r .

Since p 1 |n, we have p 1 |q 1 q 2 · · · q r , which by lemma yields p 1 |q j some q j , hence

p 1 = q j . Cancel and continue.

(29)

Number

Theory,

Lecture 1

Jan Snellman

Divisibility

Definition Elementary properties Partial order Prime number Division Algorithm

Greatest

common

divisor

Definition Bezout Euclidean algorithm Extended Euclidean Algorithm

Unique

factorization

into primes

Some Lemmas An importan property of primes Euclid, again Fundamental theorem of arithmetic

Exponent vectors

• Number the primes in increasing order, p 1 = 2,p 2 = 3,p 3 = 5, et cetera.

• Then n = Q

j =1 p j a j , all but finitely many a j zero.

• Let v (n) = (a 1 , a 2 , a 3 , . . . ) be this integer sequence.

• Then v (nm) = v (n) + v (m).

• Order componentwise, then n|m ⇐⇒ v(n) ≤ v(m).

• Have v (gcd(n, m)) = min(v(n), v(m)).

Example

gcd(100, 130) = gcd(2 2 ∗ 5 2 , 2 ∗ 5 ∗ 13)

= 2 min(2,1) ∗ 5 min(2,1) ∗ 13 min(0,1)

= 2 1 ∗ 5 1 ∗ 13 0

= 10

(30)

Number

Theory,

Lecture 1

Jan Snellman

Divisibility

Definition Elementary properties Partial order Prime number Division Algorithm

Greatest

common

divisor

Definition Bezout Euclidean algorithm Extended Euclidean Algorithm

Unique

factorization

into primes

Some Lemmas An importan property of primes Euclid, again Fundamental theorem of arithmetic Exponent vectors Least common multiple

More about

primes

Sieve of Eratosthenes Primes in arithmetic progressions

Definition

• a, b ∈ Z

• m = lcm(a, b) least common multiple if

1 m = ax = by (common multiple)

2 If n common multiple of a, b then m|n

Lemma (Easy)

• a, b ∈ P, c, d ∈ Z

• lcm( Q

j p j a j , Q

j p j b j ) = Q

j p j max(a j ,b j )

• ab = gcd(a, b)lcm(a, b)

• If a|c and b|c then lcm(a, b)|c

• If c ≡ d mod a and c ≡ d mod b then c ≡ d mod lcm(a, b)

(31)

Number

Theory,

Lecture 1

Jan Snellman

Divisibility

Definition Elementary properties Partial order Prime number Division Algorithm

Greatest

common

divisor

Definition Bezout Euclidean algorithm Extended Euclidean Algorithm

Unique

factorization

into primes

Some Lemmas An importan property of primes Euclid, again Fundamental theorem of arithmetic

Sieve of Eratosthenes

Algorithm

1 Given N, find all primes ≤ N

2 X = [2, N], i = 1, P = ∅

3 p i = min(X ).

4 Remove multiples of p i from X

5 P = P ∪ {p i }

6 If p i ≥ √

N, then terminate,

otherwise i = i + 1, goto 3.

(32)

Number

Theory,

Lecture 1

Jan Snellman

Divisibility

Definition Elementary properties Partial order Prime number Division Algorithm

Greatest

common

divisor

Definition Bezout Euclidean algorithm Extended Euclidean Algorithm

Unique

factorization

into primes

Some Lemmas An importan property of primes Euclid, again Fundamental theorem of arithmetic Exponent vectors Least common multiple

More about

primes

Sieve of Eratosthenes Primes in arithmetic progressions

• Any number have remainder 0,1,2, or 3, when divided by 4

• Except for 2, all primes are odd

• Thus, primes > 2 are either of the form 4n + 1 or 4n + 3

• 4n + 3 = 4(n + 1) − 1 = 4m − 1.

Theorem

There are infinitely many primes of the form 4m − 1.

(33)

Number

Theory,

Lecture 1

Jan Snellman

Divisibility

Definition Elementary properties Partial order Prime number Division Algorithm

Greatest

common

divisor

Definition Bezout Euclidean algorithm Extended Euclidean Algorithm

Unique

factorization

into primes

Some Lemmas An importan property of primes Euclid, again Fundamental theorem of arithmetic

Proof

Proof.

Let q 1 , . . . , q r be the known such primes, put

N = 4q 1 q 2 · · · q r − 1

Then N odd, not divisible by any q j . Factor N into primes:

N = u 1 u 2 · · · u s

If all u i = 4m i + 1 then

N = (4m 1 + 1)(4m 2 + 1) · · · (4m s + 1) = 4m + 1,

a contradiction. So some u j = 4m j − 1, u j |N so u j 6∈ {q 1 , . . . , q r }, hence new.

(34)

Number

Theory,

Lecture 1

Jan Snellman

Divisibility

Definition Elementary properties Partial order Prime number Division Algorithm

Greatest

common

divisor

Definition Bezout Euclidean algorithm Extended Euclidean Algorithm

Unique

factorization

into primes

Some Lemmas An importan property of primes Euclid, again Fundamental theorem of arithmetic Exponent vectors Least common multiple

More about

primes

Sieve of Eratosthenes Primes in arithmetic progressions

Theorem (Dirichlet)

a, b ∈ Z, gcd(a, b) = 1. Then aZ + b contains infinitely many primes.

Example

Obviously 6Z + 3 contains only one prime, 3, so condition necessary.

(35)

Number

Theory,

Lecture 1

Jan Snellman

Divisibility

Definition Elementary properties Partial order Prime number Division Algorithm

Greatest

common

divisor

Definition Bezout Euclidean algorithm Extended Euclidean Algorithm

Unique

factorization

into primes

Some Lemmas An importan property of primes Euclid, again Fundamental theorem of arithmetic

Dirichlet

References

Related documents

1 Finite continued fractions Examples, simple properties Existence and uniqueness CF as rational functions Euler’s rule.

It is impossible to separate a cube into two cubes, or a fourth power into two fourth powers, or in general, any power higher than the second, into two

Link¨ oping, spring 2019 Lecture notes availabe at course homepage http://courses.mai.liu.se/GU/TATA54/.. Number Theory, Lecture 9

Link¨ oping, spring 2019 Lecture notes availabe at course homepage http://courses.mai.liu.se/GU/TATA54/.. Number Theory, Lecture 10

3 Unique factorization Irreducibles are primes 4 Gaussian primes 5 Sums of two squares 6 Pythagorean triples 7 Congruences.. Representatives, transversals Fermat

Link¨ oping, spring 2019 Lecture notes availabe at course homepage http://courses.mai.liu.se/GU/TATA54/...

Congruences Arithmetical functions Primitive roots Quadratic residues Continued.. fractions Algebraic Diophantine Equations

In this subsection we start by proving some basic properties of the Riemann integral, like the linearity in Theorem 2.3, that every Riemann integrable function is bounded on [a,