Abstract
Formulas for the number of primitive representations of any integer n as a sum of k squares are given, for 2 ≤ k ≤ 8, and for certain values of n, for 9 ≤ k ≤ 12. The formulas have a similar structure and are striking for their simplicity.
Similar content being viewed by others
References
Bateman, P.T.: On the representations of a number as the sum of three squares. Trans. Amer. Math. Soc. 71, 70–101 (1951)
Cohen, H.: Sommes de carrés, fonctions L et formes modulaires. C. R. Acad. Sc. Paris, Sér. A-B 277, 827–830 (1973)
Cooper, S.: On sums of an even number of squares, and an even number of triangular numbers: an elementary approach based on Ramanujan’s 1ψ1 summation formula. In: Berndt, B.C., Ono, K. (eds.) q-Series with Applications to Combinatorics, Number Theory and Physics, Contemporary Mathematics, No. 291. pp. 115–137. American Mathematical Society, Providence, RI (2001)
Cooper, S.: Sums of five, seven and nine squares. Ramanuj. J. 6, 469–490 (2002)
Cooper, S.: On the number of representations of certain integers as sums of 11 or 13 squares. J. Number Theory 103, 135–162 (2003)
Cooper, S., Hirschhorn, M.D., Lewis, R.P.: Powers of Euler’s product and related identities. Ramanuj. J 4, 137–155 (2000).
Dickson, L.E.: History of the Theory of Numbers. vol. 2. Chelsea, New York (1952).
Dickson, L.E.: History of the Theory of Numbers, vol. 3. Chelsea, New York (1952).
Lejeune Dirichlet, G.: Recherches sur diverses applications de l’analyse infinitésimale à la théorie des nombres. Crelle’s Journal 19, 324–369 (1839) and 21, 1–12, 134–155 (1840). Reprinted in Kronecker, L. (ed.) G. Lejeune Dirichlet’s Werke, B. 1, pp. 411–496 (see pp. 492–493, 496) (1889), reprinted by Chelsea, New York (1969)
Eisenstein, F.G.M.: Neue Theoreme der höheren Arithmetik. Crelle’s Journal 35, 117–196. (1847). Reprinted in Eisenstein, G. Mathematische Werke, B. 1, pp. 483–502. Chelsea, Now York (1989)
Eisenstein, F.G.M.: Note sur la représentation d’un nombre par la somme de cinq carrés. Crelle’s Journal 35, 368 (1847). Reprinted in Eisenstein, G. Mathematische Werke, B. 2, p. 505. Chelsea, New York (1989)
Eisenstein, F.G.M.: Lehrsätze. Crelle’s Journal 39, 180–182 (1850). Reprinted in Eisenstein, G. Mathematische Werke, B. 2, pp. 620–622. Chelsea, New York (1989)
Gauss, C.F.: Disquisitiones Arithmeticae. Eng. Edition, Translated by Arthur A. Clarke, Yale University Press, New Haven and London, 1966. Revised by William C. Waterhouse and reprinted by Springer-Verlag, New York (1986)
Glaisher, J.W.L.: On the representations of a number as the sum of two, four, six, eight, ten and twelve squares. Quart. J. Pure and Appl. Math. 38, 1–62 (1907)
Glaisher, J.W.L.: On the representations of a number as the sum of fourteen and sixteen squares. Quart. J. Pure and Appl. Math. 38, 178–236 (1907)
Glaisher, J.W.L.: On the numbers of representations of a number as a sum of 2r squares, where 2r does not exceed eighteen. Proc. London Math. Soc. Ser. (2), 5, 479–490 (1907)
Glaisher, J.W.L.: On elliptic-function expansions in which the coefficients are powers of the complex numbers having n as norm. Quart. J. Pure and Appl. Math. 39, 266–300 (1908)
Grosswald, E.: Representations of Integers as Sums of Squares. Springer-Verlag, New York (1985)
Hardy, G.H.: On the representation of a number as the sum of any number of squares, and in particular of five or seven. Proc. Nat. Acad. Sci. 4, 340–344 (1918)
Hardy, G.H.: On the representation of a number as the sum of any number of squares, and in particular of five. Trans. Amer. Math. Soc. 21, 255–284 (1920)
Hardy, G.H., Wright, E.M.: An Introduction to the Theory of Numbers. 5th edn. Oxford, reprinted (1989)
Hirschhorn, M.D., Sellers, J.A.: On representations of a number as a sum of three squares. Discrete Math. 199, 85–101 (1999)
Hurwitz, A.: Sur la décomposition des nombres en cinq carrés, Paris, C. R. Acad. Sci. 98, 504–507 (1884). Reprinted in Mathematische Werke, B. 2, pp. 5–7. Birkhauser, Basel (1933)
Hurwitz, A.: L’Intermédiaire des Mathematiciens 14, 107 (1907). Reprinted in Mathematische Werke, B. 2, p. 751, Birkhauser, Basel (1933)
Jacobi, C.G.J.: Fundamenta Nova Theoriae Functionum Ellipticarum. 1829. Reprinted in Weierstrass, K. (ed.) C.G.J. Jacobi’s Gesammelte Werke, B. 1, pp. 49–239 (1881); 2nd edn. published by Chelsea, New York (1969)
Jacobi, C.G.J.: Note sur la decomposition d’un nombre donne en quatre carrés. Crelle’s Journal 3, 191 (1828). Reprinted in Weierstrass, K. (ed.) C.G.J. Jacobi’s Gesammelte Werke, B. 1, p. 247 (1881). 2nd edn. published by Chelsea, New York (1969)
Jacobi, C.G.J.: De compositione numerorum e quatuor quadratis. Crelle’s Journal 12, 167–172 (1834). Reprinted in Weierstrass, K. (eds.) C.G.J. Jacobi’s Gesammelte Werke, B. 6, pp. 245–251 (1891). Second edition published by Chelsea, New York (1969)
Liouville, J.: Extrait d’une lettre adressée a M. Besge. Journal de Mathématiques Pures et Appliquées (Liouville’s Journal). Series 2 9, 296–298 (1864)
Liouville, J.: Nombre des représentations d’un entier quelconque sous la forme d’une somme de dix carrés, Journal de Mathématiques Pures el Appliquées (Liouville’s Journal). Series 2 11, 1–8 (1866)
Lomadze, G.A.: On the representation of numbers by sums of squares. (Russian) Akad. Nauk Gruzin. SSR. Trudy Tbiliss. Mat. Inst. Razmadze 16, 231–275 (1948)
Lomadze, G.A.: On the number of representations of natural numbers by sums of nine squares. (Russian) Acta Arith. 68(3), 245–253 (1994)
Macdonald, I.G.: Affine root systems and Dedekind’s η-function. Invent. Math. 15, 91–143 (1972)
Minkowski, H.: Mémoire sur la théorie des formes quadratiques à coefficients entières. Mémoires présentés par divers savants à l’Académie des Sciences de l’Institut National de France 29(2), 1–178 (1887). Reprinted in Gesammelte Abhandlungen von Hermann Minkowski, B. 1, pp. 3–144, Leipzig, Berlin, B.G. Teubner (1911)
Mordell, L.J.: On the representation of numbers as the sum of 2r squares. Quart. J. Pure and Appl. Math. 48, 93–104 (1917)
Mordell, L.J.: On the representations of a number as a sum of an odd number of squares. Trans. Camb. Phil. Soc. 22, 361–372 (1919)
Olds, C.D.: On the representations, N 3(n 2). Bull. Amer. Math. Soc. 47, 499–503 (1941)
Olds, C.D.: On the representations, N 7(m 2). Bull Amer. Math. Soc. 47, 624–628 (1941)
Olds, C.D.: On the number of representations of the square of an integer as the sum of three squares. Amer. J. Math. 63, 763–767 (1941)
Pall, G.: On the number of representations of a square, or a constant times a square, as the sum of an odd number of squares. J. London Math. Soc. 5, 102–105 (1930)
Rademacher, H.: Topics in Analytic Number Theory. Springer-Verlag, New York (1973)
Ramanujan, S.: On certain arithmetical functions. Trans. Camb. Phil. Soc. 22, 159–184 (1916). Reprinted in Collected Papers of Srinivasa Ramanujan, pp. 136–162. AMS Chelsea, Providence, RI (2000)
Ramanujan, S.: The Lost Notebook and Other Unpublished Papers. Narosa, New Delhi (1988)
Sandham, H.F.: A square as the sum of 7 squares. Quart. J. Math., Oxford Ser. (2), 4, 230–236 (1953)
Sandham, H.F.: A square as the sum of 9, 11 and 13 squares. J. London Math. Soc. 29, 31–38 (1954)
Serre, J.-P.: Smith, Minkowski et l’Académie des Sciences de Paris, Gazette des Mathématiciens 56, 3–9 (1993)
Smith, H.J.S.: Report on the theory of numbers, Part III. Report for the British Association, 1861. Reprinted in Glaisher, J.W.L. (ed.) The Collected Mathematical Papers of H.J.S. Smith vol. 1, pp. 163–228 (1894). See p. 191; reprinted by Chelsea, New York (1979)
Smith, H.J.S.: On the orders and genera of quadratic forms containing more than three indeterminates. Proc. Royal Soc. 13, 199–203 (1864), and 16, 197–208 (1867). Reprinted in Glaisher J.W.L (ed.) The Collected Mathematical Papers of H.J.S. Smith, vol. 1, pp. 412–417, 510–523 (1894). See pp. 521–522; reprinted by Chelsea, New York (1979).
Smith, H.J.S.: Report on the theory of numbers, Part VI. Report for the British Association, 1865. Reprinted in Glaisher, J.W.L. (eds.) The Collected Mathematical Papers of H.J.S. Smith, vol. 1, pp. 289–358 (1894). See pp. 306–308; reprinted by Chelsea, New York (1979)
Smith, H.J.S.: Mémoire sur la représentation des nombres par des sommes de cinq carrés. Mémoires présentés par divers savants à l’Académic des Sciences de l’Institut National de France 29(1), 1–72 (1887). Reprinted in Glaisher, J.W.L. (ed.) The Collected Mathematical Papers of H.J.S. Smith, vol. 2, pp. 623–680 (1894); reprinted by Chelsea, New York (1965)
Stieltjes, T.J.: Sur le nombrc de décompositions d’un entier en cinq carrés. Paris, C. R. Acad. Sci., 97, 1545–1547 (1883). Reprinted in Oeuvres Complètes de Thomas Jan Stieltjes, Tome 1, pp. 329–331, P. Noordhoff, Groningen (1914)
Stieltjes, T.J.: Sur quelques applications arithmétiques de la théorie des fonctions elliptiques. Paris, C. R. Acad. Sci., 98, 663–664 (1884). Reprinted in Oeuvres Complètes de Thomas Jan Stieltjes, Tome 1, pp. 360–361, P. Noordhoff, Groningen (1914)
Author information
Authors and Affiliations
Corresponding author
Additional information
Dedicated to Richard Askey on the occasion of his 70th birthday.
2000 Mathematics Subject Classification Primary—11E25; Secondary—05A15, 33E05.
Rights and permissions
About this article
Cite this article
Cooper, S., Hirschhorn, M. On the number of primitive representations of integers as sums of squares. Ramanujan J 13, 7–25 (2007). https://doi.org/10.1007/s11139-006-0240-6
Received:
Accepted:
Issue Date:
DOI: https://doi.org/10.1007/s11139-006-0240-6