11 Number theory
Number theory
Which whole numbers are sums of two squares, and why do primes thin out the way they do?
Number theory studies the whole numbers and the questions that grow out of them: how the primes are distributed, which equations have solutions in integers or in fractions, and how well irrational numbers can be approximated by fractions. Its problems are often easy to state and hard to solve, and some stood for centuries before a proof was found.
The methods come from all over mathematics. Analytic number theory uses complex analysis, through the zeta function and its relatives, to count primes. Algebraic number theory enlarges the integers to rings of algebraic numbers. Arithmetic geometry treats equations as curves and higher-dimensional shapes. Modular forms and the Langlands program tie these strands together, and computation with large primes underlies modern cryptography.
Sums of two squares
Try to write primes as a sum of two squares: , , , , . But , , , and cannot be written this way. The pattern: an odd prime is a sum of two squares exactly when it leaves remainder 1 on division by 4. One direction is easy, since a square leaves remainder 0 or 1. The other was stated by Fermat and first proved by Euler.
Central objects
- Prime number
- A whole number above 1 divisible only by 1 and itself.
- Congruence
- Two integers are congruent modulo when their difference is divisible by .
- Diophantine equation
- A polynomial equation for which integer or rational solutions are sought.
- Zeta and L-functions
- Functions of a complex variable that encode primes and other arithmetic data.
- Number field
- A field obtained from the rationals by adjoining a root of a polynomial with rational coefficients.
- Elliptic curve
- A smooth cubic curve such as , whose points form an abelian group.
- Modular form
- A highly symmetric analytic function on the upper half-plane whose coefficients carry arithmetic information.
Landmark theorems
- Lagrange's four-square theorem1770
Every nonnegative integer is a sum of four squares of integers.
- Quadratic reciprocity1796
For distinct odd primes and , . Here , for not divisible by , is if is a square modulo and otherwise.
- Dirichlet's theorem on primes in progressions1837
If and are positive integers with no common factor above 1, then infinitely many primes are congruent to modulo .
- Prime number theorem1896
Let be the number of primes not exceeding . Then tends to as tends to infinity.
- Mordell's theorem1922
The rational points of an elliptic curve defined over form a finitely generated abelian group.
- Fermat's Last Theorem1995
For every integer there are no positive integers , , with .
Open problems and frontiers
- Riemann hypothesis
Every zero of the Riemann zeta function with real part strictly between 0 and 1 has real part .
- Twin prime conjecture
There are infinitely many primes such that is also prime.
- Birch and Swinnerton-Dyer conjecture
The rank of the group of rational points of an elliptic curve over equals the order of vanishing of its L-function at .
Environments in this area
Definitions from words
Turn a number-theoretic definition written in words into a computable Lean function that agrees with it on hidden inputs.
Divisibility, congruences and parity
Prove facts about residues, divisibility, congruences and coprimality for natural numbers and integers, by case analysis on residues.
