1 Introduction
Let
$\unicode[STIX]{x1D707}$
denote the Möbius function, i.e.
$\unicode[STIX]{x1D707}$
is the multiplicative function such that for every prime number
$p$
, one has
$\unicode[STIX]{x1D707}(p)=-1$
and
$\unicode[STIX]{x1D707}(p^{j})=0$
for
$j\geqslant 2$
. We remark that
$\unicode[STIX]{x1D707}^{2}(n)=1$
if
$n$
is squarefree and
$\unicode[STIX]{x1D707}^{2}(n)=0$
otherwise. In this paper we are concerned with the distribution of squarefree numbers in arithmetic progressions. By what we just said, this is equivalent to studying the distribution of the
$\unicode[STIX]{x1D707}^{2}$
function in arithmetic progressions.
In this direction, a result of Prachar [Reference Prachar6], subsequently improved by Hooley [Reference Hooley3], says that
$$\begin{eqnarray}\mathop{\sum }_{\substack{ n\leqslant X \\ n\equiv a~(\text{mod}~q)}}\unicode[STIX]{x1D707}^{2}(n)=\frac{1}{\unicode[STIX]{x1D711}(q)}\mathop{\sum }_{\substack{ n\leqslant X \\ (n,q)=1}}\unicode[STIX]{x1D707}^{2}(n)+O\biggl(\frac{X^{1/2}}{q^{1/2}}+q^{1/2+\unicode[STIX]{x1D716}}\biggr).\end{eqnarray}$$
Here and throughout the article,
$\unicode[STIX]{x1D716}$
denotes a small constant that might vary from line to line and the implied constants in the symbols
$O$
and
$\ll$
are allowed to depend on
$\unicode[STIX]{x1D716}$
.
It follows from (1.1) that the sequence of squarefree numbers
${\leqslant}X$
is well distributed in arithmetic progressions modulo
$q$
whenever
Even though it is largely believed that one should be able to replace
$2/3$
by
$1$
in the above inequality, this constant has resisted any improvement until very recently.
The author [Reference Nunes4] proved, using different techniques than those contained here, that if one restricts to prime values of
$q$
, the exponent in (1.2) can be improved to
$13/19$
. In the present paper we show how to further improve this constant and at the same time relax the condition on
$q$
. Our main result is the following.
Theorem 1.1. Let
$\unicode[STIX]{x1D716}>0$
. Then there exists
$\unicode[STIX]{x1D6FF}=\unicode[STIX]{x1D6FF}(\unicode[STIX]{x1D716})>0$
such that, uniformly for
$X\geqslant 2$
, integers
$a$
and positive integers
$q$
coprime with
$a$
satisfying
we have
$$\begin{eqnarray}\mathop{\sum }_{\substack{ n\leqslant X \\ n\equiv a~(\text{mod}~q)}}\unicode[STIX]{x1D707}^{2}(n)=\frac{1}{\unicode[STIX]{x1D711}(q)}\mathop{\sum }_{\substack{ n\leqslant X \\ (n,q)=1}}\unicode[STIX]{x1D707}^{2}(n)+O\biggl(\frac{X^{1-\unicode[STIX]{x1D6FF}}}{q}\biggr).\end{eqnarray}$$
In other terms, the value
$\unicode[STIX]{x1D6E9}={\textstyle \frac{25}{36}}$
is an exponent of distribution for the characteristic function of the sequence of squarefree numbers
$\unicode[STIX]{x1D707}^{2}$
restricted to squarefree moduli.
Alternatively, one can ask the simpler question of when is the left-hand side of (1.1) non-zero. This amounts to studying the least squarefree number in an arithmetic progression. We let
$n(q,a)$
denote the least positive squarefree number which is congruent to
$a$
modulo
$q$
. Prachar’s result implies that
This result was improved by Erdős [Reference Erdős1], who essentially proved that
$n(q,a)=o(q^{3/2})$
, and then later by Heath-Brown [Reference Heath-Brown2], who showed the upper bound
It is a direct consequence of Theorem 1.1 that we can also improve this inequality. We have the following.
Corollary 1.2. For every
$\unicode[STIX]{x1D716}>0$
, uniformly for
$(a,q)=1$
, we have the inequality
The key input comes from estimates for the number of solutions to a congruence in a dyadic box.
Let
$q$
be a positive integer and let
$a\in (\mathbb{Z}/q\mathbb{Z})^{\ast }$
. Let
$u>0$
and
$v$
be non-zero integers and let
$M$
and
$N$
be real numbers such that
$M,N\geqslant 1$
. We consider the counting function
where, if
$v$
is negative, we automatically assume that
$n$
is invertible modulo
$q$
and then
$n^{v}$
stands for
$\bar{n}^{|v|}$
, where
$\bar{n}$
denotes the multiplicative inverse of
$n$
modulo
$q$
.
It is not hard to deduce the upper bound
In certain cases, this can be improved by making use of the Weil bound for exponential sums over curves. For example, suppose that
$q$
is squarefree and
$(u,v)=1$
,
$u\neq v$
. Then we have the inequality
If one is interested in extending the above inequality to non-squarefree moduli, one needs a careful analysis of certain exponential sums modulo a power of a prime. This is elementary but rather tedious, so we are glad that in the case of interest to us, this was already done by Heath-Brown [Reference Heath-Brown2].
Lemma 1.3. Let
$q$
be a positive integer. Then we have, uniformly for
$a\in (\mathbb{Z}/q\mathbb{Z})^{\ast }$
,
$1\leqslant M<q/2$
, the inequality
This follows from [Reference Heath-Brown2, equation (17)], since one can check that his definition of
$U(w,M,q,a)$
(see [Reference Heath-Brown2, p. 209]) satisfies
Unfortunately, when
$M\asymp N\asymp q^{1/2}$
, both (1.6) an (1.7) give the same bound
This is an important threshold when trying to improve (1.1) or (1.4). Indeed, one of the main achievements in [Reference Heath-Brown2] is giving an upper bound for
$S_{1,-2}(M,N,q,a)$
that improves on (1.8) in the range where
$M\asymp N\asymp q^{1/2}$
.
The following lemma was proved in [Reference Pierce5] in the case where
$q$
is squarefree. In the present paper we need to prove it for another family of moduli. Precisely, we need the case where
$q$
is the square of a prime.
Lemma 1.4. Suppose that
$q$
is either squarefree or the square of a prime. Then we have, uniformly for
$a\in (\mathbb{Z}/q\mathbb{Z})^{\ast }$
,
$1\leqslant M\leqslant q^{3/4}$
and
$1\leqslant N<q/2$
, the inequality
Notice that Lemma 1.4 is more useful when
$M$
is small compared to
$N$
. In the opposite case, where
$M$
is the larger variable, we use the following simple relation:
We will use Lemma 1.4 with
$(u,v)=(1,-2)$
and
$(u,v)=(2,-1)$
. For the first of these pairs, this is contained in the work of Heath-Brown, for both squarefree moduli and squares of primes. For the other pair, the argument in [Reference Heath-Brown2] does not transpose directly, and we need to implement some of the novelties contained in [Reference Pierce5].
At many steps in the proof of Lemma 1.4 we will need to estimate the number of roots of a polynomial modulo
$p^{2}$
for a certain prime
$p$
, for which we will need Hensel’s lemma. We recall that Hensel’s lemma says that if
$\unicode[STIX]{x1D6FC}\in \mathbb{Z}/p\mathbb{Z}$
satisfies
then there exists a unique
$\unicode[STIX]{x1D6FD}\in \mathbb{Z}/p^{2}\mathbb{Z}$
such that
As an application of Hensel’s lemma, we have the following result that we record here for easier reference.
Lemma 1.5. Let
$u\neq 0$
be an integer, let
$p$
be a prime and
$y\in (\mathbb{Z}/p^{2}\mathbb{Z})^{\ast }$
. Then the number of solutions for
$x\in \mathbb{Z}/p^{2}\mathbb{Z}$
to the congruence
$x^{u}\equiv y~(\text{mod}~p^{2})$
is
$O(1)$
, where the implied constant depends only on
$u$
.
Proof. For
$p>u$
, this follows immediately from Hensel’s lemma and the fact that
$\mathbb{Z}/p\mathbb{Z}$
is a field. When
$p<|u|$
, then
$\#\mathbb{Z}/p^{2}\mathbb{Z}$
is bounded in terms of
$u$
, which concludes the proof.◻
The bulk of the article is dedicated to proving Lemma 1.4 in the case that is not covered by [Reference Pierce5, Theorem 4]. The technique is reminiscent of those in [Reference Heath-Brown2] and [Reference Pierce5], but some complications appear. At some point we need to consider the resultant of two families of polynomials to guarantee that they do not have common roots very often. Finally, in §3, we give a proof of the main theorem. By classical methods of analytic number theory, we show how the result can be derived from Lemma 1.3 or 1.4, depending on the factorization of
$q$
.
2 Counting solutions to a congruence
In this section we give a proof of Lemma 1.4 in the case where
$q$
is the square of a prime.
The proof is for a good part extremely similar to that of [Reference Pierce5, Theorem 4] and we shall refer to that one at many steps.
By [Reference Pierce5, equation (4.1)], we have that
for
${\mathcal{I}}=(0,N]$
, where
$$\begin{eqnarray}{\mathcal{N}}_{a}({\mathcal{I}})=\frac{1}{q}\mathop{\sum }_{h=1}^{q}\biggl|\mathop{\sum }_{n\in {\mathcal{I}}}\mathop{\sum }_{\substack{ m~(\text{mod}~q) \\ m^{u}\equiv an^{v}~(\text{mod}~q)}}e_{q}(hm)\biggr|^{4}\end{eqnarray}$$
and
$$\begin{eqnarray}\displaystyle {\mathcal{N}}_{a}({\mathcal{I}}) & = & \displaystyle |\!\{(\boldsymbol{m},\boldsymbol{n}),\,\boldsymbol{n}\in {\mathcal{I}}^{4},\,\boldsymbol{m}\in (\mathbb{Z}/q\mathbb{Z})^{4},\nonumber\\ \displaystyle & & \displaystyle \qquad m_{i}^{u}\equiv an_{i}^{v}~(\text{mod}~q)\text{ for }1\leqslant i\leqslant 4\nonumber\\ \displaystyle & & \displaystyle \qquad \text{and }m_{1}+m_{2}\equiv m_{3}+m_{4}~(\text{mod}~q)\!\}\!|,\nonumber\end{eqnarray}$$
where here and throughout this section,
Notice that in order to quote directly the results from [Reference Pierce5], we relaxed the condition
$N/2<n\leqslant N$
into
$n\leqslant N$
.
2.1 A trivial bound
Suppose that
$n_{1}$
,
$n_{2}$
and
$n_{3}$
are fixed. Then
$n_{4}$
is determined modulo
$q$
and, by Lemma 1.5, we have at most
$O(1)$
solutions for
$m_{i}$
modulo
$q$
for
$1\leqslant i\leqslant 4$
. Thus, it follows that
This estimate is not enough for our purposes and, as in [Reference Heath-Brown2] and [Reference Pierce5], we need to introduce an auxiliary set of primes and benefit from averaging over this set.
2.2 Introducing an auxiliary prime
Fix a prime
$p\nmid q$
such that
$Q<p\leqslant 2Q$
with
where
$Q$
is a parameter to be chosen later.
We first separate the contribution to
$N_{a}({\mathcal{I}})$
of the quadruples
$(n_{1},n_{2},n_{3},n_{4})$
such that
$p$
divides one of the
$n_{i}$
. Analogously to (2.3), we have
$$\begin{eqnarray}{\mathcal{N}}_{a}({\mathcal{I}})\ll \frac{N^{3}}{Q}q^{\unicode[STIX]{x1D716}}+\frac{1}{q}\mathop{\sum }_{h=1}^{q}\biggl|\mathop{\sum }_{\substack{ n\in {\mathcal{I}} \\ p\nmid n}}\mathop{\sum }_{\substack{ m~(\text{mod}~q) \\ m^{u}\equiv an^{v}~(\text{mod}~q)}}e_{q}(hm)\biggr|^{4}.\end{eqnarray}$$
We shall now divide the remaining
$n\in {\mathcal{I}}$
into residue classes modulo
$p$
. Since
$p\nmid q$
, every
$n\in {\mathcal{I}}$
such that
$p\nmid n$
is congruent to
$fq$
modulo
$p$
for some
$1\leqslant f\leqslant p-1$
. Thus, by Hölder’s inequality,
$$\begin{eqnarray}\biggl|\mathop{\sum }_{\substack{ n\in {\mathcal{I}} \\ p\nmid n}}\mathop{\sum }_{\substack{ m~(\text{mod}~q) \\ m^{u}\equiv an^{v}~(\text{mod}~q)}}e_{q}(hm)\biggr|^{4}\ll Q^{3}\mathop{\sum }_{f=1}^{p-1}\biggl|\mathop{\sum }_{\substack{ n\in {\mathcal{I}} \\ n\equiv fq~(\text{mod}~p)}}\mathop{\sum }_{\substack{ m~(\text{mod}~q) \\ m^{u}\equiv an^{v}~(\text{mod}~q)}}e_{q}(hm)\biggr|^{4}.\end{eqnarray}$$
Define the interval
${\mathcal{I}}(p,f)=(-fq/p,(N-fq)/p]$
and write
$n=fq+ps$
with
$s\in {\mathcal{I}}(p,f)$
. Let
$$\begin{eqnarray}S(q;p,f):=\frac{1}{q}\mathop{\sum }_{h=1}^{q}\biggl|\mathop{\sum }_{s\in {\mathcal{I}}(p,f)}\mathop{\sum }_{\substack{ m~(\text{mod}~q) \\ m^{u}\equiv ap^{v}s^{v}~(\text{mod}~q)}}e_{q}(hm)\biggr|^{4}.\end{eqnarray}$$
Now let
$\unicode[STIX]{x1D6E4}=(\mathbb{Z}/q\mathbb{Z})^{\times }$
and consider
$\unicode[STIX]{x1D6E4}/\unicode[STIX]{x1D6E4}^{u}$
, the quotient of
$\unicode[STIX]{x1D6E4}$
by the subgroup of
$u$
th powers in
$\unicode[STIX]{x1D6E4}$
. We know that
Thus, by Lemma 1.5,
Let
$\{R_{j},1\leqslant j\leqslant |\unicode[STIX]{x1D6E4}/\unicode[STIX]{x1D6E4}^{u}|\}$
be a complete set of coset representatives. Now suppose that
$p=R_{t}g^{u}$
for some
$1\leqslant t\leqslant |\unicode[STIX]{x1D6E4}/\unicode[STIX]{x1D6E4}^{u}|$
and
$g\in \unicode[STIX]{x1D6E4}$
. We then have
$$\begin{eqnarray}S(q;p,f)=\frac{1}{q}\mathop{\sum }_{h=1}^{q}\biggl|\mathop{\sum }_{s\in {\mathcal{I}}(p,f)}\mathop{\sum }_{\substack{ m~(\text{mod}~q) \\ m^{u}\equiv aR_{t}^{v}g^{uv}s^{v}~(\text{mod}~q)}}e_{q}(hm)\biggr|^{4}.\end{eqnarray}$$
After a change of variables, we deduce that
$$\begin{eqnarray}S(q;p,f)=\frac{1}{q}\mathop{\sum }_{h=1}^{q}\biggl|\mathop{\sum }_{s\in {\mathcal{I}}(p,f)}\mathop{\sum }_{\substack{ m~(\text{mod}~q) \\ m^{u}\equiv aR_{t}^{v}s^{v}~(\text{mod}~q)}}e_{q}(hm)\biggr|^{4},\end{eqnarray}$$
i.e.
where
$b=aR_{t}^{u}$
. Assembling our last efforts, we obtain the inequality
The importance of the above formula is that it only depends on the class of
$p$
in
$\unicode[STIX]{x1D6E4}/\unicode[STIX]{x1D6E4}^{u}$
. This will be especially important when we average over
$p$
.
2.3 Averaging over the set of primes
At this point we need to separate the set of quadruples
$\boldsymbol{n}\in \mathbb{Z}^{4}$
into “good” and “bad”. The good set is chosen so that we can benefit from averaging and the bad set is small enough so that averaging is not necessary.
After splitting the sum according to whether
$\boldsymbol{n}$
is good or bad, we need to treat these sums and then introduce the set of primes over which we average. At this point we make crucial use of the finiteness of
$|\unicode[STIX]{x1D6E4}/\unicode[STIX]{x1D6E4}^{u}|$
deduced in the previous subsection (see (2.6)). The argument is identical to that in [Reference Pierce5, §4.3], so we shall content ourselves to quote the results from there.
Before we continue, we need to introduce some notation. Suppose that
$B$
and
$G$
are two distinct sets such that
$B\cup G=\mathbb{Z}^{4}$
. Let
$$\begin{eqnarray}\displaystyle {\mathcal{N}}_{b}^{B}(t) & = & \displaystyle |\!\{(\boldsymbol{m},\boldsymbol{n});\boldsymbol{m}(\in \mathbb{Z}/q\mathbb{Z})^{4},\boldsymbol{n}\in B,\boldsymbol{n}\in (-t,NQ^{-1}-t]^{4},\nonumber\\ \displaystyle & & \displaystyle \qquad m_{i}^{u}\equiv bn_{i}^{v}~(\text{mod}~q)~\text{for}~1\leqslant i\leqslant 4\nonumber\\ \displaystyle & & \displaystyle \qquad \text{and}~m_{1}+m_{2}\equiv m_{3}+m_{4}~(\text{mod}~q)\!\}\!|\end{eqnarray}$$
and let
Finally, we let
$$\begin{eqnarray}\displaystyle L_{b} & = & \displaystyle |\!\{(\boldsymbol{m},\boldsymbol{n},j);\;\boldsymbol{m}\in (\mathbb{Z}/q\mathbb{Z})^{4},\,\boldsymbol{n}\in (0,NQ^{-1}]^{4},\,1\leqslant j\leqslant q,\nonumber\\ \displaystyle & & \displaystyle \qquad \boldsymbol{n}-j\in G,\,m_{i}^{u}\equiv b(n_{i}-j)^{v}~(\text{mod}~q)\text{ for }1\leqslant i\leqslant 4\nonumber\\ \displaystyle & & \displaystyle \qquad \text{and }m_{1}+m_{2}\equiv m_{3}+m_{4}~(\text{mod}~q)\!\}\!|,\nonumber\end{eqnarray}$$
where
We are now ready to quote the results from [Reference Pierce5]. With the notation as above, it follows from [Reference Pierce5, equation (4.3)] that we have the inequality
provided that
2.4 The good and the bad sets
We write again
$q=p_{0}^{2}$
and we let the bad set
$B$
consist of the quadruples
$\boldsymbol{n}\in \mathbb{Z}^{4}$
for which there exists
$(x_{1},x_{2},x_{3},x_{4})\in (\mathbb{Z}/p_{0}\mathbb{Z})^{4}$
such that
$$\begin{eqnarray}\left\{\begin{array}{@{}l@{}}x_{i}^{u}\equiv bn_{i}^{v}~(\text{mod}~p_{0})\quad \text{for }1\leqslant i\leqslant 4,\quad \\ x_{1}+x_{2}\equiv x_{3}+x_{4}~(\text{mod}~p_{0}),\quad \\ \displaystyle \frac{x_{1}}{n_{1}}+\frac{x_{2}}{n_{2}}\equiv \frac{x_{3}}{n_{3}}+\frac{x_{4}}{n_{4}}~(\text{mod}~p_{0}).\quad \end{array}\right.\end{eqnarray}$$
And, naturally,
$G=\mathbb{Z}^{4}\backslash B$
. With
$B$
and
$G$
as above, we must now estimate
$K_{b}$
and
$L_{b}$
.
2.5 Estimating
$L_{b}$
We let
where
$L_{b}(\boldsymbol{n},q)$
is the contribution to
$L_{b}$
for a fixed quadruple
$\boldsymbol{n}$
.
It follows from [Reference Pierce5, top of p. 594] that unless
$(n_{3},n_{4})$
is a permutation of
$(n_{1},n_{2})$
, we have the inequality
We shall deduce that with the above choice for
$G$
, we have the same inequality for
$L_{b}(\boldsymbol{n},q)$
.
Suppose that
$(x_{1},x_{2},x_{3},x_{4},y)\in (\mathbb{Z}/p_{0}\mathbb{Z})^{5}$
is a solution to the system of congruences
We shall prove that this solution cannot be lifted to
$(\mathbb{Z}/q\mathbb{Z})^{5}$
in too many ways. Suppose that
$(m_{1},m_{2},m_{3},m_{4},j)$
and
$(m_{1}^{\prime },m_{2}^{\prime },m_{3}^{\prime },m_{4}^{\prime },j^{\prime })$
in
$(\mathbb{Z}/q\mathbb{Z})^{5}$
are two different solutions to the system of congruences
$$\begin{eqnarray}\left\{\begin{array}{@{}l@{}}m_{i}^{u}\equiv b(n_{i}-j)^{v}~(\text{mod}~q)\quad \text{for }1\leqslant i\leqslant 4,\quad \\ m_{1}+m_{2}\equiv m_{3}+m_{4}~(\text{mod}~q),\quad \\ m_{i}\equiv x_{i}~(\text{mod}~p_{0})\quad \text{for }1\leqslant i\leqslant 4,\quad \\ j\equiv y~(\text{mod}~p_{0}).\quad \end{array}\right.\end{eqnarray}$$
Let
$\ell$
be such that
$j^{\prime }=j+\ell p_{0}$
. We have that
$$\begin{eqnarray}\displaystyle m_{i}^{\prime }-m_{i} & \equiv & \displaystyle \frac{(m_{i}^{\prime })^{u}-(m_{i})^{u}}{\mathop{\sum }_{s=0}^{u-1}(m_{i}^{\prime })^{s}m_{i}^{u-1-s}}~(\text{mod}~q)\nonumber\\ \displaystyle & \equiv & \displaystyle b\frac{(n_{i}-j-\ell p_{0})^{v}-(n_{i}-j)^{v}}{\mathop{\sum }_{s=0}^{u-1}(m_{i}^{\prime })^{s}m_{i}^{u-1-s}}~(\text{mod}~q)\nonumber\\ \displaystyle & \equiv & \displaystyle \frac{bv\ell p_{0}(n_{i}-j)^{v-1}}{\mathop{\sum }_{s=0}^{u-1}(m_{i}^{\prime })^{s}m_{i}^{u-1-s}}~(\text{mod}~q).\nonumber\end{eqnarray}$$
Now, since
$\sum _{s=0}^{u-1}(m_{i}^{\prime })^{s}m_{i}^{u-1-s}\equiv ux_{i}^{u-1}~(\text{mod}~p_{0})$
,
$p_{0}>|u|+|v|$
and
we deduce that either
$\ell \equiv 0~(\text{mod}~p_{0})$
or
We recall that
$x_{i}^{u}\equiv b(n_{i}-j)^{v}~(\text{mod}~p_{0})$
. Thus, we must have
But the above congruence is impossible in view of (2.10) and the fact that
$\boldsymbol{n}-j$
is a good quadruple. We then conclude that we must have
$\ell =0$
and, hence, by Hensel’s lemma,
$m_{i}=m_{i}^{\prime }$
. We have just proved that
Summing over
$\boldsymbol{n}$
, we deduce that
2.6 Estimating
$K_{b}$
We shall estimate
$K_{b}$
by means of the following lemma.
Lemma 2.1. Let
$p$
be a prime number and let
$\mathbb{F}_{p}$
be a field with
$p$
elements. Let
$\unicode[STIX]{x1D6FC},\unicode[STIX]{x1D6FD},\unicode[STIX]{x1D6FE}\in (\mathbb{F}_{p})^{\times }$
. We also let
$k$
and
$\ell$
be two distinct non-zero integers. Then the number of solutions in
$(X_{1},X_{2},Y_{1},Y_{2})$
to the system of equations
$$\begin{eqnarray}\left\{\begin{array}{@{}l@{}}X_{1}+X_{2}=\unicode[STIX]{x1D6FC},\quad \\ Y_{1}+Y_{2}=\unicode[STIX]{x1D6FD},\quad \\ X_{i}^{k}=\unicode[STIX]{x1D6FE}Y_{i}^{\ell }\text{ for }i=1,2\quad \end{array}\right.\end{eqnarray}$$
is
$O(1)$
, where the implied constant depends at most on
$k$
and
$\ell$
.
Proof. We start by noticing that we may assume that
$p>\max (|k|,|\ell |)$
, since, otherwise, even without considering the equations (2.12), the number of quadruples
$(X_{1},X_{2},Y_{1},Y_{2})$
is bounded in terms of
$k$
and
$\ell$
.
We notice that the variables
$X_{2}$
and
$Y_{2}$
are completely determined by
$X_{1}$
and
$Y_{1}$
. Thus, (2.12) is equivalent to the system
Notice that there is no harm in supposing that
$k>0$
, since, otherwise, it suffices to replace
$(k,\ell ,\unicode[STIX]{x1D6FE})$
by
$(-k,-\ell ,\unicode[STIX]{x1D6FE}^{-1})$
.
Now there are two cases to consider. We have either
$\ell >0$
or
$\ell <0$
. For the rest of this proof, we let
$\overline{\mathbb{F}_{p}}$
denote an algebraic closure of
$\mathbb{F}_{p}$
.
First case:
$\ell >0$
. We also suppose that
$k>\ell$
. The other case is analogous with only the roles of
$\unicode[STIX]{x1D6FC}$
and
$\unicode[STIX]{x1D6FD}$
interchanged.
We let
$P_{Y}(X)=X^{k}-\unicode[STIX]{x1D6FE}Y^{\ell }$
and
$Q_{Y}(X)=(\unicode[STIX]{x1D6FC}-X)^{k}-\unicode[STIX]{x1D6FE}(\unicode[STIX]{x1D6FD}-Y)^{\ell }$
. For every
$Y\in \mathbb{F}_{p}$
, these two polynomials have a common root if and only if their resultant
$R(Y)=\operatorname{Res}(P_{Y},Q_{Y})$
vanishes.
Now, since the coefficients of
$P_{Y}$
and
$Q_{Y}$
are polynomials in
$Y$
, it follows that
$R(Y)$
is itself a polynomial in
$Y$
. If we can prove that
$R(Y)$
is not identically zero, then we will deduce that there are at most
$O(1)$
solutions to
$R(Y)=0$
and, since
$X^{k}=\unicode[STIX]{x1D6FE}Y^{\ell }$
, we will be done.
To prove that
$R\not \equiv 0$
, we consider the polynomial
$\tilde{R}(Y):=R(Y^{k})$
. The main reason is that we have the factorization
where the
$\unicode[STIX]{x1D702}_{j}\in \overline{\mathbb{F}_{p}}$
are such that
$X^{k}-\unicode[STIX]{x1D6FE}=\prod _{j=1}^{k}(X-\unicode[STIX]{x1D702}_{j})$
. In particular,
$\unicode[STIX]{x1D702}_{j}^{k}=\unicode[STIX]{x1D6FE}$
.
It follows from the definition of resultant that
$$\begin{eqnarray}\displaystyle R(Y^{k}) & = & \displaystyle \mathop{\prod }_{j=1}^{k}Q_{Y^{k}}(\unicode[STIX]{x1D702}_{j}Y^{\ell })\nonumber\\ \displaystyle & = & \displaystyle \mathop{\prod }_{j=1}^{k}((\unicode[STIX]{x1D6FC}-\unicode[STIX]{x1D702}_{j}Y^{\ell })^{k}-\unicode[STIX]{x1D6FE}(\unicode[STIX]{x1D6FD}-Y^{k})^{\ell })\nonumber\\ \displaystyle & = & \displaystyle \mathop{\prod }_{j=1}^{k}((-1)^{k}\unicode[STIX]{x1D6FE}Y^{k\ell }+(-1)^{\ell -1}\unicode[STIX]{x1D6FE}Y^{k\ell }+(-1)^{\ell }\unicode[STIX]{x1D6FD}\unicode[STIX]{x1D6FE}\ell Y^{k\ell -\ell }+\cdots \,),\nonumber\end{eqnarray}$$
where the omitted terms have degree
${<}k\ell -\ell$
. There are two possible cases. If
$k$
and
$\ell$
have opposite parities, then
and thus
$R\not \equiv 0$
. If, however
$k$
and
$\ell$
have the same parity, then
and, again, we have
$R\not \equiv 0$
.
Second case:
$\ell <0$
. This case is actually simpler. Consider the polynomials
$P_{Y}(X)=Y^{|\ell |}X^{k}-\unicode[STIX]{x1D6FE}$
,
$Q_{Y}(X)=(\unicode[STIX]{x1D6FD}-Y)^{|\ell |}(\unicode[STIX]{x1D6FC}-X)^{k}$
. Notice that we may assume that
$Y$
is not equal to
$0$
or
$\unicode[STIX]{x1D6FD}$
, since
$\ell <0$
. Analogously to the previous case, we let
$R(Y)=\operatorname{Res}(P_{Y},Q_{Y})$
, which is a polynomial in
$Y$
. Let
$\unicode[STIX]{x1D702}_{j}$
,
$1\leqslant j\leqslant k$
, be as before. It follows that
Thus,
$$\begin{eqnarray}\displaystyle R(Y^{k}) & = & \displaystyle Y^{k^{2}|\ell |}\mathop{\prod }_{j=1}^{k}Q_{Y^{k}}(\unicode[STIX]{x1D702}_{j}Y^{-|\ell |})\nonumber\\ \displaystyle & = & \displaystyle Y^{k^{2}|\ell |}\mathop{\prod }_{j=1}^{k}((\unicode[STIX]{x1D6FD}-Y^{k})^{|\ell |}(\unicode[STIX]{x1D6FC}-\unicode[STIX]{x1D702}_{j}Y^{-|\ell |})^{k}-\unicode[STIX]{x1D6FE})\nonumber\\ \displaystyle & = & \displaystyle \mathop{\prod }_{j=1}^{k}((\unicode[STIX]{x1D6FD}-Y^{k})^{|\ell |}(\unicode[STIX]{x1D6FC}Y^{|\ell |}-\unicode[STIX]{x1D702}_{j})^{k}-\unicode[STIX]{x1D6FE}).\nonumber\end{eqnarray}$$
It readily follows that
$R(Y^{k})=\pm \unicode[STIX]{x1D6FC}^{k^{2}}Y^{2k^{2}\ell }+\cdots \,$
. Hence,
$R\not \equiv 0$
. This completes the proof of the lemma.◻
With our definition of bad quadruples,
${\mathcal{N}}_{b}^{B}$
is bounded by the number of solutions in
$(\boldsymbol{m},\boldsymbol{n})$
such that
$m_{i}\in (\mathbb{Z}/p_{0}^{2}\mathbb{Z})^{\times }$
,
$n_{i}\in (-t,NQ^{-1}-t]$
and
$$\begin{eqnarray}\left\{\begin{array}{@{}l@{}}x_{i}^{u}\equiv bn_{i}^{v}~(\text{mod}~q),\,1\leqslant i\leqslant 4,\quad \\ x_{1}+x_{2}\equiv x_{3}+x_{4}~(\text{mod}~p_{0}),\quad \\ \displaystyle \frac{x_{1}}{n_{1}}+\frac{x_{2}}{n_{2}}\equiv \frac{x_{3}}{n_{3}}+\frac{x_{4}}{n_{4}}~(\text{mod}~p_{0}).\quad \\ \quad \end{array}\right.\end{eqnarray}$$
Suppose that we fix
$n_{3},n_{4}$
; then there are at most
$O(1)$
possibilities for
$m_{3}$
and
$m_{4}$
. We let
$m_{3}+m_{4}=\unicode[STIX]{x1D6FC}$
,
$m_{3}/n_{3}+m_{4}/n_{4}=\unicode[STIX]{x1D6FD}$
. If we let, for
$i=1,2$
,
$y_{i}=x_{i}/n_{i}$
, then
$(x_{1},x_{2},y_{1},y_{2})$
is a solution to the system (2.12) with
$k=v-u$
,
$\ell =v$
and
$\unicode[STIX]{x1D6FE}=1/b$
.
It follows from Lemma 2.1 that if
$\unicode[STIX]{x1D6FC}\unicode[STIX]{x1D6FD}\not \equiv 0~(\text{mod}~p_{0})$
, we have at most
$O(1)$
solutions for
$x_{i}$
and
$y_{i}~(\text{mod}~p_{0})$
. This determines
$m_{1}$
,
$m_{2}$
,
$n_{1}$
and
$n_{2}$
. Hensel’s lemma now says that this also determines the
$m_{i}$
completely.
Summarizing, we see that the number of solutions in this case is at most
We shall now estimate the contribution of the terms where
$m_{3}+m_{4}\equiv 0~(\text{mod}~p_{0})$
or
$m_{3}/n_{3}+m_{4}/n_{4}\equiv 0~(\text{mod}~p_{0})$
. We consider only the first case, since the other one is analogous.
Notice that
$m_{3}+m_{4}=0$
implies that
$n_{3}^{v}\equiv \pm n_{4}^{v}~(\text{mod}~p_{0})$
, so that each value of
$n_{3}$
determines at most
$O(1)$
solutions for
$n_{4}~(\text{mod}~p_{0})$
. The same is true for
$n_{1}$
and
$n_{2}$
. And, finally, each of these quadruples determines at most
$O(1)$
solutions for
$\boldsymbol{m}$
. Hence, the total contribution of the terms where
$\unicode[STIX]{x1D6FC}=0$
or
$\unicode[STIX]{x1D6FD}=0$
is at most (2.14) as well. Thus, we have proved that
2.7 End of proof of Lemma 1.4
We now combine our various estimates and give a bound for
${\mathcal{N}}({\mathcal{I}})$
.
Gathering (2.8), (2.11) and (2.15), we prove that
provided that
$N$
and
$Q$
satisfy (2.4) and (2.9). By choosing
$Q={\textstyle \frac{1}{8}}N^{1/3}$
, we see that
provided that
$N\leqslant q^{3/4}$
. Lemma 1.4 now follows from (2.1) and (2.16).
3 Proof of Theorem 1.1
In the present section we give a proof of Theorem 1.1.
3.1 Initial steps
Let
$q$
be a positive integer, let
$a$
be coprime with
$q$
and
$X\geqslant q$
. We consider
$E=E(X,q,a)$
given by
$$\begin{eqnarray}E:=\mathop{\sum }_{\substack{ n\leqslant X \\ n\equiv a~(\text{mod}~q)}}\unicode[STIX]{x1D707}^{2}(n)-\frac{1}{\unicode[STIX]{x1D711}(q)}\mathop{\sum }_{\substack{ n\leqslant X \\ (n,q)=1}}\unicode[STIX]{x1D707}^{2}(n).\end{eqnarray}$$
Our goal is to prove that we have the inequality
$E\ll X^{1-\unicode[STIX]{x1D6FF}}/q$
uniformly for
$q\leqslant X^{25/36-\unicode[STIX]{x1D716}}$
.
If
$q\leqslant X^{1/2}$
, then this already follows from (1.1). Therefore, we may suppose that
We recall the classical identity
This gives
where, for every
$x\geqslant 1$
,
$q$
an integer and
$a\in \mathbb{Z}/q\mathbb{Z}$
,
$$\begin{eqnarray}\unicode[STIX]{x1D6E5}(x,q,a):=\mathop{\sum }_{\substack{ m\leqslant x \\ m\equiv a~(\text{mod}~q)}}1-\frac{1}{\unicode[STIX]{x1D711}(q)}\mathop{\sum }_{\substack{ m\leqslant x \\ (m,q)=1}}1.\end{eqnarray}$$
It is clear that for any
$x,q,a$
, we have
Let
$N_{0}$
be a parameter to be chosen optimally later and such that
$1\leqslant N_{0}\leqslant X^{1/2}$
. The previous inequality shows us that
Notice that
$$\begin{eqnarray}\displaystyle \frac{1}{\unicode[STIX]{x1D711}(q)}\mathop{\sum }_{\substack{ N_{0}<n\leqslant X^{1/2} \\ (n,q)=1}}\unicode[STIX]{x1D707}(n)\mathop{\sum }_{\substack{ m\leqslant X/n^{2} \\ (m,q)=1}}1\ll \frac{X^{1+\unicode[STIX]{x1D716}}}{N_{0}q}. & & \displaystyle \nonumber\end{eqnarray}$$
This and (3.2) combined give
$$\begin{eqnarray}|E|\leqslant \mathop{\sum }_{\substack{ N_{0}<n\leqslant X^{1/2} \\ (n,q)=1}}\mathop{\sum }_{\substack{ m\leqslant X/n^{2} \\ m\equiv a\bar{n}^{2}~(\text{mod}~q)}}1+O\biggl(X^{\unicode[STIX]{x1D716}}\biggl(N_{0}+\frac{X^{1+\unicode[STIX]{x1D716}}}{N_{0}q}\biggr)\biggr).\end{eqnarray}$$
3.2 Division into dyadic boxes
We now proceed by means of a dyadic decomposition. If we put
we deduce from (3.3) the upper bound
where the supremum is taken over all
$M$
and
$N$
such that
Let
$M_{0}\geqslant 1$
be a parameter to be chosen optimally later. Suppose that
$M\leqslant M_{0}$
and that
$M,N$
satisfy the conditions (3.5). Then, by the crude estimate
$$\begin{eqnarray}\mathop{\sum }_{\substack{ n\sim N \\ n\equiv \unicode[STIX]{x1D6FC}~(\text{mod}~q)}}1\ll \frac{N}{q}+1,\end{eqnarray}$$
we see that
$$\begin{eqnarray}\displaystyle S(M,N,q,a) & \ll & \displaystyle Mq^{\unicode[STIX]{x1D716}}\biggl(\frac{N}{q}+1\biggr)\nonumber\\ \displaystyle & \ll & \displaystyle X^{\unicode[STIX]{x1D716}}\biggl(\frac{X}{N_{0}q}+M_{0}\biggr).\nonumber\end{eqnarray}$$
Thus,
where now the supremum is taken over all
$M$
and
$N$
satisfying
3.3 Conclusion
We notice that
Before we continue, we make the trivial remark that if
$q_{0}$
divides
$q$
, then
Our final estimation will in fact depend on the factorization of
$q$
. The next lemma tells us that we can always find a divisor of
$q$
satisfying certain conditions about its size.
Lemma 3.1. Let
$q\geqslant 1$
be an integer. Then at least one of the following holds.
-
(i) There exists
$q_{0}\mid q$
such that
$q^{14/25}\leqslant q_{0}\leqslant q^{22/25}$
. -
(ii) There exists
$q_{0}\mid q$
such that
$q_{0}\geqslant q^{22/25}$
and
$q_{0}$
is either squarefree or the square of a prime number.
Proof. Let
$q=\prod _{p}p^{f}$
denote the prime factorization of
$q$
and let
Suppose that
$q_{1}\geqslant q^{3/25}$
. Then it follows that there exists
$q_{2}\mid q_{1}$
such that
$q^{3/25}<q_{2}<q^{6/25}$
. By taking
$q_{0}=q/q_{2}$
, we see that (i) holds in this case.
Now suppose that
$q_{1}<q^{3/25}$
and let
$q_{3}=q/q_{1}$
. We have
$q_{3}>q^{22/25}$
. If there exists a prime number
$p$
such that
$p\mid q_{3}$
and
$q^{3/25}<p<q^{11/25}$
or
$q^{14/25}<p<q^{22/25}$
, then (i) follows in this case as well.
Finally, we are left with the case where
$q$
has a divisor
$q_{3}$
such that
$q_{3}\geqslant q^{22/25}$
and every divisor of
$q_{3}$
satisfies
$q^{11/25}<p<q^{14/25}$
. We deduce that
$q_{3}$
must be a product of exactly two primes, not necessarily distinct. It readily follows that (ii) holds in this case.◻
We shall now derive upper bounds for
$S(M,N;q,a)$
in both cases described by Lemma 3.1.
First case: suppose that there exists
$q_{0}\mid q$
such that
$q^{14/25}<q_{0}<q^{22/25}$
. We make the following choices:
It then follows that for every
$M,N$
satisfying (3.7), we have
Hence, by (3.9) and Lemma 1.3,
$$\begin{eqnarray}\displaystyle S(M,N;q,a) & \ll & \displaystyle X^{\unicode[STIX]{x1D716}}(MNq_{0}^{-1}+q_{0}^{1/2})\nonumber\\ \displaystyle & \ll & \displaystyle X^{\unicode[STIX]{x1D716}}(X^{1/2}q_{0}^{-1/2}+q_{0}^{1/2})\nonumber\\ \displaystyle & \ll & \displaystyle X^{\unicode[STIX]{x1D716}}(X^{1/2}q^{-7/25}+q^{11/25}).\end{eqnarray}$$
Hence, by (3.6), we have
Second case: suppose that there exists
$q_{0}\mid q$
such that
$q_{0}$
is either squarefree or the square of a prime and
$q_{0}>q^{22/25}$
. We make the choices
It then follows that for every
$M,N$
satisfying (3.7), we have
Lemma 1.4, (3.8) and (1.9) now give the upper bound
for every
$M,N$
satisfying (3.7). It is not hard to see that for every
$0<\unicode[STIX]{x1D6FC}<1$
, (3.13) implies the inequality
Taking
$\unicode[STIX]{x1D6FC}=2/15$
, we get
Now, by (3.6) and (3.12), we see that
Combining (3.11) and (3.15), we obtain the bound
It is now straightforward to verify that for every
$\unicode[STIX]{x1D716}>0$
, there exists
$\unicode[STIX]{x1D6FF}=\unicode[STIX]{x1D6FF}(\unicode[STIX]{x1D716})>0$
such that whenever
$q\leqslant X^{25/36-\unicode[STIX]{x1D716}}$
, we have the inequality
This concludes the proof of Theorem 1.1.
Acknowledgements
I am very thankful to Étienne Fouvry and Philippe Michel for many useful discussions and helpful remarks. I also would like to express my gratitude to the referee for his careful reading of the manuscript.