English

The second moment of Ramanujan sums

Number Theory 2026-01-19 v3

Abstract

In this paper, we study C(x,y)C(x, y), the second moment of Ramanujan sums. Assuming the Riemann Hypothesis(RH), we establish an asymptotic formula for C(x,y)C(x, y) with improved error term. Our analysis applies uniformly to the case where xx and yy are arbitrary close, and in particular allows for a meaningful conparison with the work of \cite{TH} in case y=2x2y=2x^2, while keeping the computational complexity low. The method relies on the use of smooth cutoff functions, which provide greater flexibility in contour shifting.

Keywords

Cite

@article{arxiv.2506.18395,
  title  = {The second moment of Ramanujan sums},
  author = {Hong Ziwei and Zheng Zhiyong},
  journal= {arXiv preprint arXiv:2506.18395},
  year   = {2026}
}