Skip to main content
Log in

A sum of squares not divisible by a prime

  • Published:
The Ramanujan Journal Aims and scope Submit manuscript

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Bhargava, M.: On the Conway–Schneeberger fifteen theorem. Contemp. Math. 272, 27–38 (2000)

    Article  MathSciNet  Google Scholar 

  2. Cassels, J.K.S.: Rational Quadratic Forms. Academic Press, London (1978)

    MATH  Google Scholar 

  3. Dickson, L.E.: Quaternary quadratic forms representing all integers. Am. J. Math. 49, 39–56 (1927)

    Article  MathSciNet  Google Scholar 

  4. Kitaoka, Y.: Arithmetic of Quadratic Forms. Cambridge University Press, Cambridge (1993)

    Book  Google Scholar 

  5. 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)

    Article  Google Scholar 

  6. Lagrange, J.L., Nouveau, M.: Acad. R. Sci. Berlin (1772) 123–133; Oeuvres. vol. 3, pp. 189–201 (1869)

  7. Mordell, L.J.: A new Waring’s problem with squares of linear forms. Quart. J. Math. Oxf. 1, 276–288 (1930)

    Article  Google Scholar 

  8. Oh, B.-K.: Regular positive ternary quadratic forms. Acta Arith. 147, 233–243 (2011)

    Article  MathSciNet  Google Scholar 

  9. Oh, B.K., Yu, H.: Completely \(p\)-primitive binary quadratic forms. J. Number Theory 193, 373–385 (2018)

    Article  MathSciNet  Google Scholar 

  10. O’Meara, O.T.: Introduction to Quadratic Forms. Springer, New York (1963)

    Book  Google Scholar 

  11. 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)

  12. Ono, K., Soundararajan, K.: Ramanujan’s ternary quadratic form. Invent. math. 130, 415–454 (1997)

    Article  MathSciNet  Google Scholar 

  13. 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)

    Google Scholar 

  14. Wang, X., Pei, D.: Modular Forms with Integral and Half-Integral Weights. Science Press Beijing, Beijing (2012)

    Book  Google Scholar 

  15. Yang, T.: An explicit formula for local densities of quadratic forms. J. Number Theory 72, 309–356 (1998)

    Article  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Kyoungmin Kim.

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

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

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

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11139-022-00591-3

Keywords

Mathematics Subject Classification

Navigation