English

The least quadratic residue and integers represented by quadratic forms

Number Theory 2026-07-31 v1

Abstract

Let (n)\ell(n) denote the least non-trivial reduced quadratic residue modulo nn; that is, (n)\ell(n) denotes the smallest square-free integer r>1r>1 with (r,n)=1(r,n)=1 and rx2modnr\equiv x^2 \bmod {n}. We establish nearly optimal bounds for (n)\ell(n), both in terms of the magnitude of nn and of its number of prime factors ω(n)\omega(n). In particular, we construct moduli nn for which (n)\ell(n) is unexpectedly large. As an application of our results, we prove bounds for the rate at which binary quadratic forms with bounded discriminant represent all positive integers up to NN.

Keywords

Cite

@article{arxiv.2607.29566,
  title  = {The least quadratic residue and integers represented by quadratic forms},
  author = {Kannan Soundararajan and João C. C. Vargas},
  journal= {arXiv preprint arXiv:2607.29566},
  year   = {2026}
}

Comments

12 pages