Classical Number Theory

Classical number theory explores the properties and relationships of integers, with a focus on topics such as divisibility, prime numbers, congruences, and Diophantine equations. It has been instrumental in modern applications such as cryptography.

Divisibility and the Euclidean Algorithm: Divisibility is the cornerstone of classical number theory. We say that an integer 'a' divides an integer 'b', denoted as a|b, if there exists an integer 'k' such that b = ak. The Euclidean Algorithm provides an efficient method for finding the greatest common divisor (GCD) of two integers. The GCD of 'a' and 'b', denoted as gcd(a, b), is the largest positive integer that divides both 'a' and 'b'. The algorithm iteratively applies the division algorithm, where a = bq + r, until the remainder 'r' is 0. The last non-zero remainder is the GCD. A crucial theorem states that gcd(a, b) can always be expressed as a linear combination of a and b; that is, gcd(a, b) = ax + by for some integers x and y (Bézout's identity). A common misconception is assuming that if a|bc, then a|b or a|c; this is only true if gcd(a, b) = 1.

Prime Numbers and the Fundamental Theorem of Arithmetic: A prime number is a positive integer greater than 1 that has exactly two distinct positive divisors: 1 and itself. The Fundamental Theorem of Arithmetic states that every integer greater than 1 can be uniquely expressed as a product of prime numbers, up to the order of the factors. This unique prime factorization is a cornerstone of number theory. For example, 12 = 2^2 * 3. The theorem has profound implications for understanding the structure of integers and solving many number-theoretic problems. There are infinitely many primes; Euclid provided a classic proof by contradiction. A common misconception is to assume all odd numbers are prime; for example, 9 is odd but composite.

Congruences: Congruences provide a powerful tool for studying divisibility. We say that two integers 'a' and 'b' are congruent modulo 'm', denoted as a ≡ b (mod m), if m divides (a - b). This means 'a' and 'b' have the same remainder when divided by 'm'. Congruences behave similarly to equalities in many ways. They can be added, subtracted, and multiplied (with some care regarding division). Solving linear congruences of the form ax ≡ b (mod m) involves finding an integer 'x' that satisfies the congruence. This can be done using the Extended Euclidean Algorithm to find the modular inverse of 'a' modulo 'm', provided that gcd(a, m) = 1. Congruences have practical applications in cryptography and computer science. A common misconception is that a/c ≡ b/c (mod m) implies a ≡ b (mod m); this is only true if gcd(c, m) = 1.

Fermat's Little Theorem: Fermat's Little Theorem is a fundamental result in number theory. It states that if 'p' is a prime number, then for any integer 'a' not divisible by 'p', a^(p-1) ≡ 1 (mod p). This theorem provides a powerful tool for simplifying calculations involving large exponents modulo a prime. It also serves as a primality test, although not a definitive one (some composite numbers also satisfy the condition). A generalization of Fermat's Little Theorem is Euler's Theorem, which states that if 'a' and 'n' are coprime (gcd(a, n) = 1), then a^φ(n) ≡ 1 (mod n), where φ(n) is Euler's totient function, which counts the number of integers between 1 and n that are relatively prime to n. Fermat's Little Theorem is crucial in cryptography, especially in the RSA algorithm. A common misconception is that Fermat's Little Theorem holds for all integers, regardless of whether 'p' is prime.

Euler's Totient Function: Euler's totient function, denoted as φ(n), counts the number of positive integers less than or equal to 'n' that are relatively prime to 'n' (i.e., their greatest common divisor with 'n' is 1). For example, φ(8) = 4, since 1, 3, 5, and 7 are relatively prime to 8. If 'p' is prime, then φ(p) = p - 1. If 'n' can be expressed as a product of distinct primes p1, p2, ..., pk, then φ(n) = n(1 - 1/p1)(1 - 1/p2)...(1 - 1/pk). Euler's totient function appears prominently in Euler's Theorem and the RSA cryptosystem. Calculating φ(n) efficiently is essential for various number-theoretic applications. A common misconception is confusing φ(n) with the number of divisors of n.

Chinese Remainder Theorem (CRT): The Chinese Remainder Theorem (CRT) provides a method for solving systems of congruences. Suppose we have a system of congruences x ≡ a1 (mod m1), x ≡ a2 (mod m2), ..., x ≡ ak (mod mk), where m1, m2, ..., mk are pairwise coprime (i.e., gcd(mi, mj) = 1 for all i ≠ j). The CRT guarantees that there exists a unique solution for 'x' modulo M = m1 m2 ... * mk. The theorem is named after the Chinese mathematician Sun-Tzu, who described a problem that can be solved using the CRT in his book Sun-Tzu Suan-Ching. The CRT has applications in computer science, cryptography, and signal processing. A common misconception is that the CRT applies even when the moduli are not pairwise coprime; in this case, a solution may or may not exist.

Quadratic Residues and Legendre Symbol: An integer 'a' is a quadratic residue modulo 'm' if there exists an integer 'x' such that x^2 ≡ a (mod m). In other words, 'a' is a square modulo 'm'. The Legendre symbol (a/p) is defined for an integer 'a' and an odd prime 'p' as follows: (a/p) = 1 if 'a' is a quadratic residue modulo 'p', (a/p) = -1 if 'a' is a quadratic non-residue modulo 'p', and (a/p) = 0 if p divides a. The Legendre symbol satisfies various properties, such as (ab/p) = (a/p)(b/p) and Euler's criterion: (a/p) ≡ a^((p-1)/2) (mod p). Quadratic residues are important in cryptography and coding theory. Determining whether a number is a quadratic residue modulo a prime is a fundamental problem in number theory. A common misconception is assuming that if 'a' is a quadratic residue modulo 'p', then 'a' is a perfect square.

Diophantine Equations: Diophantine equations are polynomial equations where the solutions are required to be integers. A famous example is the equation x^2 + y^2 = z^2, which has infinitely many solutions in positive integers (Pythagorean triples). Another famous example is Fermat's Last Theorem, which states that there are no positive integer solutions to the equation x^n + y^n = z^n for n > 2. This theorem was famously proven by Andrew Wiles in 1994. Solving Diophantine equations can be very challenging, and there is no general method for solving all Diophantine equations. Some techniques include factorization, modular arithmetic, and descent methods. Diophantine equations appear in various areas of mathematics and computer science. A common misconception is believing that every Diophantine equation has integer solutions; many do not.

Continued Fractions: A continued fraction is an expression of the form a0 + 1/(a1 + 1/(a2 + 1/(a3 + ...))), where a0 is an integer and a1, a2, a3, ... are positive integers. Continued fractions provide a way to represent real numbers as a sequence of integers. Rational numbers have finite continued fraction representations, while irrational numbers have infinite continued fraction representations. Continued fractions can be used to approximate irrational numbers with rational numbers. The convergents of a continued fraction provide the best rational approximations to the corresponding real number. Continued fractions have applications in number theory, dynamical systems, and cryptography. A common misconception is thinking that every real number has a unique continued fraction representation; this is almost true, but there are some exceptions (e.g., a finite continued fraction can be rewritten to end with a 1).

Distribution of Prime Numbers: Understanding how prime numbers are distributed among the integers is a central problem in number theory. The Prime Number Theorem (PNT) provides an asymptotic estimate for the number of primes less than or equal to a given number 'x', denoted by π(x). The PNT states that π(x) is approximately equal to x/ln(x) as x approaches infinity. The Riemann Hypothesis, one of the most famous unsolved problems in mathematics, makes a more precise statement about the distribution of prime numbers. The distribution of primes is irregular and unpredictable, but the PNT provides a statistical understanding. The study of prime number distribution has led to the development of many important tools and techniques in number theory. A common misconception is that prime numbers become increasingly rare as numbers get larger; while the density of primes decreases, they still occur infinitely often.

Applications of Number Theory: Classical number theory, although seemingly abstract, has many real-world applications. Cryptography heavily relies on number-theoretic concepts such as prime numbers, modular arithmetic, and Euler's totient function. Public-key cryptosystems like RSA are based on the difficulty of factoring large numbers into their prime factors. Error-correcting codes, used in data storage and transmission, also utilize number theory. Other applications include computer science, physics, and engineering. The study of number theory provides a foundation for understanding these applications and developing new technologies. A common misconception is viewing number theory as purely theoretical without practical relevance; its impact on modern technology is significant.

Historical Significance: Classical number theory has a rich history dating back to ancient civilizations. The ancient Greeks, including Euclid, Pythagoras, and Diophantus, made significant contributions. Euclid's Elements contains fundamental results on divisibility, prime numbers, and the Euclidean algorithm. Diophantus's Arithmetica is a collection of problems involving Diophantine equations. In the 17th and 18th centuries, mathematicians like Fermat, Euler, Lagrange, and Gauss made groundbreaking discoveries in number theory. Gauss's Disquisitiones Arithmeticae is a landmark work that systematized and extended the field. Number theory continues to be an active area of research, with many unsolved problems and new developments. Understanding the historical context provides valuable insights into the evolution of number theory and its significance.

Key points

  • Prime numbers are the building blocks of all integers and their distribution is a central question.
  • Congruences provide a powerful way to analyze divisibility and solve equations.

Browse public study notes