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
ais divisible by another integerbif there exists an integercsuch thata = b*c. -
Prime Numbers: A prime number is an integer greater than
1that has no positive divisors other than1and 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
aandbis the smallest positive integer that is divisible by bothaandb.
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
nby several integers, then one can determine uniquely the remainder of the division ofnby the product of these integers, under certain conditions. -
Fermat's Little Theorem: If
pis a prime number, then for any integera, the numbera^p – ais an integer multiple ofp. -
Euler's Totient Theorem: If
nandaare coprime positive integers, thenato 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.