Number theory
Number theory is a branch of mathematics devoted primarily to the study of the integers. Any attempt to conduct such a study naturally leads to an examination of the properties of that which integers are made of (namely, prime numbers) as well as the properties of objects made out of integers (such as rational numbers) or defined as generalisations of the integers (such as, for example, algebraic integers).
Integers can be considered either as such or as solutions to equations (diophantine geometry). Some of the main questions are those of distribution: questions, say, on patterns or their absence (in the primes or other sequences) or, more generally, questions on size, number and growth. Such matters are often best understood through the study of analytical objects (e.g., the Riemann zeta function) that encode them in some fashion (analytical number theory). One may also study real numbers in relation to rational numbers, e.g., as approximated by the latter (diophantine approximation).
The older term for number theory is arithmetic; it was superseded by "number theory" in the nineteenth century, though the adjective arithmetical is still fully current. By 1921, T. Heath had to explain: "By arithmetic Plato meant, not arithmetic in our sense, but the science which considers numbers in themselves, in other words, what we mean by the Theory of Numbers." The general public now uses arithmetic to mean elementary calculations, whereas mathematicians use arithmetic as this article shall, viz., as an older synonym for number theory. (The use of the term arithmetic for number theory has regained some ground since Heath's time, in part due to French influence.)
Origins
The dawn of arithmetic
The first historical find of an arithmetical nature is a fragment of a table: the broken clay tablet Plimpton 322 (Larsa, Mesopotamia, ca. 1800 BCE) contains a list of "Pythagorean triples", i.e., integers such that . The triples are too many and too large to have been obtained by brute force.
One of the two methods was used: either the one later used by Euclid, or the very closely related identity
which is implicit in routine Babylonian exercises. If the former is the case, the triples were constructed and then ordered by , presumably for actual use as a "table", i.e., with a view to applications. If the latter is the case, the ordering is what one might expect from the process used to construct the triples, and other purposes for the tablet are possible. It has been suggested that the table was a source of numerical examples for school problems. Alternatively, it could have served to demonstrate a method for solving a problem of interest to one's students or fellow scribes.
While Babylonian number theory consists of this single, striking fragment, Babylonian algebra (in the secondary-school sense of "algebra") was exceptionally well developed. Iamblichus states that Pythagoras learned mathematics from the Babylonians, and there is no very strong reason to believe otherwise. (Much earlier sources attest to the travels and studies of Thales and Pythagoras in Egypt.)
Pythagoras was a mystic who gave great importance to the odd and the even. Euclid IX 21--34 is very probably Pythagorean; it is very simple material ("odd times even is odd", "if an odd number measures [= divides] an even number, then it also measures [= divides] half of it"), but it is all that is needed to prove that is irrational. The discovery that is irrational is credited to the early Pythagoreans (pre-Theodorus). By revealing (in modern terms) that numbers could be irrational, it seems to have provoked the first foundational crisis in mathematical history; its proof or its divulgation are sometimes credited to Hippasus, who was expelled or split from the Pythagorean sect. It is only here that we can start to speak of a clear, conscious division between numbers (integers and the rationals - the subjects of arithmetic) and lengths (real numbers, whether rational or not).
Arithmetic in Hellenistic, Indian and Arabic mathematics
Hellenistic mathematicians had a keen interest in what would later be called number theory: Euclid devoted part of his Elements to prime numbers and divisibility, topics that belong unambiguously to number theory and are basic thereto; in particular, he gave the first known proof of the infinitude of primes. (Some questions on divisibility and congruences were studied elsewhere in antiquity; see the Chinese remainder theorem). Five centuries and a half after Euclid, Diophantus would devote himself to the study of rational solutions to equations. Thus, nowadays, we speak of Diophantine equations when we speak of polynomial equations to which rational or integer solutions must be found. In essence, much of Diophantus's opus amounts to worked-out examples on how to find points with rational coordinates on curves described in the plane or in space.
In India, Brahmagupta (628 CE) started the systematic study of indefinite quadratic equations -- in particular, the misnamed Pell equation, in which Archimedes may have first been interested. Later Sanskrit authors would follow, using Brahmagupta's technical terminology. A general method (the cakravāla) for solving Pell's equation was finally found by Jayadeva (cited in the eleventh century; his work is otherwise lost) and Bhāskara (twelfth century).
In the early ninth century, the caliph Al-Ma'mun ordered translations of many Greek mathematical works and at least one Sanskrit work (generally presumed to be Brahmagupta's), thus giving rise to the rich tradition of Islamic mathematics. Diophantus's main work, the Arithmetica, was translated into Arabic in the 10th century; al-Karajī would build on it within a generation. Al-Karajī's contemporary Ibn al-Haytham knew and used what would later be called Wilson's theorem, which, arguably, was thus the first clearly non-trivial result on congruences to prime moduli ever known.
Other than a treatise on squares in arithmetic progression by Fibonacci - who lived and studied in north Africa and Constantinople during his formative years, ca. 1175-1200 - no number theory to speak of was done in western Europe while it went through the Middle Ages. Matters started to change in Europe in the late Rennaissance, thanks to a renewed study of the works of Greek antiquity. The key catalyst was the textual emendation and translation into Latin of Diophantus's Arithmetica.
Early modern number theory
Subfields
Analytic number theory
Analytic number theory is generally held to denote the study of problems in number theory by analytic means, i.e., by the tools of calculus. Some would emphasize the use of complex analysis: the study of the Riemann zeta function and other L-functions can be seen as the epitome of analytic number theory. At the same time, the subfield is often held to cover studies of elementary problems by elementary means, e.g., the study of the divisors of a number without the use of analysis, or the application of sieve methods. A problem in number theory can be said to be analytic simply if it involves statements on quantity or distribution, or if the ordering of the objects studied (e.g., the primes) is crucial. Several different senses of the word analytic are thus conflated in the designation analytic number theory as it is commonly used.
The following are examples of problems in analytic number theory: the prime number theorem, the Goldbach conjecture (or the twin prime conjecture, or the Hardy-Littlewood conjectures), the Waring problem and the Riemann Hypothesis. Some of the most important tools of analytic number theory are the circle method, sieve methods and L-functions (or, rather, the study of their properties).
One may ask analytic questions about algebraic numbers, and use analytic means to answer such questions; it is thus that algebraic and analytic number theory intersect. For example, one may define prime ideals (generalisations of prime numbers living in the field of algebraic numbers) and ask how many prime ideals there are up to a certain size. This question can be answered by means of an examination of Dedekind L functions, which are generalisations of the Riemann zeta function, an all-important analytic object that controls the distribution of prime numbers.
Algebraic number theory
Algebraic number theory studies fields of algebraic numbers, which are generalisations of the rational numbers. (Briefly, an algebraic number is any complex number that is a solution to some polynomial equation with rational coefficients.) Fields of algebraic numbers are also called number fields.
It could be argued that the simplest kind of number fields (viz., those of degree two over the rationals) were already studied by Gauss, as the discussion of quadratic forms in Disquisitiones arithmeticae can be restated in terms of ideals and norms in quadratic fields. For that matter, the 11th-century cakravāla method amounts - in modern terms - to an algorithm for finding the units of a real quadratic number field. However, neither Bhāskara nor Gauss knew of number fields as such.
The grounds of the subject as we know it were set in the late nineteenth century, when ideal numbers, the theory of ideals and valuation theory were developed; these are three complementary ways of dealing with the lack of unique factorisation in algebraic number fields. (For example, in the field generated by the rationals and , the number can be factorised both as and ; all of , , and are irreducible, and thus, in a naïve sense, analogous to primes among the integers.) A failure of awareness of this lack had led to an early erroneous "proof" of Fermat's Last Theorem by G. Lamé; the realisation that this proof was erroneous made others study the consequences of this lack, and ways in which it could be alleviated.
Number fields are often studied as extensions of smaller number fields: a number field L is said to be an extension of a number field K if L contains K. Classifying the possible extensions of a given number field is a difficult and partially open problem. Abelian extensions -- that is, extensions L of K such that the Galois group Gal(L/K) of L over K is an abelian group -- are relatively well understood. Their classification was the object of the programme of class field theory, which was initiated in the late 19th century (partly by Kronecker and Eisenstein) and carried out largely in 1900--1950.
The Langlands program is sometimes described as an attempt to generalise class field theory to non-abelian extensions of number fields.
Diophantine geometry
Consider an equation or system of equations. Does it have rational or integer solutions, and if so, how many? This is the central question of Diophantine geometry.
We may think of this question in the following graphic way. An equation in two variables defines a curve in the plane; more generally, an equation, or system of equations, in two or more variables defines a curve, a surface or some other such object in n-dimensional space. We are asking whether there are any rational points (points all of whose coordinates are rationals) or integer points (points all of whose coordinates are integers) on the curve or surface. If there are any such points on the curve or surface, we may ask how many there are and how they are distributed. Most importantly: are there finitely or infinitely many rational points on a given curve (or surface)? What about integer points?
The rephrasing of questions on equations in terms of points on curves turns out to be felicitous. The finiteness or not of the number of rational or integer points on an algebraic curve - that is, rational or integer solutions to an equation , where is a polynomial in two variables - turns out to depend crucially on the genus of the curve. The genus can be defined as follows: allow the variables in to be complex numbers; then defines a 2-dimensional surface in 4-dimensional surface; count the number of (doughnut) holes in the surface; call this number the genus of . Other geometrical notions turn out to be just as crucial.
There is also the closely linked area of diophantine approximations: given a number , how well can it be approximated by rationals? (We are looking for approximations that are good relative to the amount of space that it takes to write the rational: call (with ) a good approximation to if , where is large.) This question is of special interest if is an algebraic number. If cannot be well approximated, then some equations do not have integer or rational solutions. Moreover, several concepts (especially that of height) turn out to be crucial both in diophantine geometry and in the study of diophantine approximations.
Diophantine geometry should not be confused with the geometry of numbers, which is a collection of graphical methods for answering certain questions in algebraic number theory.
Arithmetic combinatorics
Let be a set of integers. Consider the set consisting of all sums of two elements of . Is much larger than A? Barely larger? If is barely larger than , must have plenty of arithmetic structure - e.g., does it look like an arithmetic progression?
If we begin from a fairly "thick" infinite set (say, the primes), does it contain many elements in arithmetic progression: , , , , ... , , say? Should it be possible to write large integers as sums of elements of ?
These questions are characteristic of arithmetic combinatorics. This is a presently coalescing field; it subsumes additive number theory (which concerns itself with certain very specific sets of arithmetic significance, such as the primes or the squares) and, arguably, some of the geometry of numbers, together with some rapidly developing new material. Its focus on issues of growth and distribution make the strengthening of links with ergodic theory likely. The term additive combinatorics is also used; however, the sets being studied need not be sets of integers, but rather subsets of non-commutative groups, for which the multiplication symbol, not the addition symbol, is traditionally used; they can also be subsets of rings, in which case the growth of and · may be compared.
Probabilistic number theory
Take a number at random between one and a million. How likely is it to be prime? This is just another way of asking how many primes there are between one and a million. Very well; ask further: how many prime divisors will it have, on average? How many divisors will it have altogether, and with what likelihood? What is the probability that it have many more or many fewer divisors or prime divisors than the average?
Much of probabilistic number theory can be seen as an important special case of the study of variables that are almost, but not quite, mutually independent. For example, the event that a random integer between one and a million be divisible by two and the event that it be divisible by three are almost independent, but not quite.
It is sometimes said that probabilistic combinatorics uses the fact that whatever happens with probability greater than must happen sometimes; one may say with equal justice that many applications of probabilistic number theory hinge on the fact that whatever is unusual must be rare. If certain algebraic objects (say, rational or integer solutions to certain equations) can be shown to be in the tail of certain sensibly defined distributions, it follows that there must be few of them; this is a very concrete non-probabilistic statement following from a probabilistic one.
Computations in number theory
While the word algorithm goes back only to certain readers of Al-Kwarismi, careful descriptions of methods of solution are older than proofs: such methods - that is, algorithms - are as old as any recognisable mathematics - Egyptian, Babylonian, Vedic, Chinese - whereas proofs appeared only with the Greeks of the classical period.
There are two main questions: "can we compute this?" and "can we compute it rapidly?". Anybody can test whether a number is prime or, if it is not, split it into prime factors; doing so rapidly is another matter. We now know fast algorithms for testing primality, but, in spite of much work, no truly fast algorithm for factoring.
The difficulty of a computation can be useful: modern protocols for encrypting messages depend on functions that are known to all, but whose inverses (a) are known only to a chosen few, and (b) would take one too long a time to figure out on one's own. For example, these functions can be such that their inverses can be computed only if certain large integers are factorised. While many difficult computational problems outside number theory are known, most working encryption protocols nowadays are based on the difficulty of a few number-theoretical problems.
On a different note - some things may not be computable at all; in fact, this can be proven. For instance, Turing showed in 1936 that there is no algorithm for deciding in finite time whether a given algorithm ends in finite time. In 1970, it was proven that there is no algorithm for solving any and all Diophantine equations. There are thus some problems in number theory that will never be solved. We even know the shape of some of them, viz., Diophantine equations in nine variables; we simply do not know, and cannot know, which coefficients give us equations for which the following two statements are both true: there are no solutions, and we shall never know that there are no solutions.
Problems solved and unsolved
References
B. Datta and A. N. Singh, History of Hindu mathematics: a source book, Parts I and II, Asia publishing house, Bombay, 1962.
T. Heath, A history of Greek mathematics, Vol. I: From Thales to Euclid, Dover, New York, 1981.
T. Heath, A history of Greek mathematics, Vol. II: From Aristarchus to Diophantus, Dover, New York, 1981.
E. Robson, "Neither Sherlock Holmes nor Babylon: a reassessment of Plimpton 322", Historia Math. 28 (3), pp. 167-206, 2001.
B. L. van der Waerden, Science awakening, Oxford University Press, New York, 1961.
A. Weil, Number theory. An approach through history. From Hammurapi to Legendre. Birkhäuser, Boston, MA, 1984.