paper

The second moment of Ramanujan sums

arXiv:2506.18395

Abstract

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