Beruflich Dokumente
Kultur Dokumente
MATH3521
Algebraic Techniques in Number Theory
2018 S1
Igor Shparlinski
• Igor Shparlinski
• Email: igor.shparlinski@unsw.edu.au
• Office: RC-5112
MATH3521 Algebraic Techniques in Number Theory Igor Shparlinski
Z[i] = {a + bi : a, b ∈ Z}
b b b b b b b b b b b
Z
··· −1 0 1 ···
INTEGERS
iZ
..
. b
i b
−i b
.. b
.
b
IMAGINARY INTEGERS
Z[i] = Z + iZ
b b b b b b b b b b b
b b b b b b b b b b b
b b b b b b b b b b b
b b b b b b b b b b b
b b b b b b b b b b b
b b b b b b b b b b b
b b b b b b b b b b b
GAUSSIAN INTEGERS
The Gaussian integers are the complex numbers
Z[i] = {a + bi : a, b ∈ Z}
The norm of α = a + ib is
N (α) = αα = a2 + b2
Example. α = 3 + 2i
N (α) = αα = (3 + 2i)(3 − 2i) = 32 − (2i)2 = 32 + 22 = 13
b
3 + 2i
√ 13
The Gaussian integers are the complex numbers
Z[i] = {a + bi : a, b ∈ Z}
The norm of α = a + ib is
N (α) = αα = a2 + b2
1 2
≤ 2 ) + 2 = 41 + 41 = 12
1 2
Therefore,
α α
1
N (r) = N (α − qβ) = N ( − q)β = N β
− q N (β) ≤ 2
N (β) < N (β) .
β
Example.
Consider α = 4 + 4i and β = 2 − i.
Calculate
α 4 + 4i 4 + 4i 2 + i 4 + 12i 4 12
= = × = = + i
β 2−i 2−i 2+i 5 5 5
Set
4 12
s= =1 t= =2
5 5
Set q = s + it = 1 + 2i
and let r be the remainder:
Then 4 + 4i = α = qβ + r = (1 + 2i)(2 − i) + i
and N (i) = 1 < 5 = N (2 − i).
Division Algorithm For Gaussian Integers
For all α, β 6= 0, α = qβ + r for some q, r ∈ Z[i] with 0 ≤ N (r) < N (β).
⋆ There might be several suitable values of q and r.
A greatest common divisor of α and β is a common divisor of α and β that
is divided by every other common divisor.
⋆ This definition is also holds for (normal) positive integers.
The set of greatest common divisors of α and β is denoted by gcd(α, β).
Example. : Non-uniqueness of q and r
Consider α = 3 + 2i and β = 1 + i.
α 3 + 2i 3 + 2i 1 − i 5−i 5 −1
= = × = = + i
β 1+i 1+i 1−i 2 2 2
Set
5 −1
s= =2 t= = −1
2 2
Set q = s + it = 2 − i
and let r be the remainder:
Then 3 + 2i = α = qβ + r = (2 − i)(1 + i) + i
and N (i) = 1 < 2 = N (1 + i).
Set
5 −1
s= =2 t= =0
2 2
Set q = s + it = 2
and let r be the remainder:
r = α − qβ = (3 + 2i) − 2(1 + i) = (3 + 2i) − (2 + 2i) = 1
Then 3 + 2i = α = qβ + r = 2(1 + i) + 1
and N (1) = 1 < 2 = N (1 + i).
We have
3 + 2i = (2 − i)(1 + i) + i and 3 + 2i = 2(1 + i) + 1
In both
N (i) = 1 < 2 = N (1 + i) and N (1) = 1 < 2 = N (1 + i)
Division Algorithm For Gaussian Integers
For all α, β 6= 0, α = qβ + r for some q, r ∈ Z[i] with 0 ≤ N (r) < N (β).
A greatest common divisor of α and β is a common divisor of α and β that
is divided by every other common divisor.
The set of greatest common divisors of α and β is denoted by gcd(α, β).
We next consider:
2 − 11i
4 − 7i
Theorem. For α, β ∈ Z[i], let γ ∈ gcd(α, β).
Then hα, βi = hγi and so γ = mα + nβ for some m, n ∈ Z[i].
2 − 11i 2 − 11i 4 + 7i
= ×
4 − 7i 4 − 7i 4 + 7i
Theorem. For α, β ∈ Z[i], let γ ∈ gcd(α, β).
Then hα, βi = hγi and so γ = mα + nβ for some m, n ∈ Z[i].
4 − 7i 4 − 7i −2 + 4i 20 + 30i 3
= × = = 1+ i
−2 − 4i −2 − 4i −2 + 4i 20 2
3
⌊1⌉ = 1, =2
2
Theorem. For α, β ∈ Z[i], let γ ∈ gcd(α, β).
Then hα, βi = hγi and so γ = mα + nβ for some m, n ∈ Z[i].
4 − 7i 4 − 7i −2 + 4i 20 + 30i 3
= × = = 1+ i
−2 − 4i −2 − 4i −2 + 4i 20 2
3
⌊1⌉ = 1, =2
2
(4 − 7i) − (1 + 2i) × (−2 − 4i) = −2 + i
Theorem. For α, β ∈ Z[i], let γ ∈ gcd(α, β).
Then hα, βi = hγi and so γ = mα + nβ for some m, n ∈ Z[i].
−2 − 4i −2 − 4i −2 − i
= ×
−2 + i −2 + i −2 − i
Theorem. For α, β ∈ Z[i], let γ ∈ gcd(α, β).
Then hα, βi = hγi and so γ = mα + nβ for some m, n ∈ Z[i].
−2 − 4i −2 − 4i −2 − i 10i
= × =
−2 + i −2 + i −2 − i 5
Theorem. For α, β ∈ Z[i], let γ ∈ gcd(α, β).
Then hα, βi = hγi and so γ = mα + nβ for some m, n ∈ Z[i].
−2 − 4i −2 − 4i −2 − i 10i
= × = = 2i
−2 + i −2 + i −2 − i 5
Theorem. For α, β ∈ Z[i], let γ ∈ gcd(α, β).
Then hα, βi = hγi and so γ = mα + nβ for some m, n ∈ Z[i].
α or β is a unit whenever π = αβ
π | α or π | β whenever π | αβ
α or β is a unit whenever π = αβ
π | α or π | β whenever π | αβ
Proof. =⇒
Suppose that an integer p is a Gaussian prime.
Now, pb 6= ±1 if b ∈ Z, so x ± i 6= pa ± pbi = p(a ± bi) for all a, b, x ∈ Z.
Therefore, p ∤ x ± i.
Since p is a Gaussian prime, p ∤ (x − i)(x + i) = x2 + 1,
so x2 ≡ −1 (mod p) has no solution, and p ≡ 3 (mod 4).
The primes of Z[i] are called Gaussian primes.
Theorem. A Gaussian integer is prime if and only if it is irreducible.
Theorem. Gaussian integers factor uniquely into Gaussian primes.
Theorem. Integer prime p is a Gaussian prime if and only if p ≡ 3 (mod 4).
Proof. ⇐=
Conversely, suppose that p ≡ 3 (mod 4).
If p = βγ, then p2 = N (p) = N (β)N (γ).
Since p is prime, either N (β) = N (γ) = p or {N (β), N (γ)} = {1, p2 }.
Write β = c + di for some c, d ∈ Z.
Since x2 ≡ 0, 1 (mod 4) for all x ∈ Z,
N (β) = c2 + d2 ≡ 0, 1, 2 6≡ 3 (mod 4).
Therefore, N (β) 6= p, so either N (β) = 1 or N (γ) = 1,
and p is a Gaussian prime.
The primes of Z[i] are called Gaussian primes.
Theorem. A Gaussian integer is prime if and only if it is irreducible.
Theorem. Gaussian integers factor uniquely into Gaussian primes.
Theorem. Integer prime p is a Gaussian prime if and only if p ≡ 3 (mod 4).
Theorem. A Gaussian integer α ∈ Z[i] is prime if and only if
N (α) is a prime integer or
α = ǫp for a unit ǫ ∈ Z[i] and a prime p ∈ Z with p ≡ 3 (mod 4).
Example.
5 = 22 + 12 = N (2 + i)
13 = 32 + 22 = N (3 + 2i)
Example.
29 ≡ 1 (mod 4), so 29 is the sum of two squares.
19 ≡ 3 6≡ 1 (mod 4), so 19 is not the sum of two squares.
Theorem. If m and n are both the sum of two squares, then so is mn.
Theorem. For an odd integer prime p, the following statements are equiv-
alent:
p is the sum of two integer squares
p is not a Gaussian prime
p ≡ 1 (mod 4).
Proof. We have already shown that the last two statements are equivalent.
• If p = a2 + b2 , then p = (a + bi)(a − bi), so p is not a Gaussian prime.
Theorem. If m and n are both the sum of two squares, then so is mn.
Theorem. For an odd integer prime p, the following statements are equiv-
alent:
p is the sum of two integer squares
p is not a Gaussian prime
p ≡ 1 (mod 4).
Theorem. A positive integer n is the sum of two integer squares
if and only if
p ≡ 1 (mod 4) for all odd primes p that divide n an odd number of times.
Example. If n ≡ 7 (mod 8), then n is not the sum of three integer squares.
Question: How about Four Squares?
Two, Three and Four Squares: Summary
Theorem. If m and n are both the sum of two squares, then so is mn.
Theorem. For an odd integer prime p, the following statements are equiv-
alent:
p is the sum of two integer squares
p is not a Gaussian prime
p ≡ 1 (mod 4).
Theorem. A positive integer n is the sum of two integer squares
if and only if
p ≡ 1 (mod 4) for all odd primes p that divide n an odd number of times.
Theorem. A positive integer n is the sum of three integer squares
if and only if n 6= 4k (8m + 7) for all integers k, m.
Lagrange’s Four-Square Theorem.
Every positive integer is the sum of four integer squares.
Question: End of story?
For example:
g(1) = 1 — trivially: n = n1
g(2) = 2 — Lagrange’s Four-Square Theorem
g(k)) = 2k + ⌊(3/2)k ⌋ − 2
For example:
g(1) = 2 + ⌊(3/2)⌋ − 2 = 1
g(2) = 22 + ⌊(3/2)2 ⌋ − 2 = 4 + ⌊9/4⌋ − 2 = 4
Nowadays, this is a very active area of research in
Analytic Number Theory