1 Introduction
Let us write $e(x)=\exp (2\pi i x)$ and let $\mathbb {N}$ be the set of positive integers. In [Reference Ramanujan11], Ramanujan introduced the following sums for $r\in \mathbb {N}$ and $n\in \mathbb {Z}$ , now known as Ramanujan sums:
where $(a,r)$ denotes the greatest common divisor (gcd) of a and r. An important feature of Ramanujan sums is that they satisfy certain orthogonality relations, first noticed by Carmichael [Reference Carmichael1].
Theorem 1.1 (Shifted orthogonality relations)
Let $h\in \mathbb {Z}$ and let $q,r\in \mathbb {N}$ . Then,
That is, the orthogonality relations give an asymptotic formula for the shifted convolution of Ramanujan sums. Our first result is a generalisation for affine convolutions.
Theorem 1.2 (Affine orthogonality relations)
Let $h\in \mathbb {Z}$ and let $k,q,r\in \mathbb {N}$ . Then,
Here and in the rest of this article, the term affine refers to the fact that the arguments used in the convolutions are n and $kn+h$ ; thus, they are related by an affine transformation.
A Ramanujan–Fourier expansion for an arithmetical function $f:\mathbb {N}\to \mathbb {C}$ is a series representation of the form
where the series converges for each positive integer n. The coefficients $\hat {f}(r)$ are called Ramanujan–Fourier coefficients for f. In [Reference Ramanujan11], Ramanujan obtained Ramanujan–Fourier expansions for several classical arithmetical functions. The literature on Ramanujan–Fourier expansions is vast, and we refer the reader to [Reference Murty9] for a survey.
For example, we have the following result due to Ramanujan [Reference Ramanujan11]:
for $s>0$ , where $\sigma _s(n)=\sum _{d\mid n}d^s$ and $\zeta (z)$ is the Riemann-zeta function. In this case, the series is absolutely convergent.
A more delicate example due to Hardy [Reference Hardy7] is a Ramanujan–Fourier expansion for (essentially) the von Mangoldt function $\Lambda (n)$ :
where $\varphi (n)$ is the Euler totient function and $\mu (n)$ is the Möbius function. In this case, the series converges for each n but not absolutely.
A topic that has captured considerable attention is that of shifted convolutions of arithmetical functions admitting a Ramanujan–Fourier expansion (see, for instance, [Reference Coppola and Murty2–Reference Gadiyar, Murty and Padma5, Reference Murty and Saha10, Reference Saha12]). Namely, given $f(n)=\sum _{r} \hat {f}(r)c_r(n)$ and $g(n)=\sum _{r} \hat {g}(r)c_r(n)$ , two arithmetical functions admitting Ramanujan–Fourier expansions, the orthogonality relations for Ramanujan sums heuristically suggest
in analogy with the Wiener–Khintchine formula from the theory of Fourier series. In fact, such a formula has been proved in several cases, as in the examples just cited.
Under suitable convergence conditions, we use Theorem 1.2 to prove an analogous formula for affine convolutions.
Theorem 1.3. Let $f(n)=\sum _{r} \hat {f}(r)c_r(n)$ and $g(n)=\sum _{r} \hat {g}(r)c_r(n)$ be arithmetical functions admitting Ramanujan–Fourier expansions. Suppose that
converge. Let $k\in \mathbb {N}$ and $h\in \mathbb {Z}$ . Then,
where
This result is applicable, for instance, to sums of powers of divisors.
Corollary 1.4. Let $s\in \mathbb {R}$ with $s>2$ , let $h\in \mathbb {Z}$ and let $k\in \mathbb {N}$ . Then,
where $C(s,k,h)>0$ is a constant depending only on s, k and h.
Corollary 1.4 gives a variation of a result of Ingham [Reference Gadiyar, Murty and Padma5, Reference Ingham8]. Theorem 1.3 motivates the following question.
Question 1.5. Let $f(n)=\sum _{r} \hat {f}(r)c_r(n)$ and $g(n)=\sum _{r} \hat {g}(r)c_r(n)$ be arithmetical functions admitting Ramanujan–Fourier expansions and let $k\ge 1$ and h be integers. Does the asymptotic formula
hold with
A motivation to study shifted convolutions via Ramanujan–Fourier expansions comes from [Reference Gadiyar and Padma6], where it is shown that if (1.3) holds for $f(n)=g(n)=\varphi (n)\Lambda (n)/n$ with the Ramanujan–Fourier expansion (1.2), then the twin prime conjecture would hold in the following strong form conjectured by Hardy and Littlewood.
Conjecture 1.6 (Twin prime conjecture)
Let $\pi _2(x)=\#\{p<x : p, p+2$ are primes} and let
Then we have the asymptotic formula
Arguing as in [Reference Gadiyar and Padma6] but using affine convolutions instead of shifted convolutions, one can study prime pairs of the form p, $kp+h$ . In particular, let
be the counting function of Sophie Germain primes.
Theorem 1.7 (Heuristic for Sophie Germain primes)
If Question 1.5 has a positive answer for $f(n)=g(n)=\varphi (n)\Lambda (n)/n$ with the Ramanujan–Fourier expansion (1.2) and $k=2$ , $h=1$ , then there are infinitely many Sophie Germain primes and, moreover,
where $C_2$ is the same constant appearing in the twin prime conjecture.
It will be clear from the proof that our argument works, more generally, for prime pairs of the form $p, kp+h$ . We restrict our attention to the case of Sophie Germain primes for the sake of exposition.
2 Orthogonality relations
We need the following simple estimate.
Lemma 2.1 (Trigonometric sums)
Let $\alpha $ be a nonintegral rational number and let $D>0$ be an integer with $\alpha D\in \mathbb {Z}$ . Let $P<Q$ be positive integers. Then,
Proof. Using the elementary formula for a geometric sum, one finds
and the result follows.
Proof of Theorem 1.2
Let $S=\sum _{n=1}^N c_q(n)c_r(kn+h)$ and note that
where
We consider three cases.
Case 1: $dq\ne r$ for every $d\mid k$ . We claim that for $a,b$ as in S, the number $a/q + kb/r$ is not an integer. For otherwise, let m be this integer and note that $ar+kbq=mqr$ . Since $(a,q)=1$ , this implies $q\mid r$ , say $r=dq$ , which in turn gives $ad+kb=mdq$ . As $(b,dq)=(b,r)=1$ , we have $(b,d)=1$ , and hence $d\mid k$ , which is a contradiction.
By Lemma 2.1, $|E(a,b)|\le qr/2$ , and hence $|S|\le \varphi (r)\varphi (q) qr/2 < (qr)^2$ .
Case 2: $dq= r$ for some $d\mid k$ with $(k/d,q)>1$ . We claim that for $a,b$ as in S, the number $a/q + kb/r$ is not an integer. Indeed, let $s=k/d$ and note that $a/q + kb/r = (a+sb)/q$ , which is not an integer because $(a,q)=1$ , while $(sb,q)\ge (s,q)>1$ .
As in the previous case, we apply Lemma 2.1 to deduce $|S|< (qr)^2$ .
Case 3: $dq= r$ for some $d\mid k$ with $(k/d,q)=1$ . Let $s=k/d$ so that $(s,q)=1$ . Let a and b be as in S. Note that $(b,q)=1$ because $(b,dq)=(b,r)=1$ . Thus, for each b, there is a unique $a\in (\mathbb {Z}/q\mathbb {Z})^\times $ satisfying $a\equiv -sb \bmod q$ , which is equivalent to $a/q+kb/r = (a+sb)/q\in \mathbb {Z}$ .
Consequently, $E(a,b)=N$ if $a\equiv -sb \bmod q$ (which, for a given b, occurs exactly for one a), while $|E(a,b)|\le qr/2$ otherwise (by Lemma 2.1). It follows that
3 Convolutions
Proof of Theorem 1.3
Since $|c_r(n)|\le \phi (r)\le r$ , the convergence hypothesis implies that the Ramanujan–Fourier expansions $f(n)=\sum _r \hat {f}(r)c_r(n)$ and $g(n)=\sum _r \hat {g}(r)c_r(n)$ are absolutely convergent, which justifies the following computation:
By Theorem 1.2, this last expression is
Finally, by the convergence hypothesis, the error term is $O(1)$ .
4 Sophie Germain primes
Before proving Theorem 1.7, we need the following lemma.
Lemma 4.1. We have
Proof. Let
First we note that
By Chebyshev’s bounds, the sum inside the error term is $O( N^{1/2}\log N )$ from which
We observe that
By partial summation,
At this point, we could use an unconditional upper bound for $\pi _G(t)$ coming from sieve theory, but let us proceed in a more elementary way. We split the integral at $T=N/\sqrt {\log N}$ and use Chebyshev’s bound $\pi _G(t)\le \pi (t) = O(t/\log t)$ to find
Proof of Theorem 1.7
Under the given assumptions,
where
By a computation similar to (14) in [Reference Gadiyar and Padma6], we deduce
By Lemma 4.1, we obtain
It only remains to show $\kappa = C_2$ . Since $c_r(1)=\mu (r)$ and the only divisors of $2$ are $d=1$ and $d=2$ , we find
Acknowledgement
This research was conducted while the author was an MSc student at Pontificia Universidad Católica de Chile under the supervision of Hector Pasten. The author wishes to thank Professor Pasten for suggesting the topic and for his help in writing up the results.