Number Theory
Number Theory
Prerequisite
SMA 2100: Discrete Mathematics
Purpose
To enable the student to understand the concepts of the ring of integers and related
theorems.
Learning Outcomes
At the end of the course, the student should be able to:
Course Description
• Basic types of numbers.
• The ring of integers: Divisibility with remainder, prime numbers, their distribution,
and Euclid’s theorem on the existence of infinitely many primes.
• Euclid’s algorithm for finding greatest common divisors, unique factorization, linear
Diophantine equations.
• Congruence: residue classes and integers (mod n), Wilson’s and Fermat’s theorems,
Euler’s phi-function, and Euler’s theorem. Primitive roots and indices.
• Quadratic fields: arithmetic, norm and trace. Units and Pell’s equation.
1
Teaching Methodology
Lectures, tutorials, and group discussions.
Instruction Materials/Equipment
1. Liquid crystal displays
2. Whiteboards/blackboards
3. Flipcharts
Assessment
• Continuous Assessment Tests: 30%
• Examination: 70%
Course Textbooks
1. James Pommersheim, Tim Marks, and Erica Flapan (2010), Number Theory: A
Lively Introduction with Proofs, Applications, and Stories, Wiley.
2. Underwood Dudley (2008), Elementary Number Theory (2nd Edition), Dover Pub-
lications.
Course Journals
1. JP Journal of Algebra and Number Theory and its Applications, Pushpa Publishing
House, ISSN: 0972-5555.
2. Journal for Algebra and Number Theory Academia, Mili Publications, ISSN: 0976-
8475.
3. Pioneer Journal of Algebra, Number Theory and its Applications, Pioneer Scientific
Publisher, ISSN: 2231-1831.
Reference Textbooks
1. G. H. Hardy, E. M. Wright, Wiles, and R. Heath-Brown (2008), An Introduction to
the Theory of Numbers (6th Edition), Oxford University Press.
2
3. Alan Baker (2012), A Comprehensive Course in Number Theory, Cambridge Uni-
versity Press.
Reference Journals
1. Algebra & Number Theory, Mathematical Sciences Publishers, ISSN: 1937-0652.
2. JP Journal of Algebra and Number Theory and its Applications, Pushpa Publishing
House, ISSN: 0972-5555.
3
1 Basic Types of Numbers
1.1 Definition and Classification
• Natural Numbers (N): {1, 2, 3, . . . }
• Prime Numbers: Natural numbers greater than 1 whose only divisors are 1 and
themselves.
Proof. The proof follows from the well-ordering principle and construction of q and r via
successive subtraction.
4
2.3 Euclid’s Algorithm and GCD
[Euclidean Algorithm] The greatest common divisor (gcd) of two integers can be com-
puted using the recurrence:
Proof. The proof follows from the properties of modular arithmetic and Lagrange’s the-
orem applied to the multiplicative group of integers modulo p.
article amsmath, amssymb
5
2.4.1 Examples of Fermat’s Theorem
Find 36 mod 7 using Fermat’s theorem.
Solution: Since 7 is a prime, Fermat’s theorem states that for any integer a not
divisible by 7:
a7−1 ≡ 1 mod 7
Applying this to a = 3:
36 ≡ 1 mod 7.
Find 510 mod 11.
Solution: Since 11 is prime, Fermat’s theorem states:
a2 + b 2 = c 2 . (4)
[Fermat’s Last Theorem] There are no nontrivial integer solutions for the equation
an + b n = c n , n > 2. (5)
32 + 42 = 9 + 16 = 25 = 52 .
6
Illustrating Fermat’s Last Theorem
Fermat’s Last Theorem states that there are no nontrivial integer solutions for:
an + b n = c n , for n > 2.
27 + 64 = 91,
but 91 is not a perfect cube, proving that no integer c satisfies the equation.
Consider n = 4: Suppose 54 + 64 = c4 , then:
x ≡ a1 (mod n1 ),
x ≡ a2 (mod n2 ),
..
.
x ≡ ak (mod nk ).
x≡2 (mod 3)
x≡3 (mod 4)
x≡1 (mod 5)
Solution: The moduli 3, 4, and 5 are pairwise coprime, so we apply the Chinese
Remainder Theorem.
7
• The numbers satisfying x ≡ 11 (mod 12) are x = 11, 23, 35, 47, . . ..
• Checking modulo 5, we find x = 47 satisfies all conditions.
8
6.2 Divisibility and the Greatest Common Divisor (GCD)
Let a, b ∈ Z with b ̸= 0. We say that b divides a (denoted b | a) if there exists an integer
k such that a = bk.
[Division Algorithm] Given any two integers a and b with b > 0, there exist unique
integers q (quotient) and r (remainder) such that:
a = bq + r, where 0 ≤ r < b. (6)
Let a = 35 and b = 6. Then:
35 = 6 × 5 + 5, q = 5, r = 5.
9
[width=0.6]primed istribution.png
N = p1 p2 · · · pn + 1.
N is either prime or has a prime divisor not in the original list, leading to a contradiction.
• Unsolved Problems: Open questions like the Riemann Hypothesis and Gold-
bach’s Conjecture continue to drive research.
10 Conclusion
The study of prime numbers and divisibility plays a central role in number theory and
its applications. From historical developments to modern cryptography, these concepts
form the backbone of mathematical research and technological advancements.
10