Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Number theory
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Branch of mathematics}} {{for|the book by André Weil|Number Theory: An Approach Through History from Hammurapi to Legendre{{!}}''Number Theory: An Approach Through History from Hammurapi to Legendre''}} {{distinguish|Numerology}} [[File:A 150x150 Ulam spiral of dots with varying widths (emphasis primes).svg|thumb|The distribution of [[prime number]]s, a central point of study in number theory, illustrated by an [[Ulam spiral]]. It shows the conditional [[Independence (probability theory)|independence]] between being prime and being a value of certain quadratic polynomials.]] {{Math topics TOC}} '''Number theory''' is a branch of [[pure mathematics]] devoted primarily to the study of the [[integer]]s and [[arithmetic function]]s. Number theorists study [[prime number]]s as well as the properties of [[mathematical object]]s constructed from integers (for example, [[rational number]]s), or defined as generalizations of the integers (for example, [[algebraic integer]]s). Integers can be considered either in themselves or as solutions to equations ([[Diophantine geometry]]). Questions in number theory can often be understood through the study of [[Complex analysis|analytical]] objects, such as the [[Riemann zeta function]], that encode properties of the integers, primes or other number-theoretic objects in some fashion ([[analytic number theory]]). One may also study [[real number]]s in relation to rational numbers, as for instance how irrational numbers can be approximated by fractions ([[Diophantine approximation]]). Number theory is one of the oldest branches of mathematics alongside geometry. One quirk of number theory is that it deals with statements that are simple to understand but are very difficult to solve. Examples of this are [[Fermat's Last Theorem]], which was proved 358 years after the original formulation, and [[Goldbach's conjecture]], which remains unsolved since the 18th century. German mathematician [[Carl Friedrich Gauss]] (1777–1855) said, "Mathematics is the queen of the sciences—and number theory is the queen of mathematics."{{sfn|Long|1972|p=1}} It was regarded as the example of pure mathematics with no applications outside mathematics until the 1970s, when it became known that prime numbers would be used as the basis for the creation of [[public-key cryptography]] algorithms. == History == Number theory is the branch of mathematics that studies [[Integer|integers]] and their [[Property (mathematics)|properties]] and relations.<ref>{{Cite web |last=Karatsuba |first=A.A. |date=2020 |title=Number theory |url=https://encyclopediaofmath.org/wiki/Number_theory |access-date=2025-05-03 |website=Encyclopedia of Mathematics |publisher=Springer}}</ref> The integers comprise a [[Set (mathematics)|set]] that extends the set of [[Natural number|natural numbers]] <math>\{1, 2, 3, \dots\}</math> to include number <math>0</math> and the negation of natural numbers <math>\{-1, -2, -3, \dots\}</math>. Number theorists study [[Prime number|prime numbers]] as well as the properties of [[Mathematical object|mathematical objects]] constructed from integers (for example, [[Rational number|rational numbers]]), or defined as generalizations of the integers (for example, [[Algebraic integer|algebraic integers]]).<ref name=":5">{{Cite book |last=Moore |first=Patrick |title=The Gale Encyclopedia of Science |publisher=Gale |year=2004 |isbn=0-7876-7559-8 |editor-last=Lerner |editor-first=K. Lee |edition=3rd |volume=4 |pages= |language=en |chapter=Number theory |editor-last2=Lerner |editor-first2=Brenda Wilmoth}}</ref><ref name=":1" /> Number theory is closely related to arithmetic and some authors use the terms as synonyms.<ref>{{multiref|{{harvnb|Lozano-Robledo|2019|p=[https://books.google.com/books?id=ESiODwAAQBAJ&pg=PR13 xiii]}}|{{harvnb|Nagel|Newman|2008|p=[https://books.google.com/books?id=WgwUCgAAQBAJ&pg=PA4 4]}}}}</ref> However, the word "arithmetic" is used today to mean the study of numerical operations and extends to the [[Real number|real numbers]].<ref>{{multiref|{{harvnb|Romanowski|2008|pp=302–303}}|{{harvnb|HC staff|2022b}}|{{harvnb|MW staff|2023}}|{{harvnb|Bukhshtab|Pechaev|2020}}}}</ref> In a more specific sense, number theory is restricted to the study of integers and focuses on their properties and relationships.<ref>{{multiref|{{harvnb|Wilson|2020|pp=[https://books.google.com/books?id=fcDgDwAAQBAJ&pg=PA1 1–2]}}|{{harvnb|Karatsuba|2020}}|{{harvnb|Campbell|2012|p=[https://books.google.com/books?id=yoEFp-Q2OXIC&pg=PT33 33]}}|{{harvnb|Robbins|2006|p=[https://books.google.com/books?id=TtLMrKDsDuIC&pg=PR12-IA1 1]}}}}</ref> Traditionally, it is known as higher arithmetic.<ref>{{multiref|{{harvnb|Duverney|2010|p=[https://books.google.com/books?id=sr5S9oN1xPAC&pg=PR5 v]}}|{{harvnb|Robbins|2006|p=[https://books.google.com/books?id=TtLMrKDsDuIC&pg=PR12-IA1 1]}}}}</ref> By the early twentieth century, the term ''number theory'' had been widely adopted.<ref group="note">The term 'arithmetic' may have regained some ground, arguably due to French influence. Take, for example, {{harvnb|Serre|1996}}. In 1952, [[Harold Davenport|Davenport]] still had to specify that he meant ''The Higher Arithmetic''. [[G. H. Hardy|Hardy]] and Wright wrote in the introduction to ''[[An Introduction to the Theory of Numbers]]'' (1938): "We proposed at one time to change [the title] to ''An introduction to arithmetic'', a more novel and in some ways a more appropriate title; but it was pointed out that this might lead to misunderstandings about the content of the book." {{harv|Hardy|Wright|2008}}</ref> The term number means whole numbers, which refers to either the natural numbers or the integers.<ref name=":4">{{Cite book |last1=Effinger |first1=Gove |title=Elementary Number Theory |last2=Mullen |first2=Gary L. |publisher=CRC Press |year=2022 |isbn=978-1-003-19311-1 |location=Boca Raton |language=en |chapter=}}</ref><ref name=":6">{{Cite book |last=Weisstein |first=Eric W. |title=CRC Concise Encyclopedia of Mathematics |publisher=Chapman & Hall/CRC |year=2003 |isbn=1-58488-347-2 |edition=2nd |pages= |language=en |chapter=}}</ref><ref>{{Cite book |last=Weisstein |first=Eric W. |title=CRC Concisse Encyclopedia of Mathematics |publisher=Chapman & Hall/CRC |year=2003 |isbn=1-58488-347-2 |edition=2nd |pages=3202 |language=en |chapter=Whole Number}}</ref> [[Elementary number theory]] studies aspects of integers that can be investigated using elementary methods such as [[Elementary proof|elementary proofs]].<ref name=":3">{{multiref|{{harvnb|Page|2003|pp=[https://www.sciencedirect.com/science/article/abs/pii/B0122274105005032 18–19, 34]}}|{{harvnb|Bukhshtab|Nechaev|2014}}}}</ref> [[Analytic number theory]], by contrast, relies on [[complex numbers]] and techniques from analysis and calculus.<ref>{{multiref|{{harvnb|Page|2003|p=[https://www.sciencedirect.com/science/article/abs/pii/B0122274105005032 34]}}|{{harvnb|Karatsuba|2014}}}}</ref> [[Algebraic number theory]] employs [[algebraic structures]] such as [[Field (mathematics)|fields]] and [[Ring (mathematics)|rings]] to analyze the properties of and relations between numbers. [[Geometric number theory]] uses concepts from geometry to study numbers.<ref>{{multiref|{{harvnb|Page|2003|pp=[https://www.sciencedirect.com/science/article/abs/pii/B0122274105005032 34–35]}}|{{harvnb|Vinogradov|2019}}}}</ref> Further branches of number theory are [[probabilistic number theory]],<ref>{{harvnb|Kubilyus|2018}}</ref> [[combinatorial number theory]],<ref>{{harvnb|Pomerance|Sárközy|1995|p=[https://books.google.com/books?id=5ktBP5vUl5gC&pg=PA969 969]}}</ref> [[computational number theory]],<ref>{{harvnb|Pomerance|2010}}</ref> and applied number theory, which examines the application of number theory to science and technology.<ref>{{multiref|{{harvnb|Yan|2002|pp=12, 303–305}}|{{harvnb|Yan|2013a|p=[https://books.google.com/books?id=74oBi4ys0UUC&pg=PA15 15]}}}}</ref> === Origins === ==== Ancient Mesopotamia ==== [[File:Plimpton 322.jpg|thumb|Plimpton 322 tablet]] The earliest historical find of an arithmetical nature is a fragment of a table: [[Plimpton 322]] ([[Larsa]], Mesopotamia, c. 1800 BC), a broken clay tablet, contains a list of "[[Pythagorean triple]]s", that is, integers <math>(a,b,c)</math> such that <math>a^2+b^2=c^2</math>. The triples are too numerous and too large to have been obtained by [[brute force method|brute force]]. The heading over the first column reads: "The {{tlit|akk|takiltum}} of the diagonal which has been subtracted such that the width..."<ref>{{harvnb|Neugebauer|Sachs|1945|p=40}}. The term {{tlit|akk|takiltum}} is problematic. Robson prefers the rendering "The holding-square of the diagonal from which 1 is torn out, so that the short side comes up...".{{harvnb|Robson|2001|p=192}}</ref> The table's layout suggests that it was constructed by means of what amounts, in modern language, to the [[Identity (mathematics)|identity]]<ref>{{harvnb|Robson|2001|p=189}}. Other sources give the modern formula <math>(p^2-q^2,2pq,p^2+q^2)</math>. Van der Waerden gives both the modern formula and what amounts to the form preferred by Robson.{{harv|van der Waerden|1961|p=79}}</ref> <math display="block">\left(\frac{1}{2} \left(x - \frac{1}{x}\right)\right)^2 + 1 = \left(\frac{1}{2} \left(x + \frac{1}{x} \right)\right)^2,</math> which is implicit in routine [[Old Babylonian language|Old Babylonian]] exercises. If some other method was used, the triples were first constructed and then reordered by <math>c/a</math>, presumably for actual use as a "table", for example, with a view to applications.<ref>Neugebauer {{harv|Neugebauer|1969|pp=36–40}} discusses the table in detail and mentions in passing Euclid's method in modern notation {{harv|Neugebauer|1969|p=39}}.</ref> It is not known what these applications may have been, or whether there could have been any; [[Babylonian astronomy]], for example, truly came into its own many centuries later. It has been suggested instead that the table was a source of numerical examples for school problems.{{sfn|Friberg|1981|p=302}}<ref group="note">{{harvnb|Robson|2001|p=201}}. This is controversial. See [[Plimpton 322]]. Robson's article is written polemically {{harv|Robson|2001|p=202}} with a view to "perhaps [...] knocking [Plimpton 322] off its pedestal" {{harv|Robson|2001|p=167}}; at the same time, it settles to the conclusion that <blockquote>[...] the question "how was the tablet calculated?" does not have to have the same answer as the question "what problems does the tablet set?" The first can be answered most satisfactorily by reciprocal pairs, as first suggested half a century ago, and the second by some sort of right-triangle problems {{harv|Robson|2001|p=202}}.</blockquote> Robson takes issue with the notion that the scribe who produced Plimpton 322 (who had to "work for a living", and would not have belonged to a "leisured middle class") could have been motivated by his own "idle curiosity" in the absence of a "market for new mathematics".{{harv|Robson|2001|pp=199–200}}</ref> Plimpton 322 tablet is the only surviving evidence of what today would be called number theory within Babylonian mathematics, though a kind of [[Babylonian mathematics#Algebra|Babylonian algebra]] was much more developed.{{sfn|van der Waerden|1961|p=63-75}} ==== Ancient Greece ==== {{Further|Ancient Greek mathematics}} Although other civilizations probably influenced Greek mathematics at the beginning,<ref>{{harvnb|van der Waerden|1961|p=87-90}}</ref> all evidence of such borrowings appear relatively late,<ref name="vanderW2">[[Iamblichus]], ''Life of Pythagoras'',(trans., for example, {{harvnb|Guthrie|1987}}) cited in {{harvnb|van der Waerden|1961|p=108}}. See also [[Porphyry (philosopher)|Porphyry]], ''Life of Pythagoras'', paragraph 6, in {{harvnb|Guthrie|1987|para=6}}</ref><ref name="stanencyc">Herodotus (II. 81) and Isocrates (''Busiris'' 28), cited in: {{harvnb|Huffman|2011}}. On Thales, see Eudemus ap. Proclus, 65.7, (for example, {{harvnb|Morrow|1992|p=52}}) cited in: {{harvnb|O'Grady|2004|p=1}}. Proclus was using a work by [[Eudemus of Rhodes]] (now lost), the ''Catalogue of Geometers''. See also introduction, {{harvnb|Morrow|1992|p=xxx}} on Proclus's reliability.</ref> and it is likely that Greek {{tlit|grc|arithmētikḗ}} (the theoretical or philosophical study of numbers) is an indigenous tradition. Aside from a few fragments, most of what is known about Greek mathematics in the 6th to 4th centuries BC (the [[Archaic Greece|Archaic]] and [[Classical Greece|Classical]] periods) comes through either the reports of contemporary non-mathematicians or references from mathematical works in the early [[Hellenistic period]].{{sfn|Boyer|Merzbach|1991|p=82}} In the case of number theory, this means largely [[Plato]], [[Aristotle]], and [[Euclid]]. Plato had a keen interest in mathematics, and distinguished clearly between {{tlit|grc|arithmētikḗ}} and calculation ({{tlit|grc|logistikē}}). Plato reports in his dialogue ''[[Theaetetus (dialogue)|Theaetetus]]'' that [[Theodorus of Cyrene|Theodorus]] had proven that <math>\sqrt{3}, \sqrt{5}, \dots, \sqrt{17}</math> are irrational. [[Theaetetus of Athens|Theaetetus]], a disciple of Theodorus's, worked on distinguishing different kinds of [[Commensurability (mathematics)|incommensurables]], and was thus arguably a pioneer in the study of [[number systems]]. Aristotle further claimed that the philosophy of Plato closely followed the teachings of the [[Pythagoreanism|Pythagoreans]],<ref>Metaphysics, 1.6.1 (987a)</ref> and Cicero repeats this claim: {{lang|la|Platonem ferunt didicisse Pythagorea omnia}} ("They say Plato learned all things Pythagorean").<ref>Tusc. Disput. 1.17.39.</ref> Euclid devoted part of his ''[[Euclid's Elements|Elements]]'' (Books VII–IX) to topics that belong to elementary number theory, including [[Prime number|prime numbers]] and [[Divisibility rule|divisibility]].<ref>{{Cite book |last=Corry |first=Leo |title=A Brief History of Numbers |publisher=Oxford University Press |year=2015 |isbn=978-0-19-870259-7 |language=en |chapter=Construction Problems and Numerical Problems in the Greek Mathematical Tradition}}</ref> He gave an algorithm, the [[Euclidean algorithm]], for computing the [[greatest common divisor]] of two numbers (Prop. VII.2) and a [[Euclid's theorem|proof implying the infinitude of primes]] (Prop. IX.20). There is also older material likely based on Pythagorean teachings (Prop. IX.21–34), such as "odd times even is even" and "if an odd number measures [= divides] an even number, then it also measures [= divides] half of it".<ref name="Becker">{{harvnb|Becker|1936|p=533}}, cited in: {{harvnb|van der Waerden|1961|p=108}}.</ref> This is all that is needed to prove that [[square root of 2|<math>\sqrt{2}</math>]] is [[Irrational number|irrational]].{{sfn|Becker|1936}} Pythagoreans apparently gave great importance to the odd and the even.{{sfn|van der Waerden|1961|p=109}} The discovery that <math>\sqrt{2}</math> is irrational is credited to the early Pythagoreans, sometimes assigned to [[Hippasus]], who was expelled or split from the Pythagorean community as a result.<ref name="Thea">Plato, ''Theaetetus'', p. 147 B, (for example, {{harvnb|Jowett|1871}}), cited in {{harvnb|von Fritz|2004|p=212}}: "Theodorus was writing out for us something about roots, such as the roots of three or five, showing that they are incommensurable by the unit;..." See also [[Spiral of Theodorus]].</ref>{{sfn|von Fritz|2004}} This forced a distinction between ''[[number]]s'' (integers and the rationals—the subjects of arithmetic) and ''lengths'' and ''proportions'' (which may be identified with real numbers, whether rational or not). The Pythagorean tradition also spoke of so-called [[polygonal number|polygonal]] or [[figurate numbers]].{{sfn|Heath|1921|p=76}} While [[square number]]s, [[cubic number]]s, etc., are seen now as more natural than [[triangular number]]s, [[pentagonal number]]s, etc., the study of the sums of triangular and pentagonal numbers would prove fruitful in the [[early modern period]] (17th to early 19th centuries). An [[epigram]] published by [[Gotthold Ephraim Lessing|Lessing]] in 1773 appears to be a letter sent by [[Archimedes]] to [[Eratosthenes]].{{sfn|Vardi|1998|pp=305–319}}{{sfn|Weil|1984|pp=17–24}} The epigram proposed what has become known as [[Archimedes's cattle problem]]; its solution (absent from the manuscript) requires solving an indeterminate quadratic equation (which reduces to what would later be misnamed [[Pell's equation]]). As far as it is known, such equations were first successfully treated by Indian mathematicians. It is not known whether Archimedes himself had a method of solution. ===== Late Antiquity ===== [[File:Diophantus-cover.png|thumb|upright=0.8|Title page of Diophantus's ''{{lang|la|[[Arithmetica]]}}'', translated into Latin by [[Claude Gaspard Bachet de Méziriac|Bachet]] (1621)]] Aside from the elementary work of Neopythagoreans such as [[Nicomachus]] and [[Theon of Smyrna]], the foremost authority in {{tlit|grc|arithmētikḗ}} in Late Antiquity was [[Diophantus of Alexandria]], who probably lived in the 3rd century AD, approximately five hundred years after Euclid. Little is known about his life, but he wrote two works that are extant: ''On Polygonal Numbers'', a short treatise written in the Euclidean manner on the subject, and the ''[[Arithmetica]]'', a work on pre-modern algebra (namely, the use of algebra to solve numerical problems). Six out of the thirteen books of Diophantus's ''Arithmetica'' survive in the original Greek and four more survive in an Arabic translation. The ''{{lang|la|Arithmetica}}'' is a collection of worked-out problems where the task is invariably to find rational solutions to a system of polynomial equations, usually of the form <math>f(x,y)=z^2</math> or <math>f(x,y,z)=w^2</math>. In modern parlance, [[Diophantine equation]]s are [[polynomial equation]]s to which rational or integer solutions are sought. ==== Asia ==== The [[Chinese remainder theorem]] appears as an exercise<ref>''Sunzi Suanjing'', Chapter 3, Problem 26. This can be found in {{harvnb|Lam|Ang|2004|pp=219–220}}, which contains a full translation of the ''Suan Ching'' (based on {{harvnb|Qian|1963}}). See also the discussion in {{harvnb|Lam|Ang|2004|pp=138–140}}.</ref> in ''[[Sunzi Suanjing]]'' (between the third and fifth centuries).<ref name="YongSe">The date of the text has been narrowed down to 220–420 AD (Yan Dunjie) or 280–473 AD (Wang Ling) through internal evidence (= taxation systems assumed in the text). See {{harvnb|Lam|Ang|2004|pp=27–28}}.</ref> (There is one important step glossed over in Sunzi's solution:<ref group="note">''Sunzi Suanjing'', Ch. 3, Problem 26, in {{harvnb|Lam|Ang|2004|pp=219–220}}:<blockquote> [26] Now there are an unknown number of things. If we count by threes, there is a remainder 2; if we count by fives, there is a remainder 3; if we count by sevens, there is a remainder 2. Find the number of things. ''Answer'': 23.<br /> ''Method'': If we count by threes and there is a remainder 2, put down 140. If we count by fives and there is a remainder 3, put down 63. If we count by sevens and there is a remainder 2, put down 30. Add them to obtain 233 and subtract 210 to get the answer. If we count by threes and there is a remainder 1, put down 70. If we count by fives and there is a remainder 1, put down 21. If we count by sevens and there is a remainder 1, put down 15. When [a number] exceeds 106, the result is obtained by subtracting 105.</blockquote></ref> it is the problem that was later solved by [[Āryabhaṭa]]'s [[Kuṭṭaka]] – see [[#Āryabhaṭa, Brahmagupta, Bhāskara|below]].) The result was later generalized with a complete solution called ''Da-yan-shu'' ({{lang|zh|大衍術}}) in [[Qin Jiushao]]'s 1247 ''[[Mathematical Treatise in Nine Sections]]''<ref>{{harvnb|Dauben|2007|page=310}}</ref> which was translated into English in early nineteenth century by British missionary [[Alexander Wylie (missionary)|Alexander Wylie]].<ref>{{harvnb|Libbrecht|1973}}</ref> There is also some numerical mysticism in Chinese mathematics,<ref group="note">See, for example, ''Sunzi Suanjing'', Ch. 3, Problem 36, in {{harvnb|Lam|Ang|2004|pp=223–224}}:<blockquote> [36] Now there is a pregnant woman whose age is 29. If the gestation period is 9 months, determine the sex of the unborn child. ''Answer'': Male.<br /> ''Method'': Put down 49, add the gestation period and subtract the age. From the remainder take away 1 representing the heaven, 2 the earth, 3 the man, 4 the four seasons, 5 the five phases, 6 the six pitch-pipes, 7 the seven stars [of the Dipper], 8 the eight winds, and 9 the nine divisions [of China under Yu the Great]. If the remainder is odd, [the sex] is male and if the remainder is even, [the sex] is female.</blockquote> This is the last problem in Sunzi's otherwise matter-of-fact treatise.</ref> but, unlike that of the Pythagoreans, it seems to have led nowhere. While Greek astronomy probably influenced Indian learning, to the point of introducing [[trigonometry]],{{sfn|Plofker|2008|p=119}} it seems to be the case that Indian mathematics is otherwise an autochthonous tradition;<ref name="Plofbab">Any early contact between Babylonian and Indian mathematics remains conjectural {{harv|Plofker|2008|p=42}}.</ref> in particular, there is no evidence that Euclid's ''Elements'' reached India before the eighteenth century.{{sfn|Mumford|2010|p=387}} Āryabhaṭa (476–550 AD) showed that pairs of simultaneous congruences <math>n\equiv a_1 \bmod m_1</math>, <math>n\equiv a_2 \bmod m_2</math> could be solved by a method he called ''kuṭṭaka'', or ''pulveriser'';<ref>Āryabhaṭa, Āryabhatīya, Chapter 2, verses 32–33, cited in: {{harvnb|Plofker|2008|pp=134–140}}. See also {{harvnb|Clark|1930|pp=42–50}}. A slightly more explicit description of the kuṭṭaka was later given in [[Brahmagupta]], ''Brāhmasphuṭasiddhānta'', XVIII, 3–5 (in {{harvnb|Colebrooke|1817|p=325}}, cited in {{harvnb|Clark|1930|p=42}}).</ref> this is a procedure close to (a generalization of) the Euclidean algorithm, which was probably discovered independently in India.{{sfn|Mumford|2010|p=388}} Āryabhaṭa seems to have had in mind applications to astronomical calculations.{{sfn|Plofker|2008|p=119}} Brahmagupta (628 AD) started the systematic study of indefinite quadratic equations—in particular, the misnamed [[Pell equation]], in which [[Archimedes]] may have first been interested, and which did not start to be solved in the West until the time of Fermat and Euler. Later Sanskrit authors would follow, using Brahmagupta's technical terminology. A general procedure (the [[chakravala]], or "cyclic method") for solving Pell's equation was finally found by [[Jayadeva (mathematician)|Jayadeva]] (cited in the eleventh century; his work is otherwise lost); the earliest surviving exposition appears in [[Bhāskara II]]'s Bīja-gaṇita (twelfth century).{{sfn|Plofker|2008|p=194}} Indian mathematics remained largely unknown in Europe until the late eighteenth century;{{sfn|Plofker|2008|p=283}} Brahmagupta and Bhāskara's work was translated into English in 1817 by [[Henry Colebrooke]].{{sfn|Colebrooke|1817}} ==== Arithmetic in the Islamic golden age ==== {{Further|Mathematics in medieval Islam|Islamic Golden Age}} [[File:Selenographia 1647 (122459248) (cropped).jpg|upright=0.8|thumb|[[Al-Haytham]] as seen by the West: on the frontispiece of ''[[Selenographia]]'' Alhasen{{sic}} represents knowledge through reason and Galileo knowledge through the senses.]] In the early ninth century, the caliph [[al-Ma'mun]] ordered translations of many Greek mathematical works and at least one Sanskrit work (the ''Sindhind'', which may<ref>{{harvnb|Colebrooke|1817|p=lxv}}, cited in {{harvnb|Hopkins|1990|p=302}}. See also the preface in {{harvnb|Sachau|Bīrūni|1888}} cited in {{harvnb|Smith|1958|pp=168}}</ref> or may not<ref name="Plofnot">{{harvnb|Pingree|1968|pp=97–125}}, and {{harvnb|Pingree|1970|pp=103–123}}, cited in {{harvnb|Plofker|2008|p=256}}.</ref> be Brahmagupta's [[Brāhmasphuṭasiddhānta]]). Diophantus's main work, the ''Arithmetica'', was translated into Arabic by [[Qusta ibn Luqa]] (820–912). Part of the treatise ''al-Fakhri'' (by [[al-Karajī]], 953 – c. 1029) builds on it to some extent. According to Rashed Roshdi, Al-Karajī's contemporary [[Ibn al-Haytham]] knew{{sfn|Rashed|1980|pp=305–321}} what would later be called [[Wilson's theorem]]. ==== Western Europe in the Middle Ages ==== Other than a treatise on squares in arithmetic progression by [[Fibonacci]]—who traveled and studied in north Africa and [[Constantinople]]—no number theory to speak of was done in western Europe during the Middle Ages. Matters started to change in Europe in the late [[Renaissance]], thanks to a renewed study of the works of Greek antiquity. A catalyst was the textual emendation and translation into Latin of Diophantus' ''Arithmetica''.<ref>[[Bachet]], 1621, following a first attempt by [[Guilielmus Xylander|Xylander]], 1575</ref> <!--Fibonaaci sequence, unknown author of 1486 ms, Luca Pacioli.. --> === Early modern number theory === ==== Fermat ==== [[File:Pierre de Fermat.png|thumb|upright=0.8|[[Pierre de Fermat]]]] [[Pierre de Fermat]] (1607–1665) never published his writings but communicated through correspondence instead. Accordingly, his work on number theory is contained almost entirely in letters to mathematicians and in private marginal notes.{{sfn|Weil|1984|pp=45–46}} Although he drew inspiration from classical sources, in his notes and letters Fermat scarcely wrote any proofs—he had no models in the area.<ref>{{harvnb|Weil|1984|p=118}}. This was more so in number theory than in other areas ({{harvnb|Mahoney|1994|p=|pp=283-289}}). Bachet's own proofs were "ludicrously clumsy" {{harv|Weil|1984|p=33}}.</ref> Over his lifetime, Fermat made the following contributions to the field: * One of Fermat's first interests was [[perfect number]]s (which appear in Euclid, ''Elements'' IX) and [[amicable numbers]];<ref group="note">Perfect and especially amicable numbers are of little or no interest nowadays. The same was not true in earlier times—whether in the West or the Arab-speaking world—due in part to the importance given to them by the Neopythagorean [[Nicomachus]] (c. 100 AD), who wrote a very elementary but influential book entitled ''[[Introduction to Arithmetic]]''. See {{harvnb|van der Waerden|1961|loc=Ch. IV}}.</ref> these topics led him to work on integer [[divisor]]s, which were from the beginning among the subjects of the correspondence (1636 onwards) that put him in touch with the mathematical community of the day.<ref>{{harvnb|Mahoney|1994|pp=48, 53–54}}. The initial subjects of Fermat's correspondence included divisors ("aliquot parts") and many subjects outside number theory; see the list in the letter from Fermat to Roberval, 22.IX.1636, {{harvnb|Tannery|Henry|1891|loc=Vol. II, pp. 72, 74}}, cited in {{harvnb|Mahoney|1994|p=54}}.</ref> * In 1638, Fermat claimed, without proof, that all whole numbers can be expressed as the sum of four squares or fewer.<ref>{{Cite encyclopedia |url=https://books.google.com/books?id=5tFFDwAAQBAJ |title=Numbers and Measurements |last1=Faulkner |first1=Nicholas |last2=Hosch |first2=William L. |date=2017 |encyclopedia=Encyclopaedia Britannica |isbn=978-1-5383-0042-8 |access-date=2019-08-06}}</ref> * [[Fermat's little theorem]] (1640):<ref>{{harvnb|Tannery|Henry|1891|loc=Vol. II, p. 209}}, Letter XLVI from Fermat to Frenicle, 1640, cited in {{harvnb|Weil|1984|p=56}}</ref> if ''a'' is not divisible by a prime ''p'', then <math>a^{p-1} \equiv 1 \bmod p.</math><ref group="note">Here, as usual, given two integers ''a'' and ''b'' and a non-zero integer ''m'', we write <math>a \equiv b \bmod m</math> (read "''a'' is congruent to ''b'' modulo ''m''") to mean that ''m'' divides ''a'' − ''b'', or, what is the same, ''a'' and ''b'' leave the same residue when divided by ''m''. This notation is actually much later than Fermat's; it first appears in section 1 of [[Gauss]]'s ''{{lang|la|[[Disquisitiones Arithmeticae]]}}''. Fermat's little theorem is a consequence of the [[Lagrange's theorem (group theory)|fact]] that the [[Order (group theory)|order]] of an element of a group divides the [[Order (group theory)|order]] of the group. The modern proof would have been within Fermat's means (and was indeed given later by Euler), even though the modern concept of a group came long after Fermat or Euler. (It helps to know that inverses exist modulo ''p'', that is, given ''a'' not divisible by a prime ''p'', there is an integer ''x'' such that <math> x a \equiv 1 \bmod p</math>); this fact (which, in modern language, makes the residues mod ''p'' into a group, and which was already known to Āryabhaṭa; see [[#Indian school: Āryabhaṭa, Brahmagupta, Bhāskara|above]]) was familiar to Fermat thanks to its rediscovery by [[Bachet]] {{harv|Weil|1984|p=7}}. Weil goes on to say that Fermat would have recognised that Bachet's argument is essentially Euclid's algorithm.</ref> * If ''a'' and ''b'' are [[coprime]], then <math>a^2 + b^2</math> is not divisible by any prime congruent to −1 modulo 4;<ref>{{harvnb|Tannery|Henry|1891|loc=Vol. II, p. 204}}, cited in {{harvnb|Weil|1984|p=63}}. All of the following citations from Fermat's ''Varia Opera'' are taken from {{harvnb|Weil|1984|loc=Chap. II}}. The standard Tannery & Henry work includes a revision of Fermat's posthumous ''Varia Opera Mathematica'' originally prepared by his son {{harv|Fermat|1679}}.</ref> and every prime congruent to 1 modulo 4 can be written in the form <math>a^2 + b^2</math>.{{sfn|Tannery|Henry|1891|loc=Vol. II, p. 213}} These two statements also date from 1640; in 1659, Fermat stated to Huygens that he had proven the latter statement by the [[method of infinite descent]].{{sfn|Tannery|Henry|1891|loc=Vol. II, p. 423}} * In 1657, Fermat posed the problem of solving <math>x^2 - N y^2 = 1</math> as a challenge to English mathematicians. The problem was solved in a few months by Wallis and Brouncker.{{sfn|Weil|1984|p=92}} Fermat considered their solution valid, but pointed out they had provided an algorithm without a proof (as had Jayadeva and Bhaskara, though Fermat was not aware of this). He stated that a proof could be found by infinite descent. * Fermat stated and proved (by infinite descent) in the appendix to ''Observations on Diophantus'' (Obs. XLV){{sfn |Tannery|Henry|1891|loc=Vol. I, pp. 340–341}} that <math>x^{4} + y^{4} = z^{4}</math> has no non-trivial solutions in the integers. Fermat also mentioned to his correspondents that <math>x^3 + y^3 = z^3</math> has no non-trivial solutions, and that this could also be proven by infinite descent.{{sfn|Weil|1984|p=115}} The first known proof is due to Euler (1753; indeed by infinite descent).{{sfn|Weil|1984|pp=115–116}} * Fermat claimed ([[Fermat's Last Theorem]]) to have shown there are no solutions to <math>x^n + y^n = z^n</math> for all <math>n\geq 3</math>; this claim appears in his annotations in the margins of his copy of Diophantus. ==== Euler ==== [[File:Leonhard Euler.jpg|thumb|upright=0.8|Leonhard Euler]] The interest of [[Leonhard Euler]] (1707–1783) in number theory was first spurred in 1729, when a friend of his, the amateur<ref group="note">Up to the second half of the seventeenth century, academic positions were very rare, and most mathematicians and scientists earned their living in some other way {{harv|Weil|1984|pp=159, 161}}. (There were already some recognisable features of professional ''practice'', viz., seeking correspondents, visiting foreign colleagues, building private libraries {{harv|Weil|1984|pp=160–161}}. Matters started to shift in the late seventeenth century {{harv|Weil|1984|p=161}}; scientific academies were founded in England (the [[Royal Society]], 1662) and France (the [[Académie des sciences]], 1666) and [[Russian Academy of Sciences|Russia]] (1724). Euler was offered a position at this last one in 1726; he accepted, arriving in St. Petersburg in 1727 ({{harvnb|Weil|1984|p=163}} and {{harvnb|Varadarajan|2006|p=7}}). In this context, the term ''amateur'' usually applied to Goldbach is well-defined and makes some sense: he has been described as a man of letters who earned a living as a spy {{harv|Truesdell|1984|p=xv}}; cited in {{harvnb|Varadarajan|2006|p=9}}). Notice, however, that Goldbach published some works on mathematics and sometimes held academic positions.</ref> [[Christian Goldbach|Goldbach]], pointed him towards some of Fermat's work on the subject.{{sfn|Weil|1984|pp=2, 172}}{{sfn|Varadarajan|2006|p=9}} This has been called the "rebirth" of modern number theory,{{sfn|Weil|1984|pp=1–2}} after Fermat's relative lack of success in getting his contemporaries' attention for the subject.<ref>{{harvnb|Weil|1984|p=2}} and {{harvnb|Varadarajan|2006|p=37}}</ref> Euler's work on number theory includes the following:<ref>{{harvnb|Varadarajan|2006|p=39}} and {{harvnb|Weil|1984|pp=176–189}}</ref> * ''Proofs for Fermat's statements.'' This includes [[Fermat's little theorem]] (generalised by Euler to non-prime moduli); the fact that <math>p = x^2 + y^2</math> if and only if <math>p\equiv 1 \bmod 4</math>; initial work towards a proof that every integer is the sum of four squares (the first complete proof is by [[Joseph-Louis Lagrange]] (1770), soon improved by Euler himself{{sfn|Weil|1984|pp=178–179}}); the lack of non-zero integer solutions to <math>x^4 + y^4 = z^2</math> (implying the case ''n=4'' of Fermat's last theorem, the case ''n=3'' of which Euler also proved by a related method). * ''[[Pell's equation]]'', first misnamed by Euler.<ref name="Eulpell">{{harvnb|Weil|1984|p=174}}. Euler was generous in giving credit to others {{harv|Varadarajan|2006|p=14}}, not always correctly.</ref> He wrote on the link between [[simple continued fraction|continued fractions]] and Pell's equation.{{sfn|Weil|1984|p=183}} * ''First steps towards analytic number theory.'' In his work of sums of four squares, [[Partition function (number theory)|partitions]], [[pentagonal numbers]], and the [[Distribution (number theory)|distribution]] of prime numbers, Euler pioneered the use of what can be seen as analysis (in particular, infinite series) in number theory. Since he lived before the development of [[complex analysis]], most of his work is restricted to the formal manipulation of [[power series]]. He did, however, do some very notable (though not fully rigorous) early work on what would later be called the [[Riemann zeta function]].<ref>{{harvnb|Varadarajan|2006|pp=45–55}}; see also chapter III.</ref> * ''Quadratic forms''. Following Fermat's lead, Euler did further research on the question of which primes can be expressed in the form <math>x^2 + N y^2</math>, some of it prefiguring [[quadratic reciprocity]].{{sfn|Varadarajan|2006|pp=44–47}}{{sfn|Weil|1984|pp=177–179}}{{sfn|Edwards|1983|pp=285–291}} * ''Diophantine equations''. Euler worked on some Diophantine equations of genus 0 and 1.{{sfn|Varadarajan|2006|pp=55–56}}{{sfn|Weil|1984|pp=179–181}} In particular, he studied Diophantus's work; he tried to systematise it, but the time was not yet ripe for such an endeavour—algebraic geometry was still in its infancy.{{sfn|Weil|1984|p=181}} He did notice there was a connection between Diophantine problems and [[elliptic integral]]s,{{sfn|Weil|1984|p=181}} whose study he had himself initiated. ==== Lagrange, Legendre, and Gauss ==== [[File:Carl Friedrich Gauss 1840 by Jensen.jpg|upright=0.8|thumb|Carl Friedrich Gauss]] [[Joseph-Louis Lagrange]] (1736–1813) was the first to give full proofs of some of Fermat's and Euler's work and observations; for instance, the [[four-square theorem]] and the basic theory of the misnamed "Pell's equation" (for which an algorithmic solution was found by Fermat and his contemporaries, and also by Jayadeva and Bhaskara II before them.) He also studied [[quadratic form]]s in full generality (as opposed to <math>m X^2 + n Y^2</math>), including defining their equivalence relation, showing how to put them in reduced form, etc. [[Adrien-Marie Legendre]] (1752–1833) was the first to state the law of quadratic reciprocity. He also conjectured what amounts to the [[prime number theorem]] and [[Dirichlet's theorem on arithmetic progressions]]. He gave a full treatment of the equation <math>a x^2 + b y^2 + c z^2 = 0</math>{{sfn|Weil|1984|pp=327–328}} and worked on quadratic forms along the lines later developed fully by Gauss.{{sfn|Weil|1984|pp=332–334}} In his old age, he was the first to prove Fermat's Last Theorem for <math>n=5</math> (completing work by [[Peter Gustav Lejeune Dirichlet]], and crediting both him and [[Sophie Germain]]).{{sfn|Weil|1984|pp=337–338}} [[Carl Friedrich Gauss]] (1777–1855) worked in a wide variety of fields in both mathematics and physics including number theory, analysis, differential geometry, geodesy, magnetism, astronomy and optics. The ''[[Disquisitiones Arithmeticae]]'' (1801), which he wrote three years earlier when he was 21, had an immense influence in the area of number theory and set its agenda for much of the 19th century. Gauss proved in this work the law of [[quadratic reciprocity]] and developed the theory of quadratic forms (in particular, defining their composition). He also introduced some basic notation ([[congruences]]) and devoted a section to computational matters, including primality tests.{{sfn|Goldstein|Schappacher|2007|p=14}} The last section of the ''Disquisitiones'' established a link between [[roots of unity]] and number theory: <blockquote>The theory of the division of the circle...which is treated in sec. 7 does not belong by itself to arithmetic, but its principles can only be drawn from higher arithmetic.<ref>From the preface of ''Disquisitiones Arithmeticae''; the translation is taken from {{harvnb|Goldstein|Schappacher|2007|p=16}}</ref></blockquote> In this way, Gauss arguably made forays towards [[Évariste Galois]]'s work and the area [[algebraic number theory]]. === Maturity and division into subfields === [[File:Peter Gustav Lejeune Dirichlet.jpg|upright=0.8|thumb|[[Peter Gustav Lejeune Dirichlet]]]] Starting early in the nineteenth century, the following developments gradually took place: * The rise to self-consciousness of number theory (or ''higher arithmetic'') as a field of study.<ref>See the discussion in section 5 of {{harvnb|Goldstein|Schappacher|2007}}. Early signs of self-consciousness are present already in letters by Fermat: thus his remarks on what number theory is, and how "Diophantus's work [...] does not really belong to [it]" (quoted in {{harvnb|Weil|1984|p=25}}).</ref> * The development of much of modern mathematics necessary for basic modern number theory: [[complex analysis]], [[group theory]], [[Galois theory]]—accompanied by greater rigor in analysis and abstraction in algebra. * The rough subdivision of number theory into its modern subfields—in particular, [[analytic number theory|analytic]] and algebraic number theory. Algebraic number theory may be said to start with the study of reciprocity and [[cyclotomy]], but truly came into its own with the development of [[abstract algebra]] and early ideal theory and [[valuation (algebra)|valuation]] theory; see below. A conventional starting point for analytic number theory is [[Dirichlet's theorem on arithmetic progressions]] (1837),{{sfn|Apostol|1976|p=7}}{{sfn|Davenport|Montgomery|2000|p=1}} whose proof introduced [[L-functions]] and involved some asymptotic analysis and a limiting process on a real variable.<ref>See the proof in {{harvnb|Davenport|Montgomery|2000|loc=section 1}}</ref> The first use of analytic ideas in number theory actually goes back to Euler (1730s),{{sfn|Iwaniec|Kowalski|2004|p=1}}{{sfn|Varadarajan|2006|loc=sections 2.5, 3.1 and 6.1}} who used formal power series and non-rigorous (or implicit) limiting arguments. The use of ''complex'' analysis in number theory comes later: the work of [[Bernhard Riemann]] (1859) on the [[Riemann zeta function|zeta function]] is the canonical starting point;{{sfn|Granville|2008|pp=322–348}} [[Jacobi's four-square theorem]] (1839), which predates it, belongs to an initially different strand that has by now taken a leading role in analytic number theory ([[modular form]]s).<ref>See the comment on the importance of modularity in {{harvnb|Iwaniec|Kowalski|2004|p=1}}</ref> The [[American Mathematical Society]] awards the ''[[Cole Prize]] in Number Theory''. Moreover, number theory is one of the three mathematical subdisciplines rewarded by the ''[[Fermat Prize]]''. == Main subdivisions == === Elementary number theory === [[File:Paul Erdos with Terence Tao.jpg|thumb|upright=1.22|Number theorists [[Paul Erdős]] and [[Terence Tao]] in 1985, when Erdős was 72 and Tao was 10]] Elementary number theory deals with the topics in number theory by means of basic methods in arithmetic.<ref name=":1">{{Cite book |last=Tanton |first=James |title=Encyclopedia of Mathematics |publisher=Facts On File |year=2005 |isbn=0-8160-5124-0 |location=New York |pages=359–60 |language=en |chapter=Number theory}}</ref> Its primary subjects of study are [[divisibility]], [[factorization]], and [[primality]], as well as [[Modular arithmetic|congruences]] in [[modular arithmetic]].<ref>{{Cite book |last=Nathanson |first=Melvyn B. |title=Elementary Methods in Number Theory |publisher=Springer |year=2000 |isbn=0-387-98912-9 |language=en |chapter=Preface}}</ref><ref name=":3" /> Other topics in elementary number theory include [[Diophantine equation|Diophantine equations]], [[continued fractions]], [[Integer partition|integer partitions]], and [[Diophantine approximation|Diophantine approximations]].<ref name=":2">{{Cite web |last=Bukhshtab |first=A.A. |date=2014 |title=Elementary number theory |url=https://encyclopediaofmath.org/wiki/Elementary_number_theory |access-date=2025-05-03 |website=Encyclopedia of Mathematics |publisher=Springer}}</ref> Arithmetic is the study of numerical operations and investigates how numbers are combined and transformed using the arithmetic operations of [[addition]], [[subtraction]], [[multiplication]], [[Division (mathematics)|division]], [[exponentiation]], extraction of [[Nth root|roots]], and [[logarithm]]s. Multiplication, for instance, is an operation that combines two numbers, referred to as factors, to form a single number, termed the [[Product (mathematics)|product]], such as <math>2 \times 3 = 6</math>.<ref>{{multiref|{{harvnb|Romanowski|2008|p=303}}|{{harvnb|Musser|Peterson|Burger|2013|pp=[https://books.google.com/books?id=8jh7DwAAQBAJ&pg=PA101 101–102]}}}}</ref> Divisibility is a property between two nonzero integers related to division. An integer <math>a</math> is said to be divisible by a nonzero integer <math>b</math> if <math>a</math> is a multiple of <math>b</math>; that is, if there exists an integer <math>q</math> such that <math>a = bq</math>. An equivalent formulation is that <math>b</math> divides <math>a</math> and is denoted by a vertical bar, which in this case is <math>b | a</math>. Conversely, if this were not the case, then <math>a</math> would not be divided evenly by <math>b</math>, resulting in a remainder. [[Euclid's division lemma]] asserts that <math>a</math> and <math>b</math> can generally be written as <math>a = bq + r</math>, where the remainder <math>r < b</math> accounts for the leftover quantity. Elementary number theory studies [[divisibility rules]] in order to quickly identify if a given integer is divisible by a fixed divisor. For instance, it is known that any integer is divisible by 3 if its decimal [[digit sum]] is divisible by 3.<ref name="Richmond-Richmond-2009">Richmond & Richmond (2009), [{{Google books|plainurl=y|id=HucyKYx0_WwC|page=102|text=divisible by}} Section 3.4 (Divisibility Tests), p. 102–108]</ref><ref name=":4" /> A common divisor of several nonzero integers is an integer that divides all of them. The [[greatest common divisor]] (gcd) is the largest of such divisors. Two integers are said to be coprime or relatively prime to one another if their greatest common divisor, and simultaneously their only divisor, is 1. The [[Euclidean algorithm]] computes the greatest common divisor of two integers <math>a,b</math> by means of repeatedly applying the division lemma and shifting the divisor and remainder after every step. The algorithm [[Extended Euclidean algorithm|can be extended]] to solve a special case of [[Linear Diophantine equation|linear Diophantine equations]] <math>ax + by = 1</math>. A Diophantine equation is an equation with several unknowns and integer coefficients. Another kind of Diophantine equation is described in the [[Pythagorean theorem]], <math>x^2 + y^2 = z^2</math>, whose solutions are called Pythagorean triples if they are all integers.<ref name=":4" /><ref name=":6" /> Elementary number theory studies the divisibility properties of integers such as [[Parity (mathematics)|parity]] (even and odd numbers), [[prime numbers]], and [[perfect numbers]]. Important number-theoric functions include the [[Divisor function|divisor-counting function]], the [[divisor summatory function]] and its modifications, and [[Euler's totient function]]. A [[prime number]] is an integer greater than 1 whose only positive divisors are 1 and the prime itself. A positive integer greater than 1 that is not prime is called a composite number. [[Euclid's theorem]] demonstrates that there are infinitely many prime numbers that comprise the set {2, 3, 5, 7, 11, ...}. The [[sieve of Eratosthenes]] was devised as an efficient algorithm for identifying all primes up to a given natural number by eliminating all composite numbers.<ref>{{Cite book |last=Nathanson |first=Melvyn B. |title=Elementary Methods in Number Theory |publisher=Springer |year=2000 |isbn=0-387-98912-9 |language=en |chapter=Divisibility and Primes}}</ref> [[Factorization]] is a method of expressing a number as a [[Product (mathematics)|product]]. Specifically in number theory, [[integer factorization]] is the decomposition of an integer into a product of integers. The process of repeatedly applying this procedure until all factors are prime is known as [[prime factorization]]. A fundamental property of primes is shown in [[Euclid's lemma]]. It is a consequence of the lemma that if a prime divides a product of integers, then that prime divides at least one of the factors in the product. The [[Fundamental theorem of arithmetic|unique factorization theorem]] is the fundamental theorem of arithmetic that relates to prime factorization. The theorem states that every integer greater than 1 can be factorised into a product of prime numbers and that this factorisation is unique up to the order of the factors. For example, <math>120</math> is expressed uniquely as <math>2 \times 2 \times 2 \times 3 \times 5</math> or simply <math>2^3 \times 3 \times 5</math>.<ref>{{Cite book |last=Tanton |first=James |title=Encyclopedia of Mathematics |publisher=Facts On File |year=2005 |isbn=0-8160-5124-0 |location=New York |language=en |chapter=Fundamental theorem of arithmetic}}</ref><ref name=":4" /> [[Modular arithmetic]] works with finite sets of integers and introduces the concepts of congruence and residue classes. A congruence of two integers <math>a, b</math> modulo <math>n</math> (a positive integer called the modulus) is an [[equivalence relation]] whereby <math>n | (a - b)</math> is true. Performing [[Euclidean division]] on both <math>a</math> and <math>n</math>, and on <math>b</math> and <math>n</math>, yields the same remainder. This written as <math display="inline">a \equiv b \pmod{n}</math>. In a manner analogous to the 12-hour clock, the sum of 4 and 9 is equal to 13, yet congruent to 1. A residue class modulo <math>n</math> is a set that contains all integers congruent to a specified <math>r</math> modulo <math>n</math>. For example, <math>6\Z + 1</math> contains all multiples of 6 incremented by 1. Modular arithmetic provides a range of formulas for rapidly solving congruences of very large powers. An influential theorem is [[Fermat's little theorem]], which states that if a prime <math>p</math> is coprime to some integer <math>a</math>, then <math display="inline">a^{p - 1} \equiv 1 \pmod{p}</math> is true. Euler's theorem extends this to assert that every integer <math>n</math> satisfies the congruence<math display="block">a^{\varphi(n)} \equiv 1 \pmod{n},</math>where Euler's totient function <math>\varphi</math> counts all positive integers up to <math>n</math> that are coprime to <math>n</math>. Modular arithmetic also provides formulas that are used to solve congruences with unknowns in a similar vein to equation solving in algebra, such as the [[Chinese remainder theorem]].<ref>{{Cite book |last=Shoup |first=Victor |title=A Computational Introduction to Number Theory and Algebra |publisher=Cambridge University Press |year=2005 |isbn=978-0-511-11363-5 |language=en}}</ref> === Analytic number theory === {{Main|Analytic number theory}} [[File:Complex zeta.jpg|thumb|[[Riemann zeta function]] ζ(''s'') in the [[complex plane]]. The color of a point ''s'' gives the value of ζ(''s''): dark colors denote values close to zero and hue gives the value's [[Argument (complex analysis)|argument]].]] [[File:ModularGroup-FundamentalDomain.svg|thumb|The action of the [[modular group]] on the [[upper half plane]]. The region in grey is the standard [[fundamental domain]].]] Analytic number theory, in contrast to elementary number theory, relies on [[complex numbers]] and techniques from analysis and calculus. Analytic number theory may be defined * in terms of its tools, as the study of the integers by means of tools from [[Real analysis|real]] and [[Complex analysis|complex]] analysis;{{sfn|Apostol|1976|p=7}} or * in terms of its concerns, as the study within number theory of estimates on the size and density of certain numbers (e.g., primes), as opposed to identities.<ref>{{harvnb|Granville|2008|loc=section 1}}: "The main difference is that in algebraic number theory [...] one typically considers questions with answers that are given by exact formulas, whereas in analytic number theory [...] one looks for ''good approximations''."</ref> It studies the distribution of primes, behavior of number-theoric functions, and irrational numbers.<ref>{{Cite web |last=Karatsuba |first=A.A. |date=2014-10-18 |title=Analytic number theory |url=https://encyclopediaofmath.org/wiki/Analytic_number_theory |website=Encyclopedia of Mathematics}}</ref> Number theory has the reputation of being a field many of whose results can be stated to the layperson. At the same time, many of the proofs of these results are not particularly accessible, in part because the range of tools they use is, if anything, unusually broad within mathematics.<ref>See, for example, the initial comment in {{harvnb|Iwaniec|Kowalski|2004|p=1}}.</ref> The following are examples of problems in analytic number theory: the [[prime number theorem]], the [[Goldbach conjecture]], the [[twin prime conjecture]], the [[Hardy–Littlewood conjecture]]s, the [[Waring problem]] and the [[Riemann hypothesis]]. Some of the most important tools of analytic number theory are the [[circle method]], [[sieve theory|sieve methods]] and [[L-functions]] (or, rather, the study of their properties). The theory of [[modular form]]s (and, more generally, [[automorphic forms]]) also occupies an increasingly central place in the toolbox of analytic number theory.<ref>See the remarks in the introduction to {{harvnb|Iwaniec|Kowalski|2004|p=1}}: "However much stronger...".</ref> [[Mathematical analysis|Analysis]] is the branch of mathematics that studies the [[Limit (mathematics)|limit]], defined as the value to which a sequence or function tends as the argument (or index) approaches a specific value. For example, the limit of the sequence 0.9, 0.99, 0.999, ... is 1. In the context of functions, the limit of <math display="inline">\frac1x</math> as <math>x</math> approaches infinity is 0.<ref>{{Cite book |last=Tanton |first=James |title=Encyclopedia of Mathematics |chapter=Limit}}</ref> The complex numbers extend the real numbers with the imaginary unit <math>i</math> defined as the solution to <math>i^2 = -1</math>. Every complex number can be expressed as <math>x + iy</math>, where <math>x</math> is called the real part and <math>y</math> is called the imaginary part.<ref>{{Cite book |last=Weisstein |first=Eric W. |title=CRC Concise Encyclopedia of Mathematics |year=2002 |chapter=Complex Numbers}}</ref> The [[distribution of primes]], described by the function <math>\pi</math> that counts all primes up to a given real number, is unpredictable and is a major subject of study in number theory. Elementary formulas for a partial sequence of primes, including [[Lucky numbers of Euler|Euler's prime-generating polynomials]] have been developed. However, these cease to function as the primes become too large. The prime number theorem in analytic number theory provides a formalisation of the notion that prime numbers appear less commonly as their numerical value increases. One distribution states, informally, that the function <math>\frac{x}{\log(x)}</math> approximates <math>\pi(x)</math>. Another distribution involves an offset logarithmic integral which converges to <math>\pi(x)</math> more quickly.<ref name=":5" /> [[File:Riemann_Explicit_Formula.gif|thumb|Corrections to an [[Prime-counting function#Exact form|estimate]] of the prime-counting function using zeros of the zeta function.]] The [[zeta function]] has been demonstrated to be connected to the distribution of primes. It is defined as the series<math display="block"> \zeta(s) = \sum_{n=1}^\infty \frac{1}{n^s} = \frac{1}{1^s} + \frac{1}{2^s} + \frac{1}{3^s} + \cdots</math>that converges if <math> s</math> is greater than 1. Euler demonstrated a link involving the infinite product over all prime numbers, expressed as the identity <math display="block">\zeta(s) = \prod_{p \text{ prime}} \left(1 - \frac{1}{p^{s}}\right)^{-1}.</math>Riemann extended the definition to a complex variable and conjectured that all nontrivial cases (<math>0 < \Re(s) < 1</math>) where the function returns a zero are those in which the real part of <math>s</math> is equal to <math display="inline">\frac12</math>. He established a connection between the nontrivial zeroes and the prime-counting function. In what is now recognised as the unsolved [[Riemann hypothesis]], a solution to it would imply direct consequences for understanding the distribution of primes.<ref>{{Cite book |last=Tanton |first=James |title=Encyclopedia of Mathematics |year=2005 |chapter=Zeta function}}</ref> One may ask analytic questions about [[algebraic number]]s, and use analytic means to answer such questions; it is thus that algebraic and analytic number theory intersect. For example, one may define [[prime ideal]]s (generalizations of [[prime number]]s in the field of algebraic numbers) and ask how many prime ideals there are up to a certain size. This question [[Landau prime ideal theorem|can be answered]] by means of an examination of [[Dedekind zeta function]]s, which are generalizations of the [[Riemann zeta function]], a key analytic object at the roots of the subject.<ref>{{harvnb|Granville|2008|loc=section 3}}: "[Riemann] defined what we now call the Riemann zeta function [...] Riemann's deep work gave birth to our subject [...]"</ref> This is an example of a general procedure in analytic number theory: deriving information about the distribution of a [[sequence]] (here, prime ideals or prime numbers) from the analytic behavior of an appropriately constructed complex-valued function.<ref name=":0">See, for example, {{harvnb|Montgomery|Vaughan|2007}}, p. 1.</ref> Elementary number theory works with ''[[elementary proof|elementary proofs]]'', a term that excludes the use of [[complex numbers]] but may include basic analysis.<ref name=":2" /> For example, the [[prime number theorem]] was first proven using complex analysis in 1896, but an elementary proof was found only in 1949 by [[Paul Erdős|Erdős]] and [[Atle Selberg|Selberg]].{{sfn|Goldfeld|2003}} The term is somewhat ambiguous. For example, proofs based on complex [[Tauberian theorem]]s, such as [[Wiener–Ikehara theorem|Wiener–Ikehara]], are often seen as quite enlightening but not elementary despite using [[Fourier analysis]], not complex analysis. Here as elsewhere, an ''elementary'' proof may be longer and more difficult for most readers than a more advanced proof. Some subjects generally considered to be part of analytic number theory (e.g., [[sieve theory]]) are better covered by the second rather than the first definition.<ref group="note">Sieve theory figures as one of the main subareas of analytic number theory in many standard treatments; see, for instance, {{harvnb|Iwaniec|Kowalski|2004}} or {{harvnb|Montgomery|Vaughan|2007}}</ref> Small sieves, for instance, use little analysis and yet still belong to analytic number theory.<ref group="note">This is the case for some combinatorial sieves such as the [[Brun sieve]], rather than for [[Large sieve|large sieves]]. The study of the latter now includes ideas from [[Harmonic analysis|harmonic]] and [[functional analysis]].</ref> === Algebraic number theory === {{Main|Algebraic number theory}} An ''algebraic number'' is any [[complex number]] that is a solution to some polynomial equation <math>f(x)=0</math> with rational coefficients; for example, every solution <math>x</math> of <math>x^5 + (11/2) x^3 - 7 x^2 + 9 = 0 </math> is an algebraic number. Fields of algebraic numbers are also called ''[[algebraic number field]]s'', or shortly ''[[number field]]s''. Algebraic number theory studies algebraic number fields.{{sfn|Milne|2017|p=2}} It could be argued that the simplest kind of number fields, namely [[Quadratic field|quadratic fields]], were already studied by Gauss, as the discussion of quadratic forms in ''Disquisitiones Arithmeticae'' can be restated in terms of [[ideal (ring theory)|ideals]] and [[Norm (mathematics)|norms]] in quadratic fields. (A ''quadratic field'' consists of all numbers of the form <math> a + b \sqrt{d}</math>, where <math>a</math> and <math>b</math> are rational numbers and <math>d</math> is a fixed rational number whose square root is not rational.) For that matter, the eleventh-century [[chakravala 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 were set in the late nineteenth century, when ''ideal numbers'', the ''theory of ideals'' and ''valuation theory'' were introduced; these are three complementary ways of dealing with the lack of unique factorization in algebraic number fields. (For example, in the field generated by the rationals and <math> \sqrt{-5}</math>, the number <math>6</math> can be factorised both as <math> 6 = 2 \cdot 3</math> and <math> 6 = (1 + \sqrt{-5}) ( 1 - \sqrt{-5})</math>; all of <math>2</math>, <math>3</math>, <math>1 + \sqrt{-5}</math> and <math> 1 - \sqrt{-5}</math> are irreducible, and thus, in a naïve sense, analogous to primes among the integers.) The initial impetus for the development of ideal numbers (by [[Ernst Kummer|Kummer]]) seems to have come from the study of higher reciprocity laws,{{sfn|Edwards|2000|p=79}} that is, generalizations of [[quadratic reciprocity]]. Number fields are often studied as extensions of smaller number fields: a field ''L'' is said to be an ''extension'' of a field ''K'' if ''L'' contains ''K''. (For example, the complex numbers ''C'' are an extension of the reals ''R'', and the reals ''R'' are an extension of the rationals ''Q''.) 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]]<ref group="note">The Galois group of an extension ''L/K'' consists of the operations ([[isomorphisms]]) that send elements of L to other elements of L while leaving all elements of K fixed. Thus, for instance, ''Gal(C/R)'' consists of two elements: the identity element (taking every element ''x'' + ''iy'' of ''C'' to itself) and complex conjugation (the map taking each element ''x'' + ''iy'' to ''x'' − ''iy''). The Galois group of an extension tells us many of its crucial properties. The study of Galois groups started with [[Évariste Galois]]; in modern language, the main outcome of his work is that an equation ''f''(''x'') = 0 can be solved by radicals (that is, ''x'' can be expressed in terms of the four basic operations together with square roots, cubic roots, etc.) if and only if the extension of the rationals by the roots of the equation ''f''(''x'') = 0 has a Galois group that is [[solvable group|solvable]] in the sense of group theory. ("Solvable", in the sense of group theory, is a simple property that can be checked easily for finite groups.)</ref> 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 nineteenth century (partly by [[Leopold Kronecker|Kronecker]] and [[Gotthold Eisenstein|Eisenstein]]) and carried out largely in 1900–1950. An example of an active area of research in algebraic number theory is [[Iwasawa theory]]. The [[Langlands program]], one of the main current large-scale research plans in mathematics, is sometimes described as an attempt to generalise class field theory to non-abelian extensions of number fields. === Diophantine geometry === {{Main|Diophantine geometry}} The central problem of Diophantine geometry is to determine when a [[Diophantine equation]] has integer or rational solutions, and if it does, how many. The approach taken is to think of the solutions of an equation as a geometric object. For example, 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 [[algebraic curve|curve]], a [[algebraic surface|surface]], or some other such object in {{math|''n''}}-dimensional space. In Diophantine geometry, one asks whether there are any ''rational points'' (points all of whose coordinates are rationals) or ''integral points'' (points all of whose coordinates are integers) on the curve or surface. If there are any such points, the next step is to ask how many there are and how they are distributed. A basic question in this direction is whether there are finitely or infinitely many rational points on a given curve or surface. Consider, for instance, the [[Pythagorean equation]] <math>x^2+y^2 = 1</math>. One would like to know its rational solutions, namely <math>(x,y)</math> such that ''x'' and ''y'' are both rational. This is the same as asking for all integer solutions to <math>a^2 + b^2 = c^2</math>; any solution to the latter equation gives us a solution <math>x = a/c</math>, <math>y = b/c</math> to the former. It is also the same as asking for all points with rational coordinates on the curve described by <math>x^2 + y^2 = 1</math> (a circle of radius 1 centered on the origin). [[File:ECClines-3.svg|thumb|Two examples of [[elliptic curve]]s, that is, curves of genus 1 having at least one rational point.]] The rephrasing of questions on equations in terms of points on curves is 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 <math>f(x,y)=0</math>, where <math>f</math> is a polynomial in two variables) depends crucially on the [[genus (mathematics)|genus]] of the curve.<ref group="note">The ''genus'' can be defined as follows: allow the variables in <math>f(x,y)=0</math> to be complex numbers; then <math>f(x,y)=0</math> defines a 2-dimensional surface in (projective) 4-dimensional space (since two complex variables can be decomposed into four real variables; that is, four dimensions). The number of doughnut-like holes in the surface is called the ''genus'' of the curve of equation <math>f(x,y)=0</math>.</ref> A major achievement of this approach is [[Wiles's proof of Fermat's Last Theorem]], for which other geometrical notions are just as crucial. There is also the closely linked area of [[Diophantine approximations]]: given a number <math>x</math>, determine how well it can be approximated by rational numbers. One seeks approximations that are good relative to the amount of space required to write the rational number: call <math>a/q</math> (with <math>\gcd(a,q)=1</math>) a good approximation to <math>x</math> if <math>|x-a/q|<\frac{1}{q^c}</math>, where <math>c</math> is large. This question is of special interest if <math>x</math> is an algebraic number. If <math>x</math> cannot be approximated well, then some equations do not have integer or rational solutions. Moreover, several concepts (especially that of [[Glossary of arithmetic and diophantine geometry#H|height]]) are critical both in Diophantine geometry and in the study of Diophantine approximations. This question is also of special interest in [[transcendental number theory]]: if a number can be approximated better than any algebraic number, then it is a [[transcendental number]]. It is by this argument that [[Pi|{{pi}}]] and [[e (mathematical constant)|e]] have been shown to be transcendental. 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 geometry]] is a contemporary term for the same domain covered by Diophantine geometry, particularly when one wishes to emphasize the connections to modern algebraic geometry (for example, in [[Faltings's theorem]]) rather than to techniques in Diophantine approximations. === Other subfields === {{Main|Probabilistic number theory}} Probabilistic number theory starts with questions such as the following: Take an integer {{mvar|n}} 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). How many prime divisors will {{mvar|n}} have on average? What is the probability that it will have many more or many fewer divisors or prime divisors than the average?{{Main|Arithmetic combinatorics|Additive number theory}} Combinatorics in number theory starts with questions like the following: Does a fairly "thick" [[infinite set]] <math>A</math> contain many elements in arithmetic progression: <math>a</math>, <math>a+b, a+2 b, a+3 b, \ldots, a+10b</math>? Should it be possible to write large integers as sums of elements of <math>A</math>?{{Main|Computational number theory}}[[File:Computer History Museum (4145886786).jpg|thumb|A [[Lehmer sieve]], a primitive [[digital computer]] used to find [[primes]] and solve simple [[Diophantine equations]]]]There are two main questions: "Can this be computed?" and "Can it be computed rapidly?" Anyone can test whether a number is prime or, if it is not, split it into prime factors; doing so rapidly is another matter. Fast algorithms for [[primality test|testing primality]] are now known, but, in spite of much work (both theoretical and practical), no truly fast algorithm for factoring. == Applications == For a long time, number theory in general, and the study of prime numbers in particular, was seen as the canonical example of pure mathematics, with no applications outside of mathematics other than the use of prime numbered gear teeth to distribute wear evenly.<ref>{{cite book |last1=Bryant |first1=John |title=How Round is Your Circle?: Where Engineering and Mathematics Meet |title-link=How Round Is Your Circle |last2=Sangwin |first2=Christopher J. |publisher=Princeton University Press |year=2008 |isbn=978-0-691-13118-4 |at=[https://books.google.com/books?id=iIN_2WjBH1cC&pg=PA178 p. 178]}}</ref> In particular, number theorists such as [[United Kingdom|British]] mathematician [[G. H. Hardy]] prided themselves on doing work that had absolutely no military significance.<ref>{{cite book |last1=Hardy |first1=Godfrey Harold |author1-link=G. H. Hardy |title=A Mathematician's Apology |title-link=A Mathematician's Apology |publisher=Cambridge University Press |year=2012 |isbn=978-0-521-42706-7 |page=[https://books.google.com/books?id=EkY2im6xkVkC&pg=PA140 140] |oclc=922010634 |quote=No one has yet discovered any warlike purpose to be served by the theory of numbers or relativity, and it seems unlikely that anyone will do so for many years. |orig-year=1940}}</ref> The number-theorist [[Leonard Dickson]] (1874–1954) said "Thank God that number theory is unsullied by any application". Such a view is no longer applicable to number theory.<ref>''The Unreasonable Effectiveness of Number Theory'', Stefan Andrus Burr, George E. Andrews, American Mathematical Soc., 1992, {{isbn|978-0-8218-5501-0}}</ref> This vision of the purity of number theory was shattered in the 1970s, when it was publicly announced that prime numbers could be used as the basis for the creation of [[public-key cryptography]] algorithms.<ref>{{cite book|title=Elementary Number Theory|series=Textbooks in mathematics|first1=James S.|last1=Kraft|first2=Lawrence C.|last2=Washington|publisher=CRC Press|year=2014|isbn=978-1-4987-0269-0|page=7|url=https://books.google.com/books?id=4NAqBgAAQBAJ&pg=PA7}}</ref> Schemes such as RSA are based on the difficulty of factoring large composite numbers into their prime factors.<ref>{{Cite book |url=https://www.taylorfrancis.com/books/9781351664110 |title=An Introduction to Number Theory with Cryptography |date=2018 |publisher=Chapman and Hall/CRC |isbn=978-1-351-66411-0 |edition=2nd |doi=10.1201/9781351664110 |access-date=2023-02-22 |archive-url=https://web.archive.org/web/20230301144259/https://www.taylorfrancis.com/books/mono/10.1201/9781351664110/introduction-number-theory-cryptography-james-kraft-lawrence-washington |archive-date=2023-03-01 |url-status=live}}</ref> These applications have led to significant study of [[Algorithm|algorithms]] for computing with prime numbers, and in particular of [[Primality test|primality testing]], methods for determining whether a given number is prime. Prime numbers are also used in computing for [[Checksum|checksums]], [[Hash table|hash tables]], and [[Pseudorandom number generator|pseudorandom number generators]]. In 1974, [[Donald Knuth]] said "virtually every theorem in elementary number theory arises in a natural, motivated way in connection with the problem of making computers do high-speed numerical calculations".<ref>Computer science and its relation to mathematics" DE Knuth – The American Mathematical Monthly, 1974</ref> Elementary number theory is taught in [[discrete mathematics]] courses for [[computer scientist]]s. It also has applications to the continuous in [[numerical analysis]].<ref>"Applications of number theory to numerical analysis", Lo-keng Hua, Luogeng Hua, Yuan Wang, Springer-Verlag, 1981, {{isbn|978-3-540-10382-0}}</ref> Number theory has now several modern applications spanning diverse areas such as: * [[Computer science]]: The [[fast Fourier transform]] (FFT) algorithm, which is used to efficiently compute the discrete Fourier transform, has important applications in signal processing and data analysis.<ref>{{cite book | last=Krishna | first=Hari | title=Digital Signal Processing Algorithms | publisher=Routledge | date=2017 | location=London | isbn=978-1-351-45497-1}}</ref> * [[Physics]]: The [[Riemann hypothesis]] has connections to the distribution of prime numbers and has been studied for its potential implications in physics.<ref>{{cite journal |title=Physics of the Riemann Hypothesis |journal=Reviews of Modern Physics |volume=83 |issue=2 |pages=307–330 |first1=Daniel |last1=Schumayer |first2=David A. W. |last2=Hutchinson |year=2011 |arxiv=1101.3116 |doi=10.1103/RevModPhys.83.307 |bibcode=2011RvMP...83..307S |s2cid=119290777}}</ref> * [[Error correction code]]s: The theory of finite fields and algebraic geometry have been used to construct efficient error-correcting codes.<ref>{{Cite book |last=Baylis |first=John |url=https://www.taylorfrancis.com/books/9781351449847 |title=Error-Correcting Codes: A Mathematical Introduction |date=2018 |publisher=Routledge |isbn=978-0-203-75667-6 |doi=10.1201/9780203756676 |access-date=2023-02-22}}</ref> * Communications: The design of cellular telephone networks requires knowledge of the theory of [[modular form]]s, which is a part of analytic number theory.<ref>{{Citation |last=Livné |first=R. |title=Communication Networks and Hilbert Modular Forms |date=2001 |url=http://link.springer.com/10.1007/978-94-010-1011-5_13 |work=Applications of Algebraic Geometry to Coding Theory, Physics and Computation |pages=255–270 |editor-last=Ciliberto |editor-first=Ciro |place=Dordrecht |publisher=Springer |doi=10.1007/978-94-010-1011-5_13 |isbn=978-1-4020-0005-8 |access-date=2023-02-22 |editor2-last=Hirzebruch |editor2-first=Friedrich |editor3-last=Miranda |editor3-first=Rick |editor4-last=Teicher |editor4-first=Mina}}</ref> * Study of musical scales: the concept of "[[equal temperament]]", which is the basis for most modern Western music, involves dividing the [[octave]] into 12 equal parts.<ref>{{Cite journal |last1=Cartwright |first1=Julyan H. E. |last2=Gonzalez |first2=Diego L. |last3=Piro |first3=Oreste |last4=Stanzial |first4=Domenico |date=2002-03-01 |title=Aesthetics, Dynamics, and Musical Scales: A Golden Connection |url=http://dx.doi.org/10.1076/jnmr.31.1.51.8099 |journal=Journal of New Music Research |volume=31 |issue=1 |pages=51–58 |doi=10.1076/jnmr.31.1.51.8099 |hdl=10261/18003 |s2cid=12232457 |issn=0929-8215 |hdl-access=free}}</ref> This has been studied using number theory and in particular the properties of the 12th root of 2. == See also == {{portal|Mathematics}} * [[Arithmetic dynamics]] * [[Algebraic function field]] * [[Arithmetic topology]] * [[Finite field]] * [[p-adic number]] * [[List of number theoretic algorithms]] == Notes == {{reflist|group=note|30em}} == References == {{reflist}} === Sources === <!-- This article uses the shortened footnotes template{{sfn}}, in conjunction with Harvard referencing {{harv}} or {{harvnb}} templates. These all use the {{cite book}} template to create automatic multiple links in the {{reflist}}. See talk. --> {{refbegin|30em}} *{{citation |first=Joseph W. |last=Dauben |editor-last=Katz |editor-first=Victor J. |contribution=Chapter 3: Chinese Mathematics |pages=187–384 |publisher=Princeton University Press |year=2007 |title=The Mathematics of Egypt, Mesopotamia, China, India and Islam : A Sourcebook |isbn=978-0-691-11485-9}} * {{cite book |last=Apostol |first=Tom M. |author-link=Tom M. Apostol |year=1976 |title=Introduction to analytic number theory |series=[[Undergraduate Texts in Mathematics]] |publisher=[[Springer Publishing|Springer]] |isbn=978-0-387-90163-3 |url=https://books.google.com/books?id=Il64dZELHEIC |access-date=2016-02-28}} *{{citation |first=Ulrich |last=Libbrecht |title=Chinese Mathematics in the Thirteenth Century: the "Shu-shu Chiu-chang" of Ch'in Chiu-shao |publisher=Dover Publications Inc |isbn=978-0-486-44619-6 |date=1973}} * {{cite journal |last=Apostol |first=Tom M. |year=1981 |title=An Introduction to the Theory of Numbers (Review of Hardy & Wright.) |journal=Mathematical Reviews (MathSciNet) |mr=0568909 |publisher=[[American Mathematical Society]]}} (Subscription needed) * {{cite journal |last=Becker |first=Oskar |year=1936 |author-link=Oskar Becker |language=de |title=Die Lehre von Geraden und Ungeraden im neunten Buch der euklidischen Elemente |journal=Quellen und Studien zur Geschichte der Mathematik, Astronomie und Physik |series=Abteilung B:Studien |volume=3 |pages=533–553}} * {{cite book |last1=Boyer |first1=Carl Benjamin |last2=Merzbach |first2=Uta C. |author2-link=Uta Merzbach |year=1991 |author-link=Carl Benjamin Boyer |title=A History of Mathematics |edition=2nd |orig-year=1968 |location=New York |publisher=[[Wiley (publisher)|Wiley]] |isbn=978-0-471-54397-8 |url=https://archive.org/details/historyofmathema00boye}} [https://archive.org/details/AHistoryOfMathematics 1968 edition] at archive.org * {{cite book |author=Aryabhata |translator-last=Clark |translator-first=Walter Eugene |ref={{sfnref|Clark|1930}} |author-link=Aryabhata |year=1930 |title=The Āryabhaṭīya of Āryabhaṭa: An ancient Indian work on Mathematics and Astronomy |publisher=[[University of Chicago Press]] |url=https://archive.org/details/The_Aryabhatiya_of_Aryabhata_Clark_1930 |access-date=2016-02-28}} * {{cite book |last=Colebrooke |first=Henry Thomas |year=1817 |author-link=Henry Thomas Colebrooke |title=Algebra, with Arithmetic and Mensuration, from the Sanscrit of Brahmegupta and Bháscara |location=London |publisher=J. Murray |url=https://archive.org/details/algebrawitharith00brahuoft |access-date=2016-02-28}} * {{cite book |last1=Davenport |first1=Harold |author-link=Harold Davenport |year=2000 |last2=Montgomery |first2=Hugh L. |author2-link=Hugh Montgomery (mathematician) |title=Multiplicative Number Theory |edition=revised 3rd |series=Graduate Texts in Mathematics |volume=74 |publisher=[[Springer Publishing|Springer]] |isbn=978-0-387-95097-6}} * {{cite journal |last=Edwards |first=Harold M. |author-link=Harold Edwards (mathematician) |date=November 1983 |title=Euler and Quadratic Reciprocity |journal=Mathematics Magazine |volume=56 |issue=5 |pages=285–291 |doi=10.2307/2690368 |jstor=2690368}} * {{cite book |last=Edwards |first=Harold M. |year=2000 |orig-year=1977 |title=Fermat's Last Theorem: a Genetic Introduction to Algebraic Number Theory |edition=reprint of 1977 |series=Graduate Texts in Mathematics |volume=50 |publisher=[[Springer Verlag]] |isbn=978-0-387-95002-0 |url=https://books.google.com/books?id=_IxN-5PW8asC}} * {{cite book |last=Fermat |first=Pierre de |year=1679 |author-link=Pierre de Fermat |language=fr, la |title=Varia Opera Mathematica |location=Toulouse |publisher=Joannis Pech |url=https://archive.org/details/bub_gb_fvZaAAAAQAAJ |access-date=2016-02-28}} * {{cite journal |last=Friberg |first=Jöran |date=August 1981 |title=Methods and Traditions of Babylonian Mathematics: Plimpton 322, Pythagorean Triples and the Babylonian Triangle Parameter Equations |journal=Historia Mathematica |volume=8 |issue=3 |pages=277–318 |doi=10.1016/0315-0860(81)90069-0 |doi-access=free}} * {{cite book |last=von Fritz |first=Kurt |editor1-last=Christianidis |editor1-first=J. |year=2004 |chapter=The Discovery of Incommensurability by Hippasus of Metapontum |title=Classics in the History of Greek Mathematics |location=Berlin |publisher=Kluwer (Springer) |isbn=978-1-4020-0081-2}} * {{cite book |last1=Gauss |ref={{harvid|Gauss, Disqu. Arith.||}} |first1=Carl Friedrich |translator-last=Waterhouse |translator-first=William C. |year=1966 |author-link=Carl Friedrich Gauss |title=Disquisitiones Arithmeticae |orig-year=1801 |publisher=Springer |isbn=978-0-387-96254-2 |url=https://books.google.com/books?id=8LcK_CwzMpQC}} * {{cite web |last=Goldfeld |first=Dorian M. |author-link=Dorian M. Goldfeld |year=2003 |title=Elementary Proof of the Prime Number Theorem: a Historical Perspective |url=http://www.math.columbia.edu/~goldfeld/ErdosSelbergDispute.pdf |access-date=2016-02-28 |archive-date=2016-03-03 |archive-url=https://web.archive.org/web/20160303234413/http://www.math.columbia.edu/~goldfeld/ErdosSelbergDispute.pdf |url-status=live}} * {{cite book |last1=Goldstein |first1=Catherine |author-link=Catherine Goldstein |last2=Schappacher |first2=Norbert |year=2007 |editor1-last=Goldstein |editor1-first=C. |editor2-last=Schappacher |editor2-first=N. |editor3-last=Schwermer |editor3-first=Joachim |chapter=A book in search of a discipline |title=The Shaping of Arithmetic after C.F. Gauss's "Disquisitiones Arithmeticae" |location=Berlin & Heidelberg |publisher=Springer |isbn=978-3-540-20441-1 |chapter-url=https://books.google.com/books?id=IUFTcOsMTysC |pages=3–66 |access-date=2016-02-28}} * {{cite book |last=Granville |first=Andrew |author-link=Andrew Granville |year=2008 |editor1-last=Gowers |editor1-first=Timothy |editor1-link=Timothy Gowers |editor2-last=Barrow-Green |editor2-first=June |editor3-last=Leader |editor3-first=Imre |editor3-link=Imre Leader |chapter=Analytic number theory |title=The Princeton Companion to Mathematics |publisher=[[Princeton University Press]] |isbn=978-0-691-11880-2 |chapter-url=https://books.google.com/books?id=ZOfUsvemJDMC&pg=PA332 |access-date=2016-02-28 |title-link=The Princeton Companion to Mathematics}} * {{cite book |ref={{harvid|Guthrie|1920}} |translator-last=Guthrie |translator-first=K. S. |translator-link=Kenneth Sylvan Guthrie |year=1920 |last1=Porphyry |author1-link=Porphyry (philosopher) |title=Life of Pythagoras |location=Alpine, New Jersey |publisher=Platonist Press |url=http://www.tertullian.org/fathers/porphyry_life_of_pythagoras_02_text.htm |access-date=2012-04-10 |archive-date=2020-02-29 |archive-url=https://web.archive.org/web/20200229061904/http://www.tertullian.org/fathers/porphyry_life_of_pythagoras_02_text.htm |url-status=live}} * {{cite book |last=Guthrie |first=Kenneth Sylvan |year=1987 |author-link=Kenneth Sylvan Guthrie |title=The Pythagorean Sourcebook and Library |location=Grand Rapids, Michigan |publisher=Phanes Press |isbn=978-0-933999-51-0}} * {{Cite book |last1=Hardy |first1=Godfrey Harold |author1-link=G. H. Hardy |last2=Wright |first2=E. M. |title=An Introduction to the Theory of Numbers |orig-year=1938 |publisher=[[Oxford University Press]] |edition=6th |isbn=978-0-19-921986-5 |mr=2445243 |year=2008 |title-link=An Introduction to the Theory of Numbers}} * {{cite book |last=Heath |first=Thomas L. |year=1921 |author-link=Thomas Little Heath |title=A History of Greek Mathematics, Volume 1: From Thales to Euclid |location=Oxford |publisher=[[Clarendon Press]] |url=https://archive.org/details/historyofgreekma01heat |access-date=2016-02-28}} <!-- Alternative Info – Google limited preview |year=1981 |publisher=Courier Dover Publications |url=https://books.google.com/books?id=drnY3Vjix3kC |isbn=0-486-24073-8, 9780486240732 --> * {{cite book |last=Hopkins |first=J. F. P. |editor1-last=Young |editor1-first=M. J. L. |editor2-last=Latham |editor2-first=J. D. |editor3-last=Serjeant |editor3-first=R. B. |year=1990 |chapter=Geographical and Navigational Literature |title=Religion, Learning and Science in the 'Abbasid Period |series=The Cambridge history of Arabic literature |publisher=[[Cambridge University Press]] |isbn=978-0-521-32763-3}} * {{cite encyclopedia |last=Huffman |first=Carl A. |editor1-last=Zalta |editor1-first=Edward N. |date=8 August 2011 |title=Pythagoras |encyclopedia=Stanford Encyclopaedia of Philosophy |edition=Fall 2011 |url=http://plato.stanford.edu/archives/fall2011/entries/pythagoras/ |access-date=7 February 2012 |archive-date=2 December 2013 |archive-url=https://web.archive.org/web/20131202071830/http://plato.stanford.edu/archives/fall2011/entries/pythagoras/ |url-status=live}} * {{cite book |last1=Iwaniec |first1=Henryk |author-link=Henryk Iwaniec |last2=Kowalski |first2=Emmanuel |year=2004 |title=Analytic Number Theory |series=American Mathematical Society Colloquium Publications |volume=53 |location=Providence, RI |publisher=American Mathematical Society |isbn=978-0-8218-3633-0}} * {{cite book |ref={{harvid|Jowett|1871}} |translator-last=Jowett |translator-first=Benjamin |translator-link=Benjamin Jowett |year=1871 |last1=Plato |author1-link=Plato |title=Theaetetus |url=http://classics.mit.edu/Plato/theatu.html |access-date=2012-04-10 |archive-date=2011-07-09 |archive-url=https://web.archive.org/web/20110709194524/http://classics.mit.edu/Plato/theatu.html |url-status=live}} * {{cite book |last1=Lam |first1=Lay Yong |last2=Ang |first2=Tian Se |year=2004 |author-link=Lam Lay Yong |title=Fleeting Footsteps: Tracing the Conception of Arithmetic and Algebra in Ancient China |edition=revised |location=Singapore |publisher=World Scientific |isbn=978-981-238-696-0 |url=https://books.google.com/books?id=fGYmpWE5UZgC |access-date=2016-02-28}} * {{ cite book |last=Long |first=Calvin T. |year=1972 |title=Elementary Introduction to Number Theory |edition=2nd |publisher=[[D.C. Heath and Company]] |location=Lexington, VA |lccn=77171950}} * {{cite book |last=Mahoney |first=M. S. |year=1994 |title=The Mathematical Career of Pierre de Fermat, 1601–1665 |edition=Reprint, 2nd |publisher=[[Princeton University Press]] |isbn=978-0-691-03666-3 |url=https://books.google.com/books?id=My19IcewAnoC |access-date=2016-02-28}} * {{cite web <!--{{sfn|Milne|2014|p=}} --> |last=Milne |first=J. S. |author-link=James Milne (mathematician) |date=18 March 2017 |issue=3.07 |title=Algebraic Number Theory |url=https://www.jmilne.org/math/CourseNotes/ant.html |access-date=7 April 2020}} * {{cite book |last1=Montgomery |first1=Hugh L. |author-link=Hugh Montgomery (mathematician) |year=2007 |last2=Vaughan |first2=Robert C. |author2-link=Bob Vaughan |title=Multiplicative Number Theory: I, Classical Theory |publisher=Cambridge University Press |isbn=978-0-521-84903-6 |url=https://books.google.com/books?id=nGb1NADRWgcC |access-date=2016-02-28}} * {{cite book |ref={{harvid|Morrow|1992}} |translator-last=Morrow |translator-first=Glenn Raymond |author=Euclid |year=1992 |last2=Proclus |author2-link=Proclus |title=A Commentary on Book 1 of Euclid's Elements |publisher=Princeton University Press |isbn=978-0-691-02090-7 |url=https://books.google.com/books?id=JZEHj2fEmqAC&pg=PA52}} * {{cite journal |last=Mumford |first=David |author-link=David Mumford |title=Mathematics in India: reviewed by David Mumford |journal=Notices of the American Mathematical Society |date=March 2010 |volume=57 |issue=3 |page=387 |issn=1088-9477 |url=https://www.ams.org/notices/201003/rtx100300385p.pdf |access-date=2021-04-28 |archive-date=2021-05-06 |archive-url=https://web.archive.org/web/20210506220302/https://www.ams.org/notices/201003/rtx100300385p.pdf |url-status=live}} * {{cite book |last=Neugebauer |first=Otto E. |year=1969 |author-link=Otto E. Neugebauer |title=The Exact Sciences in Antiquity |volume=9 |location=New York |publisher=Dover Publications |isbn=978-0-486-22332-2}} * {{cite book |ref={{harvid|Neugebauer|Sachs|1945}} |last1=Neugebauer |first1=Otto E. |last2=Sachs |first2=Abraham Joseph |last3=Götze |first3=Albrecht |year=1945 |author-link=Otto E. Neugebauer |author2-link=Abraham Sachs |title=Mathematical Cuneiform Texts |series=American Oriental Series |volume=29 |publisher=[[American Oriental Society]] etc.}} * {{cite web |last=O'Grady |first=Patricia |author-link=Patricia O'Grady |date=September 2004 |title=Thales of Miletus |url=http://www.iep.utm.edu/thales/ |publisher=The Internet Encyclopaedia of Philosophy |access-date=7 February 2012 |archive-date=6 January 2016 |archive-url=https://web.archive.org/web/20160106182825/http://www.iep.utm.edu/thales/ |url-status=live}} * {{cite journal |ref={{harvid|Pingree|1968}} |last1=Pingree |first1=David |last2=Ya'qub |first2=ibn Tariq |author1-link=David Pingree |author2-link=Yaʿqūb ibn Ṭāriq |year=1968 |title=The Fragments of the Works of Ya'qub ibn Tariq |journal=Journal of Near Eastern Studies |volume=26}} * {{cite journal |ref={{harvid|Pingree|1970}} |last1=Pingree |first1=D. |author1-link=David Pingree |last2=al-Fazari |year=1970 |author2-link=al-Fazari |title=The Fragments of the Works of al-Fazari |journal=Journal of Near Eastern Studies |volume=28}} * {{cite book |last=Plofker |first=Kim |author-link=Kim Plofker |year=2008 |title=Mathematics in India |title-link=Mathematics in India (book) |publisher=Princeton University Press |isbn=978-0-691-12067-6}} * {{cite book |editor1-last=Qian |editor1-first=Baocong |year=1963 |language=zh |title=Suanjing shi shu (Ten Mathematical Classics) |location=Beijing |publisher=Zhonghua shuju |url=https://www.scribd.com/doc/53797787/Jigu-Suanjing%E3%80%80%E7%B7%9D%E5%8F%A4%E7%AE%97%E7%B6%93-Qian-Baocong-%E9%8C%A2%E5%AF%B6%E7%90%AE |access-date=2016-02-28 |archive-date=2013-11-02 |archive-url=https://web.archive.org/web/20131102154812/http://www.scribd.com/doc/53797787/Jigu-Suanjing%E3%80%80%E7%B7%9D%E5%8F%A4%E7%AE%97%E7%B6%93-Qian-Baocong-%E9%8C%A2%E5%AF%B6%E7%90%AE |url-status=live}} * {{cite journal |last=Rashed |first=Roshdi |year=1980 |title=Ibn al-Haytham et le théorème de Wilson |journal=Archive for History of Exact Sciences |volume=22 |issue=4 |pages=305–321 |doi=10.1007/BF00717654 |s2cid=120885025}} * {{cite journal |last=Robson |first=Eleanor |author-link=Eleanor Robson |year=2001 |title=Neither Sherlock Holmes nor Babylon: a Reassessment of Plimpton 322 |volume=28 |journal=Historia Mathematica |issue=3 |pages=167–206 |doi=10.1006/hmat.2001.2317 |url=http://www.hps.cam.ac.uk/people/robson/neither-sherlock.pdf |archive-url=https://web.archive.org/web/20141021070742/http://www.hps.cam.ac.uk/people/robson/neither-sherlock.pdf |archive-date=2014-10-21}} * {{cite book |last1=Sachau |first1=Eduard |author-link=Eduard Sachau |last2=Bīrūni |first2=̄Muḥammad ibn Aḥmad |author2-link=Abū Rayḥān al-Bīrūnī |year=1888 |title=Alberuni's India: An Account of the Religion, Philosophy, Literature, Geography, Chronology, Astronomy and Astrology of India, Vol. 1 |location=London |publisher=Kegan, Paul, Trench, Trübner & Co. |url=http://onlinebooks.library.upenn.edu/webbin/book/lookupname?key=Sachau%2C%20Eduard%2C%201845-1930 |access-date=2016-02-28 |archive-date=2016-03-03 |archive-url=https://web.archive.org/web/20160303235035/http://onlinebooks.library.upenn.edu/webbin/book/lookupname?key=Sachau,%20Eduard,%201845-1930 |url-status=live}} * {{cite book |last=Serre |first=Jean-Pierre |year=1996 |orig-year=1973 |author-link=Jean-Pierre Serre |title=A Course in Arithmetic |series=Graduate Texts in Mathematics |volume=7 |publisher=[[Springer Publishing|Springer]] |isbn=978-0-387-90040-7 |url=https://archive.org/details/courseinarithmet00serr}} * {{cite book |last=Smith |first=D. E. |year=1958 |title=History of Mathematics, Vol I |location=New York |publisher=Dover}} * {{cite book |ref={{harvid|Tannery|Henry|1891}} |last1=Tannery |first1=Paul |author1-link=Paul Tannery |editor1=Charles Henry |editor1-link=Charles Henry (librarian) |year=1891 |last2=Fermat |first2=Pierre de |author2-link=Pierre de Fermat |language=fr, la |title=Oeuvres de Fermat |series=(4 Vols.) |location=Paris |publisher=Imprimerie Gauthier-Villars et Fils |url=https://archive.org/details/oeuvresdefermat01ferm}} [https://archive.org/details/oeuvresdefermat01ferm Volume 1] [https://archive.org/details/oeuvresdefermat02ferm Volume 2] [https://archive.org/details/oeuvresdefermat03ferm Volume 3] [https://archive.org/details/oeuvresdefermat04ferm Volume 4 (1912)] * {{cite book |ref={{harvid|Taylor|1818}} |translator-last=Taylor |translator-first=Thomas |translator-link=Thomas Taylor (neoplatonist) |year=1818 |author1=Iamblichus |author1-link=Iamblichus |title=Life of Pythagoras or, Pythagoric Life |location=London |publisher=J. M. Watkins}} For other editions, see [[Iamblichus#List of editions and translations]] * {{cite book |last=Truesdell |first=C. A. |author-link=Clifford Truesdell |year=1984 |translator-last=Hewlett |translator-first=John |chapter=Leonard Euler, Supreme Geometer |title=Leonard Euler, Elements of Algebra |edition=reprint of 1840 5th |location=New York |publisher=[[Springer-Verlag]] |isbn=978-0-387-96014-2 |chapter-url=https://books.google.com/books?id=mkOhy6v7kIsC}} This Google books preview of ''Elements of algebra'' lacks Truesdell's intro, which is reprinted (slightly abridged) in the following book: * {{cite book |last=Truesdell |first=C. A. |author-link=Clifford Truesdell |year=2007 |editor1-last=Dunham |editor1-first=William |chapter=Leonard Euler, Supreme Geometer |title=The Genius of Euler: reflections on his life and work |series=Volume 2 of MAA tercentenary Euler celebration |location=New York |publisher=[[Mathematical Association of America]] |isbn=978-0-88385-558-4 |chapter-url=https://books.google.com/books?id=M4-zUnrSxNoC |access-date=2016-02-28}} * {{cite book |last=Varadarajan |first=V. S. |year=2006 |title=Euler Through Time: A New Look at Old Themes |publisher=[[American Mathematical Society]] |isbn=978-0-8218-3580-7 |url=https://books.google.com/books?id=CYyKTREGYd0C |access-date=2016-02-28}} * {{cite journal |last=Vardi |first=Ilan |title=Archimedes' Cattle Problem |date=April 1998 |journal=American Mathematical Monthly |volume=105 |issue=4 |pages=305–319 |doi=10.2307/2589706 |url=https://www.cs.drexel.edu/~crorres/Archimedes/Cattle/cattle_vardi.pdf |jstor=2589706 |citeseerx=10.1.1.383.545 |access-date=2012-04-08 |archive-date=2012-07-15 |archive-url=https://web.archive.org/web/20120715031904/https://www.cs.drexel.edu/~crorres/Archimedes/Cattle/cattle_vardi.pdf |url-status=live}} * {{cite book |last1=van der Waerden |first1=Bartel L. |translator-last=Dresden |translator-first=Arnold |year=1961 |author-link=Bartel Leendert van der Waerden |title=Science Awakening |volume=1 or 2 |location=New York |publisher=[[Oxford University Press]]}} <!-- Alternative Google books limited preview url=https://books.google.com/books?id=S_T6Pt2qZ5YC& Translated by Peter Huber Publisher Springer, 1974 {{isbn|90-01-93103-0}}, {{isbn|978-90-01-93103-2}} --> * {{cite book |last=Weil |first=André |year=1984 |author-link=André Weil |title=Number Theory: an Approach Through History – from Hammurapi to Legendre |location=Boston |publisher=Birkhäuser |isbn=978-0-8176-3141-3 |url=https://books.google.com/books?id=XSV0hDFj3loC |access-date=2016-02-28}} {{refend}} * {{Citizendium}} == Further reading == Two of the most popular introductions to the subject are: * {{Cite book |first1=G. H. |last1=Hardy |author1-link=G. H. Hardy |first2=E. M. |last2=Wright |title=An introduction to the theory of numbers |year=2008 |orig-year=1938 |url=https://books.google.com/books?id=rey9wfSaJ9EC |publisher=[[Oxford University Press]] |edition=rev. by D. R. Heath-Brown and J. H. Silverman, 6th |isbn=978-0-19-921986-5 |ref=none}} * {{cite book |last=Vinogradov |first=I. M. |author1-link=Ivan Matveyevich Vinogradov |title=Elements of Number Theory |location=Mineola, NY |publisher=Dover Publications |year=2003 |orig-year=1954 |edition=reprint of the 1954}} Hardy and Wright's book is a comprehensive classic, though its clarity sometimes suffers due to the authors' insistence on elementary methods ([[#CITEREFApostol1981|Apostol 1981]]). Vinogradov's main attraction consists in its set of problems, which quickly lead to Vinogradov's own research interests; the text itself is very basic and close to minimal. Other popular first introductions are: * {{Cite book |author1=Ivan M. Niven |author1-link=Ivan M. Niven |author2=Herbert S. Zuckerman |author3=Hugh L. Montgomery |author3-link=Hugh L. Montgomery |title=An introduction to the theory of numbers |year=2008 |orig-year=1960 |url=https://books.google.com/books?id=V52HIcKguJ4C |publisher=[[John Wiley & Sons]] |edition=reprint of the 5th 1991 |isbn=978-81-265-1811-1 |access-date=2016-02-28}} * {{Cite book |first=Kenneth H. |last=Rosen |title=Elementary Number Theory |year=2010 |url=https://books.google.com/books?id=JqycRAAACAAJ |publisher=[[Pearson Education]] |edition=6th |isbn=978-0-321-71775-7 |access-date=2016-02-28}} Popular choices for a second textbook include: * {{cite book |last1=Borevich |first1=A. I. |last2=Shafarevich |first2=Igor R. |author-link1=Borevich |author-link2=Igor Shafarevich |title=Number theory |volume=20 |year=1966 |url=https://books.google.com/books?id=njgVUjjO-EAC |publisher=[[Academic Press]] |location=Boston, MA |series=Pure and Applied Mathematics |isbn=978-0-12-117850-5 |mr=0195803}} * {{cite book |last=Serre |first=Jean-Pierre |year=1996 |orig-year=1973 |author-link=Jean-Pierre Serre |title=A course in arithmetic |series=[[Graduate Texts in Mathematics]] |volume=7 |publisher=Springer |isbn=978-0-387-90040-7 |url=https://archive.org/details/courseinarithmet00serr |ref=none}} == External links == {{Commons}} {{Wikiquote}} * [https://encyclopediaofmath.org/wiki/Number_theory Number Theory] entry in the [[Encyclopedia of Mathematics]] * [http://www.numbertheory.org/ Number Theory Web] {{Number theory}} {{Number theory tables}} {{Areas of mathematics}} {{Computer science}} {{Authority control}} [[Category:Number theory| ]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages transcluded onto the current version of this page
(
help
)
:
Template:Areas of mathematics
(
edit
)
Template:Authority control
(
edit
)
Template:Citation
(
edit
)
Template:Cite book
(
edit
)
Template:Cite encyclopedia
(
edit
)
Template:Cite journal
(
edit
)
Template:Cite web
(
edit
)
Template:Citizendium
(
edit
)
Template:Commons
(
edit
)
Template:Computer science
(
edit
)
Template:Distinguish
(
edit
)
Template:For
(
edit
)
Template:Further
(
edit
)
Template:Google books
(
edit
)
Template:Harv
(
edit
)
Template:Harvnb
(
edit
)
Template:Isbn
(
edit
)
Template:Lang
(
edit
)
Template:Main
(
edit
)
Template:Math
(
edit
)
Template:Math topics TOC
(
edit
)
Template:Multiref
(
edit
)
Template:Mvar
(
edit
)
Template:Number theory
(
edit
)
Template:Number theory tables
(
edit
)
Template:Pi
(
edit
)
Template:Portal
(
edit
)
Template:Refbegin
(
edit
)
Template:Refend
(
edit
)
Template:Reflist
(
edit
)
Template:Sfn
(
edit
)
Template:Short description
(
edit
)
Template:Sic
(
edit
)
Template:Tlit
(
edit
)
Template:Wikiquote
(
edit
)