
The sum of four squares: An exploration of Lagrange's theorem and its legacy in number theory
- 1 United International College
* Author to whom correspondence should be addressed.
Abstract
Lagrange’s Four-square Theorem is a fundamental principle in number theory, which states that every positive integer can be expressed as the sum of four squares. The theorem was first conjectured by the Greek mathematician Diophantus of Alexandria in the 3rd century CE. It was later proved by Pierre de Fermat in the 17th century, and the first published proof was attributed to Joseph-Louis Lagrange in 1770. This paper presents a comprehensive account of the four-square theorem in number theory, which focuses on finding integer solutions to polynomial equations. The theorem has significantly advanced the study of Diophantine equations. It traces Lagrange’s Four-square Theorem from its conjectural origins to its emergence as a cornerstone of contemporary mathematical research. This paper reviews the proof of the theorem and its implications, as well as its connection to modern research and applications, highlighting its timeless relevance in mathematics. In addition, the paper reaffirms the extensive influence of the theorem on the advancement of Diophantine equations and its ongoing significance in elucidating the enigmas of number theory. This enhances our comprehension of the theorem’s position in the wider story of mathematical progress, confirming its significance in both historical and contemporary contexts.
Keywords
Lagrange’s Four-Square Theorem, Diophantine Equations, Computational Number Theory, Quantum Computing
[1]. Lagrange, J. L. (1770). Demonstration d’un théorème d’arithmétique. Mémoires de l’Académie Royale des Sciences et Belles-Lettres de Berlin.
[2]. Silverman, J. H. (2020). A friendly introduction to number theory. Brown University.
[3]. Stewart, I., & Tall, D. (1979). Algebraic number theory and Fermat’s last theorem. Cambridge, MA: Cambridge University Press.
[4]. Fermat, P. de (1670). Observationes ad Diophantum [Marginal notes to Diophantus].
[5]. Diophantus of Alexandria. (3rd century CE). Arithmetica
[6]. NRICH. (n.d.). An introduction to number theory. Retrieved from https://nrich.maths.org/numbertheory
[7]. Euler, L. (1772). De compositione numerorum ex quattuor quadratis [On the composition of numbers from four squares]. Novi Commentarii Academiae Scientiarum Petropolitanae, 16, 64-93.
[8]. Conway, J. H., & Smith, D. A. (2003). On quaternions and octonions. Wellesley, MA: A K Peters/CRC Press.
[9]. Weil, A. (1798). Number theory: An approach through history from Hammurapi to Legendre. Paris, France: Springer.
[10]. Crandall, R., & Pomerance, C. (2005). Prime numbers: A computational perspective. New York, NY: Springer.
Cite this article
Cheng,Y. (2024). The sum of four squares: An exploration of Lagrange's theorem and its legacy in number theory. Theoretical and Natural Science,41,175-179.
Data availability
The datasets used and/or analyzed during the current study will be available from the authors upon reasonable request.
Disclaimer/Publisher's Note
The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of EWA Publishing and/or the editor(s). EWA Publishing and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
About volume
Volume title: Proceedings of the 2nd International Conference on Mathematical Physics and Computational Simulation
© 2024 by the author(s). Licensee EWA Publishing, Oxford, UK. This article is an open access article distributed under the terms and
conditions of the Creative Commons Attribution (CC BY) license. Authors who
publish this series agree to the following terms:
1. Authors retain copyright and grant the series right of first publication with the work simultaneously licensed under a Creative Commons
Attribution License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this
series.
2. Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the series's published
version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial
publication in this series.
3. Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and
during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See
Open access policy for details).