2015 Number Theory
2015 Number Theory
2015 Number Theory
1
Number Theory - Wei LI 2
10. Prove that for any k ∈ N there exists k consecutive positive integers that are all
composite.
11. Let n > 1 be odd. Prove that n is a prime ⇐⇒ n can not be a sum of some
consecutive positive integers a1 , . . . , ak with k ≥ 3.
12. Assume a, b and c are positive integers satisfying (a, b) = 1 and ab = ck for some
k ∈ N. Prove that a = uk and b = v k for some positive integers u and v. Moreover,
u = (a, c) and v = (b, c).
Number Theory - Wei LI 3
2. For any given n > 1, show that there exits a ≥ 1 such that any number in {aa + 1,
a
aa + 1, . . . } can be divided by n.
11. Let a and b be distinct positive integers such that ab(a + b) is divisible by a2 + ab + b2 .
√
Prove that |a − b| > 3 ab.
13. Consider the prime numbers n1 < n2 < · · · < n31 . Prove that if 30 divides n41 + n42 +
· · · + n431 , then among these numbers one can find three consecutive primes.
Proof. We will provide two distinct proofs which are based on a same method essentially.
• First Proof: We will prove the result by Fermat’s method of infinite descent. WLOG,
assume a ≥ b.
2a2
– If a = b, then k = a2 +1
< 2. So k = 1 is a square.
– If a > b, by the division of a remainder, there exists two integers q and r such
that
a = qb − r, 0 ≤ r < b.
a2 + b2 q 2 b2 − 2qr + r 2 + b2 −qbr + r 2 + b2 − q
k= = = q + .
ab + 1 qb2 − rb + 1 qb2 − rb + 1
On the one hand, we have
Finally, we have
−qbr + r 2 + b2 − q
−1 < < 1.
qb2 − rb + 1
−qbr+r 2 +b2 −q −qbr+r 2 +b2 −q
Since qb2 −rb+1
= k − q is an integer, there must hold qb2 −rb+1
= 0. Hence
b2 + r 2
−qbr + r 2 + b2 − q = 0 =⇒ = q = k.
br + 1
Summary: If a > b, we get some r such that b > r ≥ 0 and
a2 + b2 b2 + r 2
k= = .
ab + 1 br + 1
Number Theory - Wei LI 5
If r 6= 0, applying this process again to b and r, we can get a third integer r1 such
that r > r1 ≥ 0 and
a2 + b2 b2 + r 2 r 2 + r12
k= = = .
ab + 1 br + 1 rr1 + 1
Finally, by repeating the process we get an infinite sequence satisfying (denote
r0 = r)
a > b > r0 > r1 > · · · > rn > · · · ≥ 0,
and
2
a2 + b2 b2 + r02 r02 + r12 rn−1 + rn2
k= = = = ··· = = ··· .
ab + 1 br0 + 1 r0 r1 + 1 rn−1 rn + 1
This is impossible: any such sequence of integers must sooner or later contain 0.
2
Thus there must be some rn = 0. Then k = rn−1 is a square.
a2 + b2
• Second Proof: Obviously = k is equivalent to
ab + 1
a2 + b2 = k(ab + 1). (3.1)
Claim: There is no positive integer pair (a, b) satisfying equation (3.1) provided k is
not a square.
We will prove the claim by contradiction. Let (a0 , b0 ) be the positive integer pair
satisfy (3.1) such that a0 + b0 attains the minimum of the sums of all positive integer
pairs satisfying (3.1). WLOG, let a0 ≥ b0 . a0 is a root of the following quadratic
equation
x2 − kb0 x + b20 − k = 0.
Let a1 be the other root of the above equation. By Vieta’s formulas, we have
(
a0 + a1 = kb0 ,
a0 a1 = b20 − k.
First, a1 = kb0 − a0 is an integer. Next we will show a1 is positive.
The argument used in the above proofs has become known as Fermat’s method of
infinite descent: to show that a given Diophantine equation has no positive solutions,
we show that any such solution gives rise to a smaller one, and hence (by iteration) to an
infinite decreasing sequence of positive integer solutions, which is impossible.
Fermat used this technique many times for Diophantine equations. Two typical examples
are showing the non-solvability of the Diophantine equation x4 + y 4 = z 2 and proving
Fermat’s theorem on sums of two squares, which states that any prime p such that p ≡ 1
mod 4 can be expressed as a sum of two squares.
Next we focus on the non-solvability of the Diophantine equation x4 + y 4 = z 2 . Let us
recall some basic conclusion about Pythagorean equation at the first.
Pythagorean equation is defined by
x2 + y 2 = z 2 , (3.2)
• (z, 0, ±z) and (0, z, ±z) are trivial solutions to (3.2) for any z ∈ Z.
• For finding non-trivial solutions, we only need to consider the solution of positive
integers, which is called Pythagorean triple.
• For a Pythagorean triple (x, y, z), the triple ( xd , yd , dz ) also solves (3.2) for any common
factor d of x, y, z.
x = r 2 − s2 , y = 2rs, z = r 2 + s2 , (3.3)
Exercises: Use Fermat’s method of infinite descent to solve the following problems.
m2 + n2 + 1 = 3mn.
Number Theory - Wei LI 8
ad ≡ 1 mod m. (4.1)
• Let d0 be the smallest positive integer satisfying (4.1). d0 is called the order of a
modulo m. Let h be a positive integer, then
m | (ah − 1) ⇐⇒ d0 | h.
Proof.
• For any fixed j = 1, 2, . . . , m, by the division of a remainder, there exists two integers
qj and rj (0 ≤ rj ≤ m − 1) such that
aj = qj m + rj .
Noting that the m remainders take m − 1 distinct values at most, the pigeonhole
principle indicates that there exists i 6= j such that ri = rj , i.e.
ai − qi m = aj − qj m.
• By the division of a remainder again, we have h = qd0 + r for some integers q and r
with q ≥ 0, 0 ≤ r ≤ d0 − 1.
Exercises:
2. Show that there exists infinitely many positive integers n such that n | (2n + 1).
+
7. Following the assumption and notation of Theorem 4.1. Denote by δm (a) = d0 the
order of a modulo m. Moreover, if there exists some positive integer d′ such that
′
m | ad + 1, let δm
−
(a) be the minimal such integer. (Note: δm
−
(a) does NOT exist at
all time, e.g. a = 4, m = 3.) Prove that:
2 ∤ s and 3k−1 | s.
Number Theory - Wei LI 10
§5 Fermat-Euler theorem
Theorem 5.1 (Fermat’s Little Theorem). Let a be a positive integer and p be a prime.
Then
ap ≡ a mod p.
Moreover, when (a, p) = 1, we have
ap−1 ≡ 1 mod p.
Definition 5.2 (Euler’s function). For any positive integer m we denote by ϕ(m) the
number of all positive integers less than m that are coprime to m. The function ϕ is
called Euler’s function.
• ϕ(m) = m − 1 ⇐⇒ m is a prime.
Definition 5.3 (Reduced set of residue classes). A set R of integers is called a reduced
set of residue classes modulo m if
• For any a ∈ Z satisfying (a, m) = 1, there exists a unique element r ∈ R such that
a≡r mod m.
Proposition 5.4.
♯R = ϕ(m).
3. Let r1 , . . . , rϕ(m) be ϕ(m) integers satisfying (ri , m) = 1 for each i = 1, . . . , ϕ(m) and
ri 6≡ rj mod m, ∀i 6= j,
4. Let m ≥ 1 and (a, m) = 1. Assume that R is a reduced set of residue classes modulo
m. Then
aR , {ar : r ∈ R}
is also a reduced set of residue classes modulo m.
Proof. TBA.
Theorem 5.5 (Euler’s Theorem). Let a and m be coprime positive integers. Then
aϕ(m) ≡ 1 mod m.
Proof. TBA.
Remark 5.6. Fermat’s Little Theorem is a special case of Euler’s Theorem when m is a
prime.
Exercises:
5. Consider the prime numbers n1 < n2 < · · · < n31 . Prove that if 30 divides n41 + n42 +
· · · + n431 , then among these numbers one can find three consecutive primes.
6. Let p be a prime. Prove that p | (abp − bap ) for all integers a and b.
12. Let m > n ≥ 1, find the minimum value of m + n such that 1000 | 1978m − 1978n .
Number Theory - Wei LI 12
TBA
Number Theory - Wei LI 13
TBA