Abstract
Let p be a prime. We define S(p) the smallest number k such that every positive integer is a sum of at most k squares of integers that are not divisible by p. In this article, we prove that \(S(2)=10\), \(S(3)=6\), \(S(5)=5\), and \(S(p)=4\) for any prime p greater than 5. In particular, it is proved that every positive integer is a sum of at most four squares not divisible by 5, except the unique positive integer 79.
Similar content being viewed by others
References
Bhargava, M.: On the Conway–Schneeberger fifteen theorem. Contemp. Math. 272, 27–38 (2000)
Cassels, J.K.S.: Rational Quadratic Forms. Academic Press, London (1978)
Dickson, L.E.: Quaternary quadratic forms representing all integers. Am. J. Math. 49, 39–56 (1927)
Kitaoka, Y.: Arithmetic of Quadratic Forms. Cambridge University Press, Cambridge (1993)
Ko, C.: On the representation of a quadratic form as a sum of squares of linear forms. Quart. J. Math. Oxf. 8, 81–98 (1937)
Lagrange, J.L., Nouveau, M.: Acad. R. Sci. Berlin (1772) 123–133; Oeuvres. vol. 3, pp. 189–201 (1869)
Mordell, L.J.: A new Waring’s problem with squares of linear forms. Quart. J. Math. Oxf. 1, 276–288 (1930)
Oh, B.-K.: Regular positive ternary quadratic forms. Acta Arith. 147, 233–243 (2011)
Oh, B.K., Yu, H.: Completely \(p\)-primitive binary quadratic forms. J. Number Theory 193, 373–385 (2018)
O’Meara, O.T.: Introduction to Quadratic Forms. Springer, New York (1963)
Ono, K.: The web of modularity: arithmetic of the coefficients of modular forms and \(q\)-series. In: CBMS Regional Conference Series in Mathematics, 102, (2004)
Ono, K., Soundararajan, K.: Ramanujan’s ternary quadratic form. Invent. math. 130, 415–454 (1997)
Ramanujan, S.: On the expression of a number in the form \(ax^2 +by^2 +cz^2 +du^2\). Proc. Camb. Philos. Soc. 19, 11–21 (1916)
Wang, X., Pei, D.: Modular Forms with Integral and Half-Integral Weights. Science Press Beijing, Beijing (2012)
Yang, T.: An explicit formula for local densities of quadratic forms. J. Number Theory 72, 309–356 (1998)
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
K. Kim supported by the National Research Foundation of Korea(NRF) grant funded by the Korea government(MSIT) (NRF-2016R1A5A1008055 and NRF-2018R1C1B6007778) B.-K. Oh supported by the National Research Foundation of Korea (NRF-2019R1A2C1086347 and NRF-2020R1A5A1016126)
Rights and permissions
About this article
Cite this article
Kim, K., Oh, BK. A sum of squares not divisible by a prime. Ramanujan J 59, 653–670 (2022). https://doi.org/10.1007/s11139-022-00591-3
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11139-022-00591-3