1. Introduction
For any positive integer n, let $\sigma (n)$ be the sum of all positive divisors of $n.$ We always assume that x is a real number, m and n are positive integers, p is a prime, $p_{n}$ is the nth prime and $\phi (n)$ denotes the Euler totient function. Jarden [Reference Jarden4, page 65] observed that $\phi (30n+1)>\phi (30n)$ for all $n\leq 10^{5}$ and later the inequality was calculated to be true up to $10^9.$ However, Newman [Reference Newman8] proved that there are infinitely many n such that $\phi (30n+1)<\phi (30n)$ and the smallest one is
which was given by Martin [Reference Martin7]. For related work, see [Reference Erdős3, Reference Kobayashi and Trudgian5, Reference Luca and Pomerance6, Reference Pollack and Pomerance9, Reference Wang and Chen11]. It is certainly natural to consider the analogous problem for the sum of divisors function. Recently, Pongsriiam [Reference Pongsriiam10, Theorem 2.4] proved that $\sigma (30n)-\sigma (30n+1)$ also has infinitely many sign changes. He found that $\sigma (30n)>\sigma (30n+1)$ for all $n\leq 10^7$ and posed the following problem.
Problem 1.1 [Reference Pongsriiam10, Problem 3.8(ii)]
Is it true that
for all $K\in \mathbb {N}?$
Recently, Ding et al. [Reference Ding, Pan and Sun2] solved several problems of Pongsriiam. Inspired by their ideas, we answer affirmatively the above Problem 1.1. In fact, we prove a slightly stronger result.
Theorem 1.2. For every integer k with $1\leq k\leq 29$ and $(k,30)=1,$
for all $K\in \mathbb {N}.$
2. Estimations
Let
where $B_{0}(d)$ denotes the number of solutions, not counting multiplicities, of the congruence $30m\equiv 0 \pmod d.$ For every integer k with $1\leq k\leq 29$ and $(k,30)=1,$ let
where $B_{k}(d)$ denotes the number of solutions, not counting multiplicities, of the congruence $30m+k\equiv 0 \pmod d.$ By the Chinese remainder theorem, both $B_{0}(d)$ and $B_{k}(d)$ are multiplicative. Note that for $p\nmid 30$ , we have $B_{0}(p^{\alpha })=1$ and $B_{k}(p^{\alpha })=1$ for any positive integer $\alpha $ . It is obvious that $B_{0}(p^{\alpha })=p$ and $B_{k}(p^{\alpha })=0$ for $p=2,3,5$ and any positive integer $\alpha $ . It follows that $B_{0}(d)\leq 30$ and $B_{k}(d)\leq 1$ for any positive integer $d.$ By [Reference Apostol1, Theorem 11.7] and
we have
and
It can be checked that there are large oscillations of the error terms which influence the main terms if one tries to calculate the sums in Problem 1.1 directly. Therefore, we first manipulate the weighted sums and then transform them to the original sums via summations by parts.
We always assume that $x\geq 1000$ , $1\leq k\leq 29,\ (k,30)=1$ in the following lemmas.
Lemma 2.1. We have
where
Proof. By the definition of $B_{0}(d),$
where $-1\leq \alpha _{0}(x,d)\leq 1$ and
By [Reference Apostol1, Theorem 3.2],
and
It follows that
This completes the proof of Lemma 2.1.
Lemma 2.2. We have
where
Proof. By the definition of $B_{k}(d),$
where $-1\leq \alpha _{k}(x,d)\leq 1$ and
By [Reference Apostol1, Theorem 3.2],
and
It follows that
This completes the proof of Lemma 2.2.
Lemma 2.3. We have
Proof. Let
By [Reference Apostol1, Theorem 3.1],
This completes the proof of Lemma 2.3.
Lemma 2.4. We have
Proof. Let
By [Reference Apostol1, Theorem 3.1],
This completes the proof of Lemma 2.4.
3. Proof of Theorem 1.2
Proof of Theorem 1.2
For every integer k with $1\leq k\leq 29,\ (k,30)=1,$ by Lemmas 2.3 and 2.4,
provided that $x\geq 1000.$ It is easy to verify that
for every positive integer $K<1000$ and for every integer k with $1\leq k\leq 29$ and $(k,30)=1,$ by programming. This completes the proof of Theorem 1.2.
Acknowledgements
The author would like to thank the referee and Yuchen Ding for their helpful suggestions.