Number theory begins with a deceptively simple question: what patterns govern the integers? The subject's history is not a steady accumulation of answers but a series of methodological commitments, each designed to reach problems that earlier tools could not touch. From the geometric reasoning of ancient Greece to the algebraic structures of the twentieth century, number theorists have repeatedly invented new frameworks—sometimes in competition, sometimes in cooperation—to probe the arithmetic of whole numbers.
The earliest systematic study of integers appears in the Premodern Arithmetic Traditions (c. 300 BCE–1600 CE). Euclid's Elements proved the infinitude of primes and developed the Euclidean algorithm, while later Indian and Islamic mathematicians extended these methods to solve linear Diophantine equations and to study quadratic residues. These traditions worked entirely within elementary arithmetic and geometric reasoning; they had no concept of a function, a limit, or an algebraic structure. Their legacy was a set of concrete problems—primality, factorization, sums of squares—that later frameworks would inherit and transform.
Elementary Number Theory (1600–present) crystallized around the work of Pierre de Fermat, Leonhard Euler, Joseph-Louis Lagrange, and Carl Friedrich Gauss. Gauss's Disquisitiones Arithmeticae (1801) systematized the field by introducing congruences, quadratic reciprocity, and the theory of binary quadratic forms. The framework's defining commitment was to prove results using only the basic arithmetic operations and combinatorial reasoning, deliberately avoiding the tools of calculus and analysis. This approach proved remarkably powerful: it gave clean proofs of Fermat's little theorem, the law of quadratic reciprocity, and the classification of sums of two squares. Yet elementary methods also had limits—they could not easily handle the distribution of primes or the density of integer solutions to equations. Those limits would soon drive the creation of entirely new frameworks.
The nineteenth century saw number theory split into three major methodological branches, each responding to the constraints of elementary methods in a different way.
Analytic Number Theory (1837–present) began with Peter Gustav Lejeune Dirichlet's use of L-functions to prove that any arithmetic progression contains infinitely many primes. Dirichlet imported the machinery of real and complex analysis—infinite series, integrals, limits—to study integer problems. This framework transformed the study of prime distribution: Bernhard Riemann's 1859 memoir on the zeta function linked the zeros of a complex function to the spacing of primes, a connection that remains central today. Analytic methods coexist with elementary ones rather than replacing them; each excels in different domains. Elementary proofs are often more explicit and constructive, while analytic arguments can reach asymptotic results that elementary techniques cannot touch.
Transcendental Number Theory (1844–present) emerged from Joseph Liouville's construction of the first transcendental numbers—numbers that are not roots of any polynomial with integer coefficients. The framework asks: which numbers are algebraic, and which are not? Charles Hermite proved e is transcendental (1873), and Ferdinand von Lindemann proved π is transcendental (1882), settling the ancient problem of squaring the circle. Later, Alan Baker's work on linear forms in logarithms (1960s) gave effective bounds that have applications across number theory. Transcendental number theory remains a specialized but active field, often intersecting with analytic and algebraic methods.
Algebraic Number Theory (1847–present) arose from attempts to prove Fermat's Last Theorem. Ernst Kummer introduced ideal numbers to restore unique factorization in cyclotomic fields, and Richard Dedekind later reformulated these as ideals in rings of integers. The framework studies number fields—finite extensions of the rational numbers—using algebraic structures: rings, modules, Galois groups. It absorbed Kummer's ideal theory and extended it to a general theory of Dedekind domains. Algebraic number theory provided the foundation for later frameworks such as class field theory and arithmetic geometry, and it remains a core part of modern number theory.
By the early twentieth century, algebraic number theory had matured enough to support two powerful systematizations.
Class Field Theory (1897–present) grew out of David Hilbert's work on abelian extensions of number fields. Its central achievement is a complete description of the abelian Galois groups of number fields in terms of arithmetic data—ideals and idèles. The framework unified earlier results on quadratic and cyclotomic fields into a single theory, showing that the abelian extensions of a number field correspond to certain subgroups of its ideal class group. Class field theory is not a separate subject from algebraic number theory but rather its crowning structural result; it provides the infrastructure for understanding how primes split in abelian extensions.
P-adic and Local Number Theory (1899–present) began with Kurt Hensel's p-adic numbers, which complete the rational numbers with respect to a prime-based absolute value rather than the usual real absolute value. This framework studies number fields locally, one prime at a time, and has proven essential for understanding global phenomena. Helmut Hasse's local-global principle for quadratic forms showed that a rational solution exists if and only if solutions exist in every completion (real and p-adic). P-adic methods now permeate modern number theory, from class field theory to arithmetic geometry, and they coexist with analytic methods as complementary ways to study arithmetic.
Analytic number theory itself branched into specialized sub-frameworks that sharpened its tools.
Sieve Theory (1919–present) originated with Viggo Brun's elementary sieve, which gave the first proof that the sum of reciprocals of twin primes converges. Sieve methods use combinatorial inclusion–exclusion to estimate the size of sets of integers with certain properties—for example, numbers with no small prime factors. They complement purely analytic approaches by providing explicit bounds on prime patterns, though they often cannot prove existence results without additional analytic input. The framework remains active in problems like the Goldbach conjecture and the twin prime conjecture.
Probabilistic Number Theory (1930–present) treats integers as random variables to study their typical behavior. Paul Erdős and Mark Kac showed that the number of prime factors of an integer follows a normal distribution, a result that would be difficult to prove by elementary or analytic means alone. This framework does not replace analytic methods but adds a new perspective: it explains why certain patterns appear in the average behavior of arithmetic functions. Today it is used alongside analytic and sieve methods to study the distribution of prime divisors and multiplicative functions.
The second half of the twentieth century saw two frameworks that aimed to connect number theory to geometry and representation theory.
Arithmetic Geometry (1950–present) applies the tools of algebraic geometry to number-theoretic problems. André Weil's conjectures (1949) linked the number of solutions to equations over finite fields to the topology of algebraic varieties, and their proof by Pierre Deligne (1973) required deep geometric methods. The framework studies Diophantine equations through schemes, étale cohomology, and moduli spaces. It absorbed much of classical algebraic number theory and class field theory, recasting them in geometric language. Arithmetic geometry is now one of the most active areas of number theory, with applications to the Birch and Swinnerton-Dyer conjecture and the Langlands program.
Automorphic and Langlands Methods (1950–present) began with Robert Langlands's visionary correspondence connecting automorphic forms on reductive groups to Galois representations. The Langlands program proposes a grand unification: every L-function arising from arithmetic should be automorphic, and every Galois representation should correspond to an automorphic form. This framework builds on class field theory (which is the abelian case) and extends it to non-abelian settings. It has driven major advances, including the proof of Fermat's Last Theorem (via the modularity theorem) and the proof of the Sato–Tate conjecture. Automorphic methods are not a replacement for earlier frameworks but a coordinating vision that draws on analytic, algebraic, and geometric techniques.
Computational Number Theory (1970–present) uses algorithms and computers to explore arithmetic structures. It includes primality testing (the AKS algorithm), integer factorization (the number field sieve), and the computation of L-functions and class groups. This framework both applies and motivates theoretical work: the need for efficient algorithms has driven new results in analytic and algebraic number theory, and computational experiments often suggest conjectures that later frameworks prove. Computational methods coexist with all earlier frameworks, providing concrete data and practical tools.
Today number theory is a deeply pluralistic field. The leading frameworks—analytic number theory, algebraic number theory, arithmetic geometry, and automorphic methods—each have distinct strengths. Analytic methods excel at asymptotic questions about primes and additive problems. Algebraic methods handle structural questions about number fields and Galois groups. Arithmetic geometry connects arithmetic to geometry and cohomology. Automorphic methods provide a unifying language for L-functions and representations.
These frameworks agree on many core results (the prime number theorem, class field theory, the modularity theorem) but disagree on which methods are most promising for open problems. For example, the Riemann hypothesis is approached from analytic, algebraic, and geometric directions, each offering different insights. The Birch and Swinnerton-Dyer conjecture sits at the intersection of arithmetic geometry and analytic number theory. The Langlands program continues to expand, absorbing ideas from all other frameworks. No single framework has superseded the others; instead, number theorists move fluidly between them, choosing the tools that best fit the problem at hand.