Number Theory
Number theory is a branch of pure mathematics devoted primarily to the study of integers and integer-valued functions.
Basic Concepts
Number theory involves several fundamental concepts:
-
Divisibility: One integer
a
is divisible by another integerb
if there exists an integerc
such thata = b*c
. -
Prime Numbers: A prime number is an integer greater than
1
that has no positive divisors other than1
and itself. -
Greatest Common Divisor (GCD): The GCD of two or more integers is the largest positive integer that divides each of the integers without a remainder.
-
Least Common Multiple (LCM): The LCM of two integers
a
andb
is the smallest positive integer that is divisible by botha
andb
.
Fundamental Theorems
Number theory includes several fundamental theorems:
-
Fundamental Theorem of Arithmetic: Every integer greater than 1 either is a prime number itself or can be represented as a product of prime numbers and that, moreover, this representation is unique, up to the order of the factors.
-
Chinese Remainder Theorem: If one knows the remainders of the division of an integer
n
by several integers, then one can determine uniquely the remainder of the division ofn
by the product of these integers, under certain conditions. -
Fermat's Little Theorem: If
p
is a prime number, then for any integera
, the numbera^p – a
is an integer multiple ofp
. -
Euler's Totient Theorem: If
n
anda
are coprime positive integers, thena
to the power ofφ(n) ≡ 1 (mod n), where φ(n)
is Euler's totient function.
Number theory has numerous applications in computer science, particularly in cryptography and algorithm design. It also has many connections with other branches of mathematics, particularly geometry and complex analysis.