1 Introduction
1.1 Motivation
For positive integers
$n$
and
$b\geqslant 2$
, let
$s_{b}(n)$
be the sum of the base
$b$
-digits of
$n$
. The product
has been introduced by Kellner and Sondow [Reference Kellner and Sondow13]. Although a priori this could be an infinite product, it is actually a finite product which terminates for
$p>(n+1)/2$
, see [Reference Kellner12, Reference Kellner and Sondow13].
The relevance of this quantity is due to its link with denominators of Bernoulli polynomials
where
$B_{k}$
is the
$k$
th Bernoulli number. We also define the polynomials
which are of interest due to their connection to power sums, namely we have
see [Reference Kellner12–Reference Kellner and Sondow14]. It is shown in [Reference Kellner12, Reference Kellner and Sondow13] that the denominator of the polynomial
$\widetilde{B}_{n}(X)$
is
$\mathfrak{P}_{n}$
, and thus,
The celebrated von Staudt–Clausen theorem, see [Reference Hardy and Wright9, Theorem 118], fully describes the denominator of
$B_{n}$
for an even
$n$
as the product of prime
$p$
with
$p-1$
dividing
$n$
:
(recall that
$B_{1}=-1/2$
and
$B_{n}=0$
, and thus,
$\mathfrak{Q}_{n}=1$
for odd
$n>1$
).
One thus sees that the denominator of
$B_{n}(X)$
is
$\text{lcm}[\mathfrak{P}_{n},\mathfrak{Q}_{n}]$
.
In this paper, we prove some results about small and large prime factors of
$\mathfrak{P}_{n}$
. Kellner [Reference Kellner12] has also introduced and studied the decomposition
where
Note that the definitions of
$\mathfrak{P}_{n}^{\pm }$
, with strict inequalities on
$p$
in both, are correct since
$s_{p}(p^{2})=1$
if
$n=p^{2}$
with
$p$
a prime. Hence,
$p\nmid \mathfrak{P}_{n}$
, even if
$p=\sqrt{n}$
holds for a prime
$p$
. Kellner [Reference Kellner12], motivated by the link with Bernoulli polynomials, has initiated the study of the arithmetic structure of
$\mathfrak{P}_{n}^{-}$
and
$\mathfrak{P}_{n}^{+}$
.
Let, as usual,
$\unicode[STIX]{x1D714}(m)$
and
$P(m)$
be the number of distinct prime factors of
$m$
and the largest prime factor of
$m$
, respectively.
In particular, Kellner [Reference Kellner12, Conjecture 1], makes the following conjecture.
Conjecture 1.1. For
$n>192$
we have
$P(\mathfrak{P}_{n})>\sqrt{n}$
.
Conjecture 1.1 is equivalent with the conjecture that for
$n>192$
we have
$\mathfrak{P}_{n}^{+}>1$
and is established, up to the numerical value of the threshold
$192$
, in a much stronger form in Theorem 1.4.
Kellner [Reference Kellner12, Conjecture 2] also makes the following conjecture.
Conjecture 1.2. There is some absolute constant
$\unicode[STIX]{x1D705}>0$
such that
as
$n\rightarrow \infty$
.
In this paper we show that this conjecture is true with
$\unicode[STIX]{x1D705}=2$
. Moreover, we provide a much sharper asymptotic estimate (Theorem 1.5) for
$\unicode[STIX]{x1D714}(\mathfrak{P}_{n}^{+})$
than conjectured by Kellner.
Aside from our results on these two conjectures, we improve some of the results on
$\mathfrak{P}_{n}$
and
$\mathfrak{P}_{n}^{\pm }$
that have been given by Kellner [Reference Kellner12] and also obtain several new results.
After introducing some required notation in §1.2, we state our results in §1.3.
1.2 Notation
Throughout the paper, the letters
$p$
and
$q$
always denote a prime number.
For a positive integer
$k$
and a positive real number
$x$
we write
$\log _{k}x$
for the iteratively defined function given by
$\log _{1}x=\max \{1,\ln x\}$
, where
$\ln x$
is a natural logarithm of
$x$
and for
$k\geqslant 2$
we put
$\log _{k}x=\max \{1,\log _{k-1}x\}$
.
The exponential integral is given by
see [Reference Abramowitz and Stegun1, equation (5.1.1)].
We write
$\unicode[STIX]{x1D70B}(x)$
for the counting function of primes
$p\leqslant x$
. Define
Note that
$\unicode[STIX]{x1D6FF}_{c}(x)\log x\ll \unicode[STIX]{x1D6FF}_{c_{0}}(x)$
for any
$0<c_{0}<c$
.
We define
$\unicode[STIX]{x1D6FF}$
to be the Erdős–Ford–Tenenbaum constant
As usual
$A=O(B)$
,
$A\ll B$
,
$B\gg A$
are equivalent to
$|A|\leqslant c|B|$
for some absolute constant
$c>0$
, whereas
$A=o(B)$
means that
$A/B\rightarrow 0$
.
1.3 Results
First we show that all “small” primes
$p$
, with at most one exception, divide
$\mathfrak{P}_{n}$
, where “small” depends on
$n$
in a way which is made precise in the following statement.
Theorem 1.3. For any fixed
$\unicode[STIX]{x1D700}>0$
there exists
$n_{\unicode[STIX]{x1D700}}$
such that for all
$n\geqslant n_{\unicode[STIX]{x1D700}}$
, all primes
$p\leqslant (1/2-\unicode[STIX]{x1D700})\log _{2}n/\text{log}_{3}n$
, with at most one exception, divide
$\mathfrak{P}_{n}$
.
Remark 1. As
$2\nmid \mathfrak{P}_{2^{n}}$
, we see that the exceptional prime sometimes exists.
We now obtain reasonably tight upper and lower bounds on the number of prime divisors and the largest prime divisor of
$\mathfrak{P}_{n}$
.
Theorem 1.4. We have,
This result implies that there exists
$n_{0}$
such that Conjecture 1.1 is true with
$192$
replaced by
$n_{0}$
.
It is useful to recall that we always have
$P(\mathfrak{P}_{n})<n/2+1$
(see [Reference Kellner12, Reference Kellner and Sondow13]), and it is easy to see that for any prime
$p$
we have
$P(\mathfrak{P}_{2p-1})=p$
.
We now establish Conjecture 1.2.
Theorem 1.5. There exists
$c>0$
such that, for any positive integer
$n$
sufficiently large
where the exponential integral is defined in (1.1) and the function
$\unicode[STIX]{x1D6FF}_{c}$
is given in (1.2).
Note that since
$P(\mathfrak{P}_{n}^{-})<\sqrt{n}$
, it follows that
$\unicode[STIX]{x1D714}(\mathfrak{P}_{n}^{-})\leqslant \unicode[STIX]{x1D70B}(\sqrt{n})\ll \sqrt{n}/\text{log}\,n$
. Hence, Theorem 1.5 implies the bounds
$$\begin{eqnarray}\displaystyle \frac{\sqrt{n}}{\log n}\ll \unicode[STIX]{x1D714}(\mathfrak{P}_{n}^{+})\leqslant \unicode[STIX]{x1D714}(\mathfrak{P}_{n}) & {\leqslant} & \displaystyle \unicode[STIX]{x1D714}(\mathfrak{P}_{n}^{+})+O\bigg(\frac{\sqrt{n}}{\log n}\bigg)\nonumber\\ \displaystyle & = & \displaystyle n\text{E}_{1}(\log \sqrt{n})+O\bigg(\frac{\sqrt{n}}{\log n}\bigg)\ll \frac{\sqrt{n}}{\log n}.\nonumber\end{eqnarray}$$
Successive integrations by parts yield that for any positive integer
$N\geqslant 1$
from which we immediately deduce the following estimate.
Corollary 1.6. For all positive integers
$n,N$
, with
$n$
sufficiently large
The following asymptotic formula is derived in a similar way.
Theorem 1.7. There exists a constant
$c>0$
such that asymptotically
where the function
$\unicode[STIX]{x1D6FF}_{c}$
is defined in (1.2).
Finally, we study how
$\mathfrak{P}_{n}$
changes as we go from
$n$
to
$n+1$
. Since
$\mathfrak{P}_{n}$
tends to infinity with
$n$
by Theorems 1.3 and 1.4, it follows that the inequality
$\mathfrak{P}_{n+1}>\mathfrak{P}_{n}$
holds infinitely often. Surprisingly though, the reverse inequality holds with frequency about
$\ln 2=0.6931\ldots ,$
and is thus much more frequent. However, we show that also the equality
$\mathfrak{P}_{n}=\mathfrak{P}_{n+1}$
holds for infinitely many
$n$
.
Theorem 1.8. For any
$x\geqslant 3$
we have the following.
(i) The divisibility
$\mathfrak{P}_{n+1}\,\mid \,\mathfrak{P}_{n}$
holds for all except maybe at most
$O(x(\log _{2}x)^{-\unicode[STIX]{x1D6FF}}(\log _{3}x)^{-1/2})$
positive integers
$n\leqslant x$
.(ii) The divisibility
$\mathfrak{P}_{n+1}\,\mid \,\mathfrak{P}_{n}$
and the inequality
$\mathfrak{P}_{n}\,>\,\mathfrak{P}_{n+1}$
hold simultaneously for at least
$(\ln 2+o(1))x$
positive integers
$n\leqslant x$
as
$x\rightarrow \infty$
.(iii) The equality
$\mathfrak{P}_{q}\,=\,\mathfrak{P}_{q+1}$
holds for all except maybe at most
$O(\unicode[STIX]{x1D70B}(x)(\log _{2}x)^{-c})$
primes
$q\leqslant x$
, where
$c>0$
is an absolute constant.
We remark that Kellner and Sondow [Reference Kellner and Sondow14, Theorem 4] have shown that for odd
$n\geqslant 1$
the quotient
$\mathfrak{P}_{n}/\mathfrak{P}_{n+1}$
is an odd integer, except that
$\mathfrak{P}_{n}/\mathfrak{P}_{n+1}=2$
if
$n=2^{k}-1$
for some
$k\geqslant 2$
. One can also find in [Reference Kellner and Sondow14] several more results about the possible values of the ratios
$\mathfrak{P}_{n}/\mathfrak{P}_{n+1}$
for values of
$n$
which have a special structure.
1.4 Underlying techniques
It is probably interesting to note that in our approach we use a combination of various elementary, Diophantine and analytic techniques. Furthermore, the equivalence
given by Kellner [Reference Kellner12, equation (11)], allows us to use powerful analytic tools.
In particular, for the proof of Theorem 1.3 we employ lower bounds of linear forms in logarithms due to Matveev [Reference Matveev16].
For the proof of Theorem 1.4 we use a result about the distribution of fractional parts of reciprocals of primes as well as bounds of exponential sums with reciprocals due to Baker and Harman [Reference Baker and Harman2, Reference Baker and Harman3].
Finally, we use a recent improvement due to McNew et al [Reference McNew, Pollack and Pomerance17] of a result of Erdős and Wagstaff [Reference Erdős and Wagstaff6] on the count of positive integers
$n$
divisible by shifted primes (see also [Reference Ford7]), as well as a result of Luca et al [Reference Luca, Pizarro-Madariaga and Pomerance15] about shifted primes divisible by another shifted prime.
2 Proof of Theorem 1.3
2.1 Sums of digits of integers in different bases
Let
$a,b\geqslant 2$
be fixed multiplicatively independent integers. Senge and Straus [Reference Senge and Straus18] have shown that there are only finitely many positive integers
$n$
such that the sum of digits of
$n$
in both bases
$a$
and
$b$
is at most
$K$
, with
$K$
any fixed number. Stewart [Reference Stewart19] makes this effective and for all
$n>25$
gives a lower bound
where
$C(a,b)$
is some constant depending on
$a$
and
$b$
.
The constant
$C(a,b)$
is not made explicit in [Reference Stewart19]. Here we do so, as this is important for our purposes, and may also be of independent interest. As in [Reference Stewart19], our approach is based on lower bounds for linear forms in logarithms, where we use the bound of Matveev [Reference Matveev16]. We only need it for logarithms of rational numbers rather than in its full generality for logarithms of algebraic numbers. We note that for us only the asymptotic dependence of
$C(a,b)$
on
$a$
and
$b$
is important, but we also use this as an opportunity to derive a completely explicit expression for
$C(a,b)$
.
Let
$\unicode[STIX]{x1D70C}=r/s$
be a rational number in a reduced form, that is, with
$\gcd (r,s)=1$
and
$s\geqslant 1$
. Then its height is defined as
Let
$\unicode[STIX]{x1D6FC}_{1},\ldots ,\unicode[STIX]{x1D6FC}_{l}$
be rational numbers not zero or
$\pm 1$
. We put
$A_{i}=h(\unicode[STIX]{x1D6FC}_{i})$
for
$i=1,\ldots ,l$
. We let
$d_{1},\ldots ,d_{l}$
be non-zero integers and denote
$\max \{|d_{1}|,\ldots ,|d_{l}|\}$
by
$D$
. Let
The result below follows from [Reference Matveev16, Corollary 2.3], and the details have been worked out as [Reference Bugeaud, Mignotte and Siksek5, Theorem 9.4].
Lemma 2.1. If
$\unicode[STIX]{x1D6EC}\neq 0$
, then
We are now ready to present a more explicit version of inequality (2.1).
Lemma 2.2. Assume that
$a$
and
$b$
are coprime integers
${\geqslant}2$
. Let
$B\geqslant \max \{a,b\}$
. Then for all
$n>\exp (10^{15}(\log B)^{4})$
the inequality
holds with
$C(a,b)=\log (2\cdot 10^{12}(\log B)^{2})$
.
Proof. We follow [Reference Stewart19, pp. 66–69] with the appropriate modifications. Consider the following
$a$
-ary and
$b$
-ary expansions of
$n>B^{4}$
:
where
We put
where
$c_{0}$
is an explicit constant depending on
$B$
that is to be chosen later. We now consider the intervals
where
$k$
satisfies the inequalities
Since
$n\geqslant B^{4}$
, we have that
$k\geqslant 1$
in (2.3). We now show that for an appropriate
$c_{0}$
and sufficiently large
$n$
each interval
$\unicode[STIX]{x1D6E9}_{s}$
contains either a term of the form
$m_{1}-m_{i}$
for
$i=2,\ldots ,r$
or a term of the form
$\ell _{1}-\ell _{j}$
for
$j=2,\ldots ,t$
. Let us suppose that it is not so. Then for some
$1\leqslant s\leqslant k$
, the interval
$\unicode[STIX]{x1D6E9}_{s}$
does not contain any
$m_{1}-m_{i}$
and any
$\ell _{1}-\ell _{j}$
. So, let
$u,v$
be given by
In the case
$m_{1}-m_{r}<\unicode[STIX]{x1D717}^{s-1}$
, we choose
$u=r$
. Similarly, we choose
$v=t$
in the case
$\ell _{1}-\ell _{t}<\unicode[STIX]{x1D717}^{s-1}$
. Note that
(because
$n>B^{4}$
) and a similar inequality holds for
$\ell _{1}$
. Write
with
Clearly,
$\unicode[STIX]{x1D701}_{a}\in [0,a^{m_{u+1}+1})$
and
$\unicode[STIX]{x1D701}_{b}\in [0,b^{\ell _{v+1}+1})$
. If
$u=r$
, then
$\unicode[STIX]{x1D701}_{a}=0$
. Similarly, if
$v=t$
, then
$\unicode[STIX]{x1D701}_{b}=0$
. We then have
We show that the left-hand side of (2.5) is non-zero. In order to do so, recall that
so
$$\begin{eqnarray}\displaystyle m_{u} & = & \displaystyle m_{1}-(m_{1}-m_{u})>\biggl\lfloor\frac{\log n}{\log a}\biggr\rfloor-\frac{\log n}{4\log B}\nonumber\\ \displaystyle & {\geqslant} & \displaystyle \frac{\log n}{\log a}-1-\frac{\log n}{4\log B}\geqslant \frac{3\log n}{4\log a}-1>\frac{\log n}{2\log a},\nonumber\end{eqnarray}$$
provided
$n>B^{4}$
. In particular,
$a^{m_{u}}>\sqrt{n}$
. A similar argument shows that
$b^{\ell _{v}}>\sqrt{n}$
. Since
$a$
and
$b$
are coprime, it follows that if the left-hand side of (2.5) is zero, then
$a^{m_{u}}\unicode[STIX]{x1D6FC}_{a}=b^{\ell _{v}}\unicode[STIX]{x1D6FD}_{b}$
, so
$a^{m_{u}}\mid \unicode[STIX]{x1D6FD}_{b}$
and
$b^{\ell _{v}}\mid \unicode[STIX]{x1D6FC}_{a}$
. In particular, both
$\unicode[STIX]{x1D6FC}_{a}$
and
$a^{m_{u}}$
exceed
$\sqrt{n}$
, so
a contradiction. Since the left-hand side of (2.5) is non-zero, the right-hand side of it is non-zero also. In particular, at least one of the inequalities
$u<r$
or
$v<t$
holds and
(with the convention that in the maximum the term which is not defined is simply omitted). Assuming that the maximum on the right-hand side of (2.6) is
$b^{\ell _{v+1}+1}$
, and putting
$(U,V)=(\unicode[STIX]{x1D6FC}_{a},\unicode[STIX]{x1D6FD}_{b})$
, we divide both sides of (2.6) by
$Vb^{\ell _{v}}$
, getting
A similar inequality holds when the maximum on the right-hand side of (2.6) is
$a^{m_{u+1}+1}$
, namely
So, we are all set to apply Lemma 2.1 to find a lower bound on the left-hand side of (2.7) or (2.8).
We take
and
where
$\unicode[STIX]{x1D700}\in \{\pm 1\}$
. More precisely, we set:
∙
$\unicode[STIX]{x1D700}=1$
if in (2.6) we have
$\max \{a^{m_{u+1}+1},b^{\ell _{v+1}+1}\}=b^{\ell _{v+1}+1}$
, and thus (2.7) holds;∙
$\unicode[STIX]{x1D700}=-1$
if in (2.6) we have
$\max \{a^{m_{u+1}+1},b^{\ell _{v+1}+1}\}=a^{m_{u+1}+1}$
, and thus (2.8) holds.
As
$a$
and
$b$
are multiplicatively independent, these events are clearly mutually exclusive.
Obviously, we have
so we can take
$D=2\log n$
. Furthermore,
$A_{2}=\log a$
and
$A_{3}=\log b$
. As for
$A_{1}$
, we have
$$\begin{eqnarray}\displaystyle h(\unicode[STIX]{x1D6FC}_{1}) & {\leqslant} & \displaystyle \max \{\log \unicode[STIX]{x1D6FC}_{a},\log \unicode[STIX]{x1D6FD}_{b}\}\leqslant \max \{\log (a^{m_{1}-m_{u}+1}),\log (b^{\ell _{1}-\ell _{v}+1})\}\nonumber\\ \displaystyle & {\leqslant} & \displaystyle \max \{m_{1}-m_{u}+1,\ell _{1}-\ell _{v}+1\}\log B\leqslant (\unicode[STIX]{x1D717}^{s-1}+1)\log B\nonumber\\ \displaystyle & {\leqslant} & \displaystyle 2\unicode[STIX]{x1D717}^{s-1}\log B,\nonumber\end{eqnarray}$$
so we take
$A_{1}=2\unicode[STIX]{x1D717}^{s-1}\log B$
. Now Lemma 2.1 combined with inequalities (2.7) or (2.8) tells us that
Assuming that
$n>230$
(so that
$2\log _{2}n>1+\log (2\log n)$
), we derive
Since
for
$s\geqslant 1$
(by inequality (2.4)), we see that
giving
which is false if we choose
$c_{0}=2\cdot 10^{12}(\log B)^{2}$
. The starting value for
$n$
, such that
$k\geqslant 1$
, remains to be proved. That is,
This is equivalent to
Note that
$4c_{0}\log B=8\cdot 10^{12}(\log B)^{3}$
. The inequality
is fulfilled when
$x>2A\log A$
provided
$A>e$
. We now take
$A=10^{13}(\log B)^{3}$
and we see that (2.9) holds, provided that
Since
$\log _{2}B<\log B$
,
$B\geqslant 3$
and
$13\log 10+3<33$
, it follows that the desired inequality holds for
$\log n>10^{15}(\log B)^{4}$
. Thus, indeed each interval
$\unicode[STIX]{x1D6E9}_{s}$
for
$s=1,\ldots ,k$
contains one of
$m_{1}-m_{i}$
, or
$\ell _{1}-\ell _{j}$
for
$i=1,\ldots ,r$
, or
$j=1,\ldots ,t$
. Hence,
$r-1+s-1\geqslant k$
. Therefore,
$$\begin{eqnarray}\displaystyle s_{a}(n)+s_{b}(n) & {\geqslant} & \displaystyle r+s\geqslant k+2=(k+1)+1\nonumber\\ \displaystyle & {>} & \displaystyle \frac{\log ((\log n)/(4\log B))}{\log \unicode[STIX]{x1D717}}+1\nonumber\\ \displaystyle & = & \displaystyle \frac{\log _{2}n+(\log \unicode[STIX]{x1D717}-\log (4\log B))}{\log _{3}n+\log c_{0}}.\nonumber\end{eqnarray}$$
Clearly,
$\unicode[STIX]{x1D717}>4\log B$
. Thus, the inequality
holds with
$C=\log (2\cdot 10^{12}(\log B)^{2})$
, which concludes the proof.◻
2.2 The proof of Theorem 1.3
Let
$\unicode[STIX]{x1D700}>0$
be arbitrary. We consider the primes
$p\leqslant B$
with
$B=\log _{2}n$
. Then, as
$n\rightarrow \infty$
, we have
Further, we need to check that
$n>\exp (10^{15}(\log B)^{4})$
. This is equivalent to
$\log n>10^{15}(\log _{3}n)^{4}$
, which holds for all
$n>\exp (10^{18})$
. Thus, assuming
$n$
is this large, for any two distinct primes
$p,q\leqslant B$
, it follows by inequality (2.1) that, as
$n\rightarrow \infty$
,
holds uniformly for primes
$p,q$
in the interval
$[2,B]$
. If, in particular, we take
$P=(1/2-\unicode[STIX]{x1D700})\log _{2}n/\text{log}_{3}\,n$
, then it follows that for every
$n>n_{\unicode[STIX]{x1D700}}$
, there is at most one prime
$q\leqslant \log _{2}n$
such that
For all other primes
$p\leqslant \log _{2}n$
, we then have
$s_{p}(n)\geqslant P$
. So, if, in addition, we also have
$p<P$
, then
$s_{p}(n)\geqslant P>p$
, so
$p\mid \mathfrak{P}_{n}$
. Thus, indeed, for all
$\unicode[STIX]{x1D700}>0$
, there exists
$n_{\unicode[STIX]{x1D700}}$
such that if
$n>n_{\unicode[STIX]{x1D700}}$
, then all primes
$p<(1/2-\unicode[STIX]{x1D700})\log _{2}n/\text{log}_{3}\,n$
divide
$\mathfrak{P}_{n}$
with at most one exception.
3 The proof of Theorem 1.4
3.1 Fractional parts of reciprocals of primes
In what follows, for a real number
$x$
we write
$\lfloor x\rfloor$
and
$\{x\}$
for its integer and fractional parts, respectively. We now use the following result from [Reference Baker and Harman2, Proposition 2].
Lemma 3.1. For all
$v$
and
$w$
that satisfy
and are sufficiently large, we have
3.2 Concluding the proof
We now derive one of our main technical results.
Lemma 3.2. For all
$n$
and
$v$
that satisfy
and are sufficiently large, we have
Proof. Let
$p$
be a prime counted in Lemma 3.1 taken with
$w=n$
, that is,
Clearly,
$p^{2}>4v^{2}>n$
. Thus, writing
$n$
in base
$p$
, we have
$n=ap+b$
, where
and
Thus,
$$\begin{eqnarray}\displaystyle s_{p}(n) & = & \displaystyle a+b\geqslant p+\frac{n}{p}-\frac{np}{16v^{2}}-1\nonumber\\ \displaystyle & = & \displaystyle p+\frac{n}{p}\bigg(1-\frac{p^{2}}{16v^{2}}\bigg)-1>p+\frac{n}{p}\bigg(1-\frac{9}{16}\bigg)-1\nonumber\\ \displaystyle & = & \displaystyle p+\frac{7n}{16p}-1>p,\nonumber\end{eqnarray}$$
assuming
$p$
(and hence,
$n$
) is sufficiently large.◻
We now use Lemma 3.2 with
$v=n^{20/37}$
and obtain the lower bound claimed for
$P(\mathfrak{P}_{n}^{+})$
.
4 Proof of Theorems 1.5 and 1.7
4.1 Preliminary comments
The proofs of both Theorems 1.5 and 1.7 may be unified in only one proof by making use of the number
$\unicode[STIX]{x1D705}\in \{0,1\}$
. We also use the functions
$\mathbf{e}(x)=\exp (2\unicode[STIX]{x1D70B}ix)$
and
$\unicode[STIX]{x1D713}(x)=x-\lfloor x\rfloor -\frac{1}{2}$
.
4.2 Tools
We start with the following simple result.
Lemma 4.1. Let
$\unicode[STIX]{x1D705}\in \{0,1\}$
. For any real numbers
$\unicode[STIX]{x1D700}>0$
,
$x\geqslant 2$
and
$1\leqslant x^{\unicode[STIX]{x1D700}}\leqslant y\leqslant z<x$
Proof. As
$\log p\leqslant \log x$
for
$p\leqslant x$
it suffices to show that the inequality holds if
$\unicode[STIX]{x1D705}=0$
. We write
Collecting together products
$k=mp\in (x,x+y]$
and changing the order of summation we obtain
$$\begin{eqnarray}\mathop{\sum }_{z<p\leqslant x}\bigg(\biggl\lfloor\frac{x+y}{p}\biggr\rfloor-\biggl\lfloor\frac{x}{p}\biggr\rfloor\bigg)=\mathop{\sum }_{x<k\leqslant x+y}\mathop{\sum }_{\substack{ p\mid k \\ z<p\leqslant x}}1\leqslant \mathop{\sum }_{x<k\leqslant x+y}\frac{\log k}{\log z}.\end{eqnarray}$$
Since for
$k\in (x,x+y]$
we have
the result now follows. ◻
Corollary 4.2. Let
$\unicode[STIX]{x1D705}\in \{0,1\}$
and
$\unicode[STIX]{x1D6FC}\in (n^{-7/16},1)$
. Then
Proof. Since
$(n-p)/(p-1)=(n-1)/(p-1)-1$
is a decreasing function of
$p\geqslant 2$
, if
$p>\unicode[STIX]{x1D6FC}^{-1}\sqrt{n}$
, then
Consequently,
$$\begin{eqnarray}\displaystyle & & \displaystyle \mathop{\sum }_{\unicode[STIX]{x1D6FC}^{-1}\sqrt{n}<p\leqslant n}\bigg(\biggl\lfloor\frac{n}{p}+\frac{n-p}{p(p-1)}\biggr\rfloor-\biggl\lfloor\frac{n}{p}\biggr\rfloor\bigg)(\log p)^{\unicode[STIX]{x1D705}}\nonumber\\ \displaystyle & & \displaystyle \quad \leqslant \mathop{\sum }_{\unicode[STIX]{x1D6FC}^{-1}\sqrt{n}<p\leqslant n}\bigg(\biggl\lfloor\frac{n+\unicode[STIX]{x1D6FC}\sqrt{n}}{p}\biggr\rfloor-\biggl\lfloor\frac{n}{p}\biggr\rfloor\bigg)(\log p)^{\unicode[STIX]{x1D705}},\nonumber\end{eqnarray}$$
and the proof is achieved on invoking Lemma 4.1 with
$x=n$
,
$y=\unicode[STIX]{x1D6FC}\sqrt{n}$
,
$z=\unicode[STIX]{x1D6FC}^{-1}\sqrt{n}$
and
$\unicode[STIX]{x1D700}=1/16$
.◻
Lemma 4.3. Let
$\unicode[STIX]{x1D705}\in \{0,1\}$
and let
$M$
be a positive integer. For any real valued function
$g:\mathbb{Z}\rightarrow \mathbb{R}$
and any positive integer
$H$
we have
$$\begin{eqnarray}\displaystyle & & \displaystyle \biggl|\mathop{\sum }_{M<p\leqslant 2M}(\log p)^{\unicode[STIX]{x1D705}}\unicode[STIX]{x1D713}\bigg(\frac{n}{p}+g(p)\bigg)\biggr|\nonumber\\ \displaystyle & & \displaystyle \quad \ll \frac{M}{H(\log M)^{1-\unicode[STIX]{x1D705}}}+\mathop{\sum }_{h\leqslant H}\frac{1}{h}\biggl|\mathop{\sum }_{M<p\leqslant 2M}(\log p)^{\unicode[STIX]{x1D705}}\mathbf{e}\bigg(\frac{nh}{p}\bigg)\mathbf{e}(hg(p))\biggr|.\nonumber\end{eqnarray}$$
Proof. For any
$0<|t|<1$
we put
$\unicode[STIX]{x1D6F7}(t)=\unicode[STIX]{x1D70B}t(1-|t|)\cot (\unicode[STIX]{x1D70B}t)+|t|$
. Note that
$0<\unicode[STIX]{x1D6F7}(t)<1$
for
$0<|t|<1$
.
We follow the proof of [Reference Bordellès4, Corollary 6.2]. It follows from the result of Vaaler [Reference Vaaler20], which we use in the form given by [Reference Bordellès4, Theorem 6.1], that for any real number
$x\geqslant 1$
and any positive integer
$H$
,
where the error term
${\mathcal{R}}_{H}(x)$
satisfies
The right-hand side of (4.2) does not appear to be, but is in fact a non-zero real number since it can be shown, cf. [Reference Bordellès4, Exercise 3, p. 350], that
Using (4.1) with
$x=n/p+g(p)$
, multiplying by
$(\log p)^{\unicode[STIX]{x1D705}}$
and summing over all the primes
$p$
in
$(M,2M]$
yields the estimate
where
$$\begin{eqnarray}\displaystyle \unicode[STIX]{x1D6F4}_{1} & = & \displaystyle -\mathop{\sum }_{0<|h|\leqslant H}\unicode[STIX]{x1D6F7}\biggl(\frac{h}{H+1}\biggr)\frac{1}{2\unicode[STIX]{x1D70B}ih}\mathop{\sum }_{M<p\leqslant 2M}(\log p)^{\unicode[STIX]{x1D705}}\mathbf{e}\bigg(\frac{nh}{p}+hg(p)\bigg),\nonumber\\ \displaystyle \unicode[STIX]{x1D6F4}_{2} & = & \displaystyle \mathop{\sum }_{M<p\leqslant 2M}(\log p)^{\unicode[STIX]{x1D705}}{\mathcal{R}}_{H}\bigg(\frac{n}{p}+g(p)\bigg).\nonumber\end{eqnarray}$$
Now
$$\begin{eqnarray}\displaystyle |\unicode[STIX]{x1D6F4}_{1}| & {\leqslant} & \displaystyle \mathop{\sum }_{0<|h|\leqslant H}\frac{1}{2\unicode[STIX]{x1D70B}|h|}\biggl|\mathop{\sum }_{M<p\leqslant 2M}(\log p)^{\unicode[STIX]{x1D705}}e\biggl(\frac{nh}{p}+hg(p)\biggr)\biggr|\nonumber\\ \displaystyle & = & \displaystyle \frac{1}{\unicode[STIX]{x1D70B}}\mathop{\sum }_{h\leqslant H}\frac{1}{h}\biggl|\mathop{\sum }_{M<p\leqslant 2M}(\log p)^{\unicode[STIX]{x1D705}}\mathbf{e}\bigg(\frac{nh}{p}\bigg)e(hg(p))\biggr|,\nonumber\end{eqnarray}$$
and by (4.2) we have
$$\begin{eqnarray}\displaystyle |\unicode[STIX]{x1D6F4}_{2}| & {\leqslant} & \displaystyle \mathop{\sum }_{M<p\leqslant 2M}(\log p)^{\unicode[STIX]{x1D705}}\biggl|{\mathcal{R}}_{H}\biggl(\frac{n}{p}+g(p)\biggr)\biggr|\nonumber\\ \displaystyle & {\leqslant} & \displaystyle \frac{1}{2H+2}\mathop{\sum }_{|h|\leqslant H}\biggl(1-\frac{|h|}{H+1}\biggr)\mathop{\sum }_{M<p\leqslant 2M}(\log p)^{\unicode[STIX]{x1D705}}e\biggl(\frac{nh}{p}+hg(p)\biggr)\nonumber\\ \displaystyle & = & \displaystyle \frac{1}{2H+2}\mathop{\sum }_{M<p\leqslant 2M}(\log p)^{\unicode[STIX]{x1D705}}+\frac{1}{H+1}\mathop{\sum }_{h\leqslant H}\biggl(1-\frac{h}{H+1}\biggr)\nonumber\\ \displaystyle & & \displaystyle \times \,\operatorname{Re}\biggl(\mathop{\sum }_{M<p\leqslant 2M}(\log p)^{\unicode[STIX]{x1D705}}\mathbf{e}\bigg(\frac{nh}{p}+hg(p)\bigg)\biggr)\nonumber\\ \displaystyle & {\leqslant} & \displaystyle \frac{1}{2H+2}\mathop{\sum }_{M<p\leqslant 2M}(\log p)^{\unicode[STIX]{x1D705}}\nonumber\\ \displaystyle & & \displaystyle +\,\mathop{\sum }_{h\leqslant H}\frac{1}{h}\biggl|\mathop{\sum }_{M<p\leqslant 2M}(\log p)^{\unicode[STIX]{x1D705}}\mathbf{e}\bigg(\frac{nh}{p}\bigg)\mathbf{e}(hg(p))\biggr|,\nonumber\end{eqnarray}$$
where in the third line the cases
$h=0$
and
$|h|>0$
are separated, concluding the proof.◻
Recall that the von Mangoldt function is defined by
Lemma 4.4. Let
$\unicode[STIX]{x1D705}\in \{0,1\}$
and let
$n\geqslant 5$
and
$2\leqslant M<n/2$
be positive integers. Let
$g:\mathbb{Z}\rightarrow \mathbb{R}$
be a real valued function such that either
for all primes
$p$
or
for all primes
$p$
. Then for any positive integer
$H$
we have
$$\begin{eqnarray}\displaystyle & & \displaystyle \biggl|\mathop{\sum }_{M<p\leqslant 2M}(\log p)^{\unicode[STIX]{x1D705}}\unicode[STIX]{x1D713}\bigg(\frac{n}{p}+g(p)\bigg)\biggr|\nonumber\\ \displaystyle & & \displaystyle \quad \ll \frac{1}{(\log M)^{1-\unicode[STIX]{x1D705}}}\mathop{\sum }_{h\leqslant H}\frac{1}{h}\bigg(1+\frac{nh}{M^{2}}\bigg)\max _{M<N\leqslant 2M}\biggl|\mathop{\sum }_{M<m\leqslant N}\unicode[STIX]{x1D6EC}(m)\mathbf{e}\bigg(\frac{hn}{m}\bigg)\biggr|\nonumber\\ \displaystyle & & \displaystyle \qquad +\,\frac{M}{H(\log M)^{1-\unicode[STIX]{x1D705}}}+\frac{nH}{M^{3/2}(\log M)^{1-\unicode[STIX]{x1D705}}}+\frac{M^{1/2}\log H}{(\log M)^{1-\unicode[STIX]{x1D705}}}.\nonumber\end{eqnarray}$$
Proof. From Lemma 4.3,
$$\begin{eqnarray}\displaystyle & & \displaystyle \biggl|\mathop{\sum }_{M<p\leqslant 2M}(\log p)^{\unicode[STIX]{x1D705}}\unicode[STIX]{x1D713}\bigg(\frac{n}{p}+g(p)\bigg)\biggr|\nonumber\\ \displaystyle & & \displaystyle \quad \ll \frac{M}{H(\log M)^{1-\unicode[STIX]{x1D705}}}+\mathop{\sum }_{h\leqslant H}\frac{1}{h}\biggl|\mathop{\sum }_{M<p\leqslant 2M}(\log p)^{\unicode[STIX]{x1D705}}\mathbf{e}\bigg(\frac{nh}{p}\bigg)\mathbf{e}(hg(p))\biggr|.\nonumber\end{eqnarray}$$
The total variation of the sequence
$(hg(k))_{k}$
in
$(M,2M]$
is
$$\begin{eqnarray}\displaystyle \mathop{\sum }_{M<k\leqslant 2M}|hg(k+1)-hg(k)| & = & \displaystyle h\mathop{\sum }_{M<k\leqslant 2M}\frac{2n-(k+1)}{k(k^{2}-1)}\nonumber\\ \displaystyle & {\leqslant} & \displaystyle 2nh\mathop{\sum }_{M<k\leqslant 2M}\frac{1}{k(k^{2}-1)}\ll \frac{nh}{M^{2}},\nonumber\end{eqnarray}$$
so that by Abel summation and the inequality
$|\mathbf{e}(u)-\mathbf{e}(v)|\ll |u-v|$
for any
$u,v\in \mathbb{R}$
, we obtain
$$\begin{eqnarray}\displaystyle & & \displaystyle \biggl|\mathop{\sum }_{M<p\leqslant 2M}(\log p)^{\unicode[STIX]{x1D705}}\mathbf{e}\bigg(\frac{nh}{p}\bigg)\mathbf{e}(hg(p))\biggr|\nonumber\\ \displaystyle & & \displaystyle \quad \ll \bigg(1+\frac{nh}{M^{2}}\bigg)\max _{M<N\leqslant 2M}\biggl|\mathop{\sum }_{M<p\leqslant N}(\log p)^{\unicode[STIX]{x1D705}}\mathbf{e}\bigg(\frac{nh}{p}\bigg)\biggr|,\nonumber\end{eqnarray}$$
and by Abel summation again
$$\begin{eqnarray}\displaystyle & & \displaystyle \biggl|\mathop{\sum }_{M<p\leqslant N}(\log p)^{\unicode[STIX]{x1D705}}\mathbf{e}\bigg(\frac{nh}{p}\bigg)\biggr|\nonumber\\ \displaystyle & & \displaystyle \quad \leqslant \frac{2}{(\log M)^{1-\unicode[STIX]{x1D705}}}\underset{M<L\leqslant N}{\max }\biggl|\mathop{\sum }_{M\leqslant p\leqslant L}(\log p)\mathbf{e}\bigg(\frac{nh}{p}\bigg)\biggr|\nonumber\\ \displaystyle & & \displaystyle \quad \ll \frac{1}{(\log M)^{1-\unicode[STIX]{x1D705}}}\bigg(\underset{M<L\leqslant N}{\max }\biggl|\mathop{\sum }_{M\leqslant m\leqslant L}\unicode[STIX]{x1D6EC}(m)\mathbf{e}\bigg(\frac{nh}{m}\bigg)\biggr|+N^{1/2}\bigg).\nonumber\end{eqnarray}$$
Putting everything together gives the asserted estimate. ◻
We also recall that using [Reference Granville and Ramaré8, Theorem 9] with
$k=2$
we obtain the following.
Lemma 4.5. If
$M\leqslant \frac{1}{5}\,x^{3/5}$
, then, for any
$N\in (M,2M]$
Lemma 4.6. Let
$\unicode[STIX]{x1D705}\in \{0,1\}$
. There exists some absolute constant
$c>0$
such that, for any large real number
$t>1$
, we have
where
$F_{0}(t)=\text{E}_{1}(\log t)$
and
$F_{1}(t)=t^{-1}$
.
Proof. The Prime Number Theorem in the version of Korobov and Vinogradov (see [Reference Ivić10, Theorem 12.2 and equation (12.27)] or [Reference Iwaniec and Kowalski11, Corollary 8.30], for instance) states that
where
$\operatorname{li}(u)$
is the logarithmic integral
Using it we then derive by partial summation that
$$\begin{eqnarray}\displaystyle \mathop{\sum }_{p>t}\frac{(\log p)^{\unicode[STIX]{x1D705}}}{p(p-1)} & = & \displaystyle \mathop{\sum }_{p>t}\frac{(\log p)^{\unicode[STIX]{x1D705}}}{p^{2}}+\mathop{\sum }_{p>t}\frac{(\log p)^{\unicode[STIX]{x1D705}}}{p^{2}(p-1)}\nonumber\\ \displaystyle & = & \displaystyle -\frac{\unicode[STIX]{x1D70B}(t)(\log t)^{\unicode[STIX]{x1D705}}}{t^{2}}+\int _{t}^{\infty }\frac{\unicode[STIX]{x1D70B}(u)(2(\log u)^{\unicode[STIX]{x1D705}}-\unicode[STIX]{x1D705}(\log u)^{\unicode[STIX]{x1D705}-1})}{u^{3}}\,du\nonumber\\ \displaystyle & & \displaystyle +\,O\bigg(\frac{1}{t^{2}(\log t)^{1-\unicode[STIX]{x1D705}}}\bigg)\nonumber\\ \displaystyle & = & \displaystyle -\frac{(\log t)^{\unicode[STIX]{x1D705}}}{t^{2}}(\operatorname{li}(t)+O(t\unicode[STIX]{x1D6FF}_{c_{0}}(t)))\nonumber\\ \displaystyle & & \displaystyle +\,\int _{t}^{\infty }\frac{2(\log u)^{\unicode[STIX]{x1D705}}-\unicode[STIX]{x1D705}(\log u)^{\unicode[STIX]{x1D705}-1}}{u^{3}}(\operatorname{li}(u)+O(u\unicode[STIX]{x1D6FF}_{c_{0}}(u)))\,du\nonumber\\ \displaystyle & & \displaystyle +\,O\bigg(\frac{1}{t^{2}(\log t)^{1-\unicode[STIX]{x1D705}}}\bigg)\nonumber\\ \displaystyle & = & \displaystyle -\frac{\operatorname{li}(t)(\log t)^{\unicode[STIX]{x1D705}}}{t^{2}}+\int _{t}^{\infty }\frac{\operatorname{li}(u)(2(\log u)^{\unicode[STIX]{x1D705}}-\unicode[STIX]{x1D705}(\log u)^{\unicode[STIX]{x1D705}-1})}{u^{3}}\,du\nonumber\\ \displaystyle & & \displaystyle +\,O(t^{-1}(\log t)^{\unicode[STIX]{x1D705}}\unicode[STIX]{x1D6FF}_{c_{0}}(t)).\nonumber\end{eqnarray}$$
Now, integrating by parts we derive
$$\begin{eqnarray}\displaystyle & & \displaystyle -\frac{\operatorname{li}(t)(\log t)^{\unicode[STIX]{x1D705}}}{t^{2}}+\int _{t}^{\infty }\frac{\operatorname{li}(u)(2(\log u)^{\unicode[STIX]{x1D705}}-\unicode[STIX]{x1D705}(\log u)^{\unicode[STIX]{x1D705}-1})}{u^{3}}\,du\nonumber\\ \displaystyle & & \displaystyle \quad =\int _{t}^{\infty }\frac{du}{u^{2}(\log u)^{1-\unicode[STIX]{x1D705}}}=F_{\unicode[STIX]{x1D705}}(t).\nonumber\end{eqnarray}$$
The result follows with any constant
$c\in (0,c_{0})$
.◻
4.3 First step
Let
$\unicode[STIX]{x1D705}\in \{0,1\}$
and define
Notice that, if
$\sqrt{n}<p\leqslant n$
, then
and hence
so that
We now recall (1.4) and split the sum
$\unicode[STIX]{x1D6F4}_{\unicode[STIX]{x1D705}}$
into two subsums as
where
$$\begin{eqnarray}\displaystyle S_{1} & = & \displaystyle \mathop{\sum }_{\sqrt{n}<p\leqslant \sqrt{n}\,(\unicode[STIX]{x1D6FF}_{c}(\sqrt{n}))^{-1}}\bigg(\biggl\lfloor\frac{n-1}{p-1}\biggr\rfloor-\biggl\lfloor\frac{n}{p}\biggr\rfloor\bigg)(\log p)^{\unicode[STIX]{x1D705}},\nonumber\\ \displaystyle S_{2} & = & \displaystyle \mathop{\sum }_{\sqrt{n}\,(\unicode[STIX]{x1D6FF}_{c}(\sqrt{n}))^{-1}<p\leqslant n}\bigg(\biggl\lfloor\frac{n-1}{p-1}\biggr\rfloor-\biggl\lfloor\frac{n}{p}\biggr\rfloor\bigg)(\log p)^{\unicode[STIX]{x1D705}},\nonumber\end{eqnarray}$$
and
$c>0$
is the constant given in Lemma 4.6.
4.4 The sum
$S_{2}$
We use Corollary 4.2 with
$\unicode[STIX]{x1D6FC}=\unicode[STIX]{x1D6FF}_{c}(\sqrt{n})$
giving immediately
for any
$c_{1}\in (0,c]$
.
4.5 The sum
$S_{1}$
Using
and recalling the definition of the function
$\unicode[STIX]{x1D713}(x)$
, we write
where
$$\begin{eqnarray}\displaystyle S_{11} & = & \displaystyle \mathop{\sum }_{\sqrt{n}<p\leqslant \sqrt{n}\,(\unicode[STIX]{x1D6FF}_{c}(\sqrt{n}))^{-1}}\frac{(\log p)^{\unicode[STIX]{x1D705}}(n-p)}{p(p-1)},\nonumber\\ \displaystyle S_{12} & = & \displaystyle \mathop{\sum }_{\sqrt{n}<p\leqslant \sqrt{n}\,(\unicode[STIX]{x1D6FF}_{c}(\sqrt{n}))^{-1}}(\log p)^{\unicode[STIX]{x1D705}}\bigg(\unicode[STIX]{x1D713}\bigg(\frac{n}{p}+\frac{n-p}{p(p-1)}\bigg)-\unicode[STIX]{x1D713}\bigg(\frac{n}{p}\bigg)\bigg).\nonumber\end{eqnarray}$$
The main term
For any large integer
$n\geqslant 1$
, we derive from Lemma 4.6 that
$$\begin{eqnarray}\displaystyle \mathop{\sum }_{\sqrt{n}<p\leqslant \sqrt{n}(\unicode[STIX]{x1D6FF}_{c}(\sqrt{n}))^{-1}}\frac{(\log p)^{\unicode[STIX]{x1D705}}}{p(p-1)} & = & \displaystyle F_{\unicode[STIX]{x1D705}}(\sqrt{n})-F_{\unicode[STIX]{x1D705}}\bigg(\frac{\sqrt{n}}{\unicode[STIX]{x1D6FF}_{c}(\sqrt{n})}\bigg)\nonumber\\ \displaystyle & & \displaystyle +\,O(n^{-1/2}\unicode[STIX]{x1D6FF}_{c}(\sqrt{n})).\nonumber\end{eqnarray}$$
From [Reference Abramowitz and Stegun1, equation (5.1.19)] we have the inequalities
which imply that
so that
Therefore,
$$\begin{eqnarray}\displaystyle S_{11} & = & \displaystyle n\mathop{\sum }_{\sqrt{n}<p\leqslant \sqrt{n}(\unicode[STIX]{x1D6FF}_{c}(\sqrt{n}))^{-1}}\frac{(\log p)^{\unicode[STIX]{x1D705}}}{p(p-1)}-\mathop{\sum }_{\sqrt{n}<p\leqslant \sqrt{n}(\unicode[STIX]{x1D6FF}_{c}(\sqrt{n}))^{-1}}\frac{(\log p)^{\unicode[STIX]{x1D705}}}{p-1}\nonumber\\ \displaystyle & = & \displaystyle n\mathop{\sum }_{\sqrt{n}<p\leqslant \sqrt{n}(\unicode[STIX]{x1D6FF}_{c}(\sqrt{n}))^{-1}}\frac{(\log p)^{\unicode[STIX]{x1D705}}}{p(p-1)}+O(\log n)\nonumber\\ \displaystyle & = & \displaystyle nF_{\unicode[STIX]{x1D705}}(\sqrt{n})+O(n^{1/2}\unicode[STIX]{x1D6FF}_{c}(\sqrt{n})).\end{eqnarray}$$
The error term
It remains to prove that, for
$n$
sufficiently large
This estimate follows from the next result which actually gives a power saving.
Lemma 4.7. For
$n\geqslant 2$
, we have
$S_{12}\ll n^{49/100+o(1)}$
.
Proof. Split the interval
$(\sqrt{n},\sqrt{n}\,(\unicode[STIX]{x1D6FF}_{c}(\sqrt{n}))^{-1}]$
into
$O(\log n)$
dyadic subintervals of the form
$(M,2M]$
, so that
$$\begin{eqnarray}\displaystyle & & \displaystyle \biggl|\mathop{\sum }_{\sqrt{n}<p\leqslant \sqrt{n}\,(\unicode[STIX]{x1D6FF}_{c}(\sqrt{n}))^{-1}}(\log p)^{\unicode[STIX]{x1D705}}\unicode[STIX]{x1D713}\bigg(\frac{n}{p}+g(p)\bigg)\biggr|\nonumber\\ \displaystyle & & \displaystyle \quad \ll \underset{\sqrt{n}<M\leqslant \sqrt{n}\,(\unicode[STIX]{x1D6FF}_{c}(\sqrt{n}))^{-1}}{\max }\biggl|\mathop{\sum }_{M<p\leqslant 2M}(\log p)^{\unicode[STIX]{x1D705}}\unicode[STIX]{x1D713}\bigg(\frac{n}{p}+g(p)\bigg)\biggr|\log n,\nonumber\end{eqnarray}$$
where, as in Lemma 4.4,
$$\begin{eqnarray}\displaystyle & & \displaystyle \biggl|\mathop{\sum }_{M<p\leqslant 2M}(\log p)^{\unicode[STIX]{x1D705}}\unicode[STIX]{x1D713}\bigg(\frac{n}{p}+g(p)\bigg)\biggr|\nonumber\\ \displaystyle & & \displaystyle \quad \ll (\log M)^{7/4+\unicode[STIX]{x1D705}}\mathop{\sum }_{h\leqslant H}\frac{1}{h}\bigg(1+\frac{nh}{M^{2}}\bigg)(h^{2}n^{2}M^{19})^{1/24}\nonumber\\ \displaystyle & & \displaystyle \qquad +\,\frac{M}{H(\log M)^{1-\unicode[STIX]{x1D705}}}+\frac{nH}{M^{3/2}(\log M)^{1-\unicode[STIX]{x1D705}}}+\frac{M^{1/2}\log H}{(\log M)^{1-\unicode[STIX]{x1D705}}}\nonumber\\ \displaystyle & & \displaystyle \quad \ll ((n^{26}H^{26}M^{-29})^{1/24}+(n^{2}H^{2}M^{19})^{1/24})(\log M)^{11/4}\nonumber\\ \displaystyle & & \displaystyle \qquad +\,\frac{M}{H(\log M)^{1-\unicode[STIX]{x1D705}}}+\frac{nH}{M^{3/2}}+M^{1/2}\log H.\nonumber\end{eqnarray}$$
Choose
to balance the first and the third terms in the above bound up to logarithmic factors, which we all replace by
$n^{o(1)}$
. We also note that since
$M\geqslant n^{1/2}$
we have
$H\geqslant 1$
provided that
$n$
is large enough. Hence,
$$\begin{eqnarray}\displaystyle & & \displaystyle \biggl|\mathop{\sum }_{M<p\leqslant 2M}(\log p)^{\unicode[STIX]{x1D705}}\unicode[STIX]{x1D713}\bigg(\frac{n}{p}+g(p)\bigg)\biggr|\nonumber\\ \displaystyle & & \displaystyle \quad \ll ((n^{26}M^{-3})^{1/50}+(nM^{22})^{1/25}+(n^{12}M^{-11})^{1/25}+M^{1/2})n^{o(1)}\nonumber\end{eqnarray}$$
and so, using that
$M=n^{1/2+o(1)}$
, we obtain
whenever
$n$
is sufficiently large, concluding the proof.◻
5 The proof of Theorem 1.8
5.1 Preliminary considerations
Let us fix some prime
$p$
and write
$n$
in base
$p$
as
with
$p$
-ary digits
In the above,
$k=\lfloor \log n/\text{log}\,p\rfloor +1$
.
We distinguish the following two cases.
Case 1:
$a_{k}\neq p-1$
In this case,
is the base
$p$
-representation of
$n+1$
. Hence,
$s_{p}(n+1)=s_{p}(n)+1$
. In particular, the following events
and thus,
are simultaneously possible only when
Case 2:
$a_{k}=p-1$
Let
$i\in [0,k]$
be such that
$a_{k}=a_{k-1}=\cdots =a_{k-i}=p-1$
, but
$a_{k-i-1}<p-1$
. Then
and we obtain
Hence, for each
$p$
with
$a_{k}=p-1$
, it follows that if
$p\mid \mathfrak{P}_{n+1}$
, then also
$p\mid \mathfrak{P}_{n}$
. However, the opposite to (5.1), that is
is also possible in this case. Actually, this case plays an important role in our argument in §5.2 below.
5.2 Proof of (i): divisibility
As we have seen, primes
$p$
which belong to Case 2 of §5.1 do not appear in the denominator of the ratio
$\mathfrak{P}_{n}/\mathfrak{P}_{n+1}$
. We now show that for almost all
$n\leqslant x$
(with an explicit bound on the size of the exceptional set) the primes which belong to Case 1 of §5.1 do not appear in the denominator of this ratio either, and thus, we have the desired divisibility.
More precisely, using the characterization of (5.1) given by (5.2), we conclude that
$\mathfrak{P}_{n+1}\mid \mathfrak{P}_{n}$
holds for all positive integers
$n$
that have the property that there is no prime
$p$
with
$s_{p}(n)=p-1$
. It remains to prove that the complementary set has asymptotic density zero.
Thus, we define
First of all note that since
$s_{p}(n)=p-1$
, it follows that
$(p-1)\mid n$
. McNew et al [Reference McNew, Pollack and Pomerance17], improving on the previous result of Erdős and Wagstaff [Reference Erdős and Wagstaff6], have shown that uniformly in
$3\leqslant y\leqslant x$
, the estimate
holds, where
$\unicode[STIX]{x1D6FF}$
is the Erdős–Ford–Tenenbaum constant defined at (1.3). We also recall that Ford [Reference Ford7] has recently established more precise results, which, however, cannot be used to improve our bounds.
We take
$y=(\log x)^{1/2}$
in (5.4), getting that the number of
$n\in {\mathcal{A}}(x)$
such that
$s_{p}(n)=p-1$
for some
$p\geqslant y$
is
Assume now that
$p<y$
. We remark that for each
$p$
and
the condition
$s_{p}(n)=p-1$
leads to the equation
on the
$p$
-ary digits
$a_{0},\ldots ,a_{k}$
of
$n$
(we possibly append some leading zeros to make all
$p$
-ary expansions of the same length). Thus, for each
$p$
there are at most
possible values for the string of digits
$(a_{0},\ldots ,a_{k})$
, and therefore for the number of such
$n\in {\mathcal{A}}(x)$
. Hence, the total contribution from all
$p\leqslant y$
to
$\#{\mathcal{A}}(x)$
is at most
which is negligible compared to (5.5), and concludes the proof.
5.3 Proof of (ii): divisibility and strict inequality
Since we have established that
$\mathfrak{P}_{n+1}\mid \mathfrak{P}_{n}$
for almost all
$n\leqslant x$
, it is enough to produce a sequence of
$n$
of asymptotic density
$\ln 2$
such that for each of them there exists a prime
$p$
with the property (5.3).
Let
$n\leqslant x$
be of the form
$n=ap-1$
, where
$p>\sqrt{x+1}$
and
$a\geqslant 2$
. Then
$a\leqslant (x+1)/p<\sqrt{x+1}<p$
.
In particular,
$n+1=ap$
with
$a<p$
, so
On the other hand, since
$n=(a-1)p+p-1$
and
$2\leqslant a<p$
, it follows that
Comparing (5.7) and (5.8), we see that we have (5.3). Obviously, each integer
$n\leqslant x$
of this form can be generated by only one prime
$p>\sqrt{x+1}$
. Fixing
$p$
, we have that
$2\leqslant a\leqslant (x+1)/p$
. Hence, there are
$\lfloor (x+1)/p\rfloor -1=x/p+O(1)$
possibilities for
$a$
. Thus, using the Mertens formula (see [Reference Hardy and Wright9, Theorem 427]), we see that we generate
$$\begin{eqnarray}\displaystyle \mathop{\sum }_{\sqrt{x+1}<p\leqslant x+1}\bigg(\frac{x}{p}+O(1)\bigg) & = & \displaystyle x\mathop{\sum }_{\sqrt{x+1}<p<x+1}\frac{1}{p}+O(\unicode[STIX]{x1D70B}(x))\nonumber\\ \displaystyle & = & \displaystyle x\ln 2+o(x)\nonumber\end{eqnarray}$$
such integers
$n\leqslant x$
as
$x\rightarrow \infty$
in this way, which concludes the proof.
5.4 Proof of (iii): equality
We take
$n=q-1$
for a prime
$q\leqslant x$
. Clearly,
Thus,
We remark that
$q$
is the only prime that divides
$n+1$
. Thus, Case 2 of §5.1 is impossible for any prime
$p\neq q$
. Hence, the only primes in which
$\mathfrak{P}_{n}$
and
$\mathfrak{P}_{n+1}$
may differ are the primes
$p$
as in Case 1 of §5.1 for which
$s_{p}(n)=p-1$
. In particular,
$p-1\mid q-1$
with
$p\neq n$
. It is shown in [Reference Luca, Pizarro-Madariaga and Pomerance15], that there exists a positive constant
$c$
such that uniformly in
$2\leqslant y\leqslant x$
, we have an analogue of (5.4) for shifted primes
$q-1$
in place of
$n$
; that is,
Again we take
$y=\sqrt{\log x}$
and proceeding as in the last part of §5.2, in particular, using (5.6) and thus ignoring the fact that
$n=q-1$
is a shifted prime in this part of the argument, together with (5.9), we conclude the proof.
Acknowledgements
The authors are very grateful to Bernd Kellner and Jonathan Sondow for many useful comments on the initial version of the manuscript. The authors would also like to express their gratitude to the anonymous referee for the careful reading of the manuscript and for many valuable suggestions and corrections. F.L., P.M. and I.S. would like to thank the Max Planck Institute for Mathematics in Bonn for its hospitality and support during the period when this paper was written. The second author was supported in part by NRF (South Africa) Grants CPRR160325161141 and an A-rated researcher award and by CGA (Czech Republic) Grant 17-02804S. The fourth author was supported in part by ARC (Australia) Grant DP170100786.



















