\documentclass[12pt,reqno]{article}

\usepackage[usenames]{color}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{amscd}

\usepackage[colorlinks=true,
linkcolor=webgreen,
filecolor=webbrown,
citecolor=webgreen]{hyperref}

\definecolor{webgreen}{rgb}{0,.5,0}
\definecolor{webbrown}{rgb}{.6,0,0}

\usepackage{color}
\usepackage{fullpage}
\usepackage{float}

\usepackage{psfig}
\usepackage{graphics,amsmath,amssymb}
\usepackage{amsthm}
\usepackage{amsfonts}
\usepackage{latexsym}
\usepackage{epsf}

\setlength{\textwidth}{6.5in}
\setlength{\oddsidemargin}{.1in}
\setlength{\evensidemargin}{.1in}
\setlength{\topmargin}{-.5in}
\setlength{\textheight}{8.9in}

\newcommand{\seqnum}[1]{\href{http://oeis.org/#1}{\underline{#1}}}

\begin{document}

\begin{center}
\epsfxsize=4in
\leavevmode\epsffile{logo129.eps}
\end{center}

\theoremstyle{plain}
\newtheorem{theorem}{Theorem}
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{proposition}[theorem]{Proposition}

\theoremstyle{definition}
\newtheorem{definition}[theorem]{Definition}
\newtheorem{example}[theorem]{Example}
\newtheorem{conjecture}[theorem]{Conjecture}

\theoremstyle{remark}
\newtheorem{remark}[theorem]{Remark}

\begin{center}
\vskip 1cm{\LARGE\bf On the Solutions of $\sigma(n)=\sigma(n+k)$
}
\vskip 1cm
\large
Andreas Weingartner \\
Department of Mathematics\\
Southern Utah University \\
Cedar City, Utah 84720 \\
USA \\
\href{mailto:weingartner@suu.edu}{\tt weingartner@suu.edu} \\
\end{center}

\vskip .2 in

\begin{abstract}
Given a fixed even integer $k$, we show that Schinzel's hypothesis H
implies that $\sigma(n)=\sigma(n+k)$ infinitely often.  We also discuss
the case of odd $k$ and the more general equation
$\sigma_\alpha(n)=\sigma_\alpha(n+k)$.
\end{abstract}

\section{Introduction}
Let $\sigma(n)$ be the sum of the positive divisors of $n$. Sierpi\'{n}ski \cite[p.\ 166]{Sirp} asked whether 
\begin{equation}\label{nplusone}
\sigma(n)=\sigma(n+1)
\end{equation}
infinitely often. The sequence of solutions (OEIS \seqnum{A002961}) begins with 
$$ 14,\ 206,\ 957,\ 1334,\ 1364,\ 1634,\ 2685,\ 2974,\ 4364,\ 14841, ...$$
Although Sierpi\'{n}ski's question has not been answered yet, computational results \cite{Hau,Hun,Mie} seem to suggest that 
the sequence may have infinitely many terms. Guy and Shanks \cite{Guy74} constructed a large solution of \eqref{nplusone} based on 
a pattern observed in smaller ones, but they point out that their
construction is unlikely to yield an infinite number of solutions.

More generally, Mientka and Vogt \cite{Mie} asked for which values of $k\ge 1$, 
\begin{equation}\label{nplusk}
\sigma(n)=\sigma(n+k)
\end{equation}
has infinitely many solutions. 
Hunsucker, Nebb and Stearns \cite{Hun} found at least two solutions of \eqref{nplusk} for each $k\le 5000$.

Erd\H{o}s \cite{Erd} made the much stronger conjecture that for every integer $k\ge 1$ there is an $n$ such that 
$$ \sigma(n)= \sigma(n+1) =  \cdots = \sigma(n+k) ,$$
which would clearly imply that \eqref{nplusk} has infinitely many solutions for each $k$. However, a computer search
showed that there is no solution to $\sigma(n)=\sigma(n+1)=\sigma(n+2)$ for $n\le  10^{10}$.

Let $f_1(x), f_2(x),\ldots , f_n(x)$ be irreducible polynomials with integer coefficients and positive leading coefficients.
Schinzel's hypothesis H \cite{SchinzelH} says that, if there is no fixed integer greater than one which divides
$$ f(x)=f_1(x) f_2(x)\cdots f_n(x)$$
for all integers $x$, then $f_1(x),\ldots, f_n(x)$ are simultaneously prime for infinitely many values of $x$.

In Section \ref{a1} we show that if $k$ is even, the existence of an infinite number of solutions of \eqref{nplusk}
follows from a particular case of Schinzel's hypothesis H. For $k=1$ we show that if odd multiperfect numbers
do not exist, then there are only finitely many solutions $n$ to \eqref{nplusone} with 
$\Omega(n)+\Omega(n+1)$ bounded by an absolute constant, where $\Omega(n)$ 
denotes the number of prime divisors of $n$, counted with multiplicity.

In Section \ref{a2} we take a look at the corresponding questions for  
$\sigma_\alpha(n)$, the sum of the $\alpha$-th powers of the positive divisors of $n$.

\section{The case $\alpha = 1$.}\label{a1}

The first ten solutions to \eqref{nplusk} for $k=2$ are (OEIS \seqnum{A007373})
$$ 33,\ 54,\ 284,\ 366,\ 834,\ 848,\ 918,\ 1240,\ 1504,\ 2910, ....$$
The following result shows that this sequence, and all other sequences corresponding to even values of $k$ 
(\seqnum{A015863} ($k=4$), \seqnum{A015866} ($k=6$), \seqnum{A015876} ($k=8$),
\seqnum{A015880} ($k=10$), \seqnum{A015882} ($k=12$), \seqnum{A181647}
($k=20$)),
are infinite sequences, provided Schinzel's hypothesis H holds.

\begin{proposition}\label{prop1}
Let $k$ be a fixed even integer. Assuming Schinzel's hypothesis H, the equation $\sigma(n)=\sigma(n+k)$ has infinitely many solutions.
\end{proposition}

\begin{proof}
We begin with the case $k=2$. Define
\begin{equation}\label{fourprimes}
p=2x+1, \quad q=3x+8, \quad r= 2x+5, \quad s= 3x+2,
\end{equation}
$$ n=pq, \quad m=rs,$$
and
$$ f(x)=pqrs = (2x+1)(3x+8)(2x+5)(3x+2).$$
The function $f(x)$ does not have a fixed divisor $>1$, since, for example, $f(0)=2^4\cdot 5$ and $f(3)=7\cdot 11^2\cdot 17$ have no common factor.
Schinzel's hypothesis H says that there are infinitely many values of $x$ such that each one of the four numbers
$p$, $q$, $r$, and $s$ is prime. For these values of $x$ we have $\sigma(n)=\sigma(m)$, since
$$\sigma(n)=(p+1)(q+1)=6(x+1)(x+3)=(r+1)(s+1)=\sigma(m). $$
Furthermore, $m=n+2$ for all $x$. This completes the case $k=2$.

If $k=2l$ with $l>1$, let $m$ and $n$ be as above, and write
$$ n'=ln, \quad m'=lm .$$ 
We have $m'=n'+2l$ and 
$$ \sigma(m')=\sigma(l)\sigma(m)=\sigma(l)\sigma(n) = \sigma(n'),$$
if $\gcd(l,mn)=1$, which is the case as soon as $p=2x+1 > l$. 
\end{proof}

Without Schinzel's hypothesis H, we have the following unconditional result. 
\begin{proposition}
The equation $\sigma(n)=\sigma(n+k)$ has at least one solution for every even $k$ with $2\le k\le 10^{10^7}$.
\end{proposition}

\begin{proof}
Using a computer, we generate a sequence $33 = x_1<x_2<\cdots < x_{N}=146344933173$, 
with $N=913685$ terms, such that $p_i=2x_i+1$, $q_i=3x_i+8$, $r_i= 2x_i+5$, and $s_i= 3x_i+2$
are distinct primes for $1\le i \le N$. It is easy to see that $x_i \equiv 3$ (mod 30) 
if $p_i$, $q_i$, $r_i$ and $s_i$ are not divisible by $2$, $3$, or $5$. 
To ensure that we obtain $4N$ distinct primes in all, we further restrict the search to $x_i \equiv 33$ (mod 60).
As in the proof of Proposition \ref{prop1}, we have $\sigma(p_i q_i)=\sigma(r_i s_i)=\sigma(p_i q_i +2)$, and therefore
$\sigma(p_i q_i l) = \sigma(p_i q_i l +2l)$ if $\gcd(l,p_i q_i r_i s_i)=1$, where $k=2l$. 
If this fails for all $i\le N$, then $l$ must be divisible
by at least one of the four primes $p_i$, $q_i$, $r_i$, or $s_i$, for each $i\le N$. 
Thus $k>l \ge \prod_{i=1}^N (2x_i+1) > 10^{10^7}$.
\end{proof}

For odd values of $k$, the situation is quite different. Assume that there is a sequence $n_j$ of 
solutions to \eqref{nplusk} of the form
\begin{equation}\label{form}
n_j= a \prod_{i=1}^N p_{i,j}^{\alpha_{i,j}}, \quad n_j+k = b \prod_{i=1}^M q_{i,j}^{\beta_{i,j}},
\end{equation}
where $a, b, N, M$ are fixed and the primes $p_{i,j}, q_{i,j}$  satisfy $\lim_{j\to\infty}p_{i,j}=\infty$ for $1\le i \le N$ 
and $\lim_{j\to\infty}q_{i,j}=\infty$ for $1\le i \le M$.
Then, as $n_j$ grows,
$$ \frac{\sigma(n_j)}{n_j} = \frac{\sigma(a)}{a}\prod_{i=1}^N \frac{p_{i,j}^{\alpha_{i,j}+1}-1}{(p_{i,j}-1)p_{i,j}^{\alpha_{i,j}}} =\frac{\sigma(a)}{a} (1+o(1)) ,$$
$$ \frac{\sigma(n_j+k)}{n_j+k} = \frac{\sigma(b)}{b}\prod_{i=1}^M \frac{q_{i,j}^{\beta_{i,j}+1}-1}{(q_{i,j}-1)q_{i,j}^{\beta_{i,j}}}= \frac{\sigma(b)}{b} (1+o(1)). $$
Since $\sigma(n_j)=\sigma(n_j+k)$, we also have
$$ \frac{\sigma(n_j)}{n_j}=\frac{\sigma(n_j+k)}{n_j+k} \frac{n_j+k}{n_j} = \frac{\sigma(n_j+k)}{n_j+k} (1+o(1)).$$
It follows that
\begin{equation}\label{ab}
 \frac{\sigma(a)}{a}  = \frac{\sigma(b)}{b},
\end{equation}
where one of $a$ and $b$ is even, and the other one is odd, since $k$ is odd.
When $k=1$ we also have $\gcd(a,b)=1$, which means that the fractions in \eqref{ab} must reduce to integers $\ge 2$. 
Thus $a$ and $b$ are both multiperfect numbers, with one of them being odd.
Since no odd multiperfect numbers are known, we can not use this approach to 
show that there are infinitely many solutions to \eqref{nplusone}. We summarize this in the following statement.
\begin{proposition}\label{noform}
Let $a, b, N, M$ be fixed positive integers, such that neither $a$ nor $b$ is an odd multiperfect number,
and let $n_j$ be a sequence of the form \eqref{form} with $k=1$,
where the primes $p_{i,j}, q_{i,j}$ satisfy $\lim_{j\to\infty}p_{i,j}=\infty$ for $1\le i \le N$ 
and $\lim_{j\to\infty}q_{i,j}=\infty$ for $1\le i \le M$.
Then the sequence $n_j$ contains at most a finite number of solutions to \eqref{nplusone}.
\end{proposition}

The following result is a consequence of Proposition \ref{noform}.

\begin{proposition}
Let $C\ge 1$ be fixed. If there are no odd multiperfect numbers, then
there are only finitely many solutions to $\sigma(n)=\sigma(n+1)$ with $\Omega(n)+\Omega(n+1)\le C$. 
\end{proposition}

\begin{proof}
Assume that $n_j$ is an infinite increasing sequence with $\sigma(n_j)=\sigma(n_j+1)$ and  $\Omega(n_j)+\Omega(n_j+1)\le C$. 
We show that $n_j$ has an infinite subsequence of the form \eqref{form} with $k=1$. 
By restricting $n_j$ to a subsequence if necessary, we may assume $\Omega(n_j)=\mu $ and $\Omega(n_j+1)=\nu$, for some constants $\mu , \nu \in \mathbb{N}$. 
Write $n_j = p_{1, j}\cdots p_{\mu,j}$  and $n_j+1=q_{1,j}\cdots q_{\nu,j}$. For each $1\le i \le \mu $, 
either $\liminf_{j\to \infty} p_{i,j} = p_i$ for some fixed prime $p_i$, or  $\lim_{j\to \infty} p_{i,j} = \infty$. In the first case we restrict the sequence $n_j$
to an infinite subsequence such that $p_{i,j} = p_i$ for all $j\ge 1$. Let $a$ denote the
product of all the fixed primes $p_i$. After applying the same process to the prime divisors of $n_j+1$, we arrive
at an infinite sequence of the form \eqref{form} with $k=1$. 
Thus the result follows from Proposition \ref{noform}.
\end{proof}

For odd values of $k\ge 3$, it may still be possible to construct an infinite sequence of solutions of the form \eqref{form}, 
because there are solutions to \eqref{ab} with $a$ even and $b$ odd, such as 
$$ a=3472=2^4\cdot 7 \cdot 31, \quad b= 544635=3^2\cdot 5 \cdot 7^2 \cdot 13 \cdot 19 .$$
In this case $\gcd(a,b)=7$, so it may be possible to use this as a starting point to show that $\sigma(n)=\sigma(n+7)$
has infinitely many solutions, assuming Schinzel's hypothesis H, although we were not able to do so.

While we can't prove or disprove that there is at least one solution of \eqref{nplusk} for 
every odd value of $k$, in some cases a solution is easy to find. For example, $n=14k$ 
is a solution to \eqref{nplusk} if $\gcd(k,14\cdot 15)=1$, since $n=14$ is a solution to \eqref{nplusone}. 
The same idea can be applied to other solutions of \eqref{nplusone}.
 

\section{The case $\alpha \ge 2$.}\label{a2}

The case $\alpha =2$ was treated by De Koninck \cite{DeK} with the following result.

\begin{proposition}[De Koninck]\label{DeKProp}
Let $k$ be a fixed positive integer.
\begin{enumerate}
\item[(i)] If $k$ is odd, then $\sigma_2(n)=\sigma_2(n+k)$ has at most a finite number of solutions.
\item[(ii)] If $k$ is even, then Schinzel's hypothesis H implies that $\sigma_2(n)=\sigma_2(n+k)$ has an infinite number of solutions.
\end{enumerate}
\end{proposition}

The only solution to $\sigma_2(n)=\sigma_2(n+1)$ is $n=6$. 
According to \cite{DeK}, $\sigma_2(n)=\sigma_2(n+k)$ has no solution when 
$k=3$, $9$, $15$, $27$, $33$, $35$, $39$, $45$, $51$, $57$, $69$, $75$, $81$, $87$, $93$ or $99$.
Assuming Schinzel's hypothesis H, a sequence of solutions to $\sigma_2(n)=\sigma_2(n+2)$ 
given in \cite{DeK} can be written as
$$ n= x^3-1 = (x-1)(x^2+x+1), \quad n+2=x^3+1 = (x+1)(x^2-x+1) .$$
It is easy to verify that $\sigma_2(n)=\sigma_2(n+2)$ as long as the four quantities
$x-1, x^2+x+1, x+1$ and $x^2-x+1$ are all prime.

We can extend the first half of Proposition \ref{DeKProp} to $\alpha \ge 3$.

\begin{proposition}\label{oddk}
For every $\alpha\ge 2$ there is a constant $c_\alpha>0$ such that if $\sigma_\alpha(n)=\sigma_\alpha(n+k)$ for an odd value of $k$, 
then $k> c_\alpha n$. 
\end{proposition}

\begin{proof}
We first show that
\begin{equation}\label{ineq}
  1+\frac{1}{2^\alpha} >  \sum_{j \ge 0} \frac{1}{(2j+1)^\alpha} \qquad (\alpha \ge 2).
\end{equation}
For $\alpha=2$, \eqref{ineq} simplifies to $\frac{5}{4} > (1-1/2^2) \zeta(2) = \frac{\pi^2}{8} = 1.2337...$
If we subtract $1$ from both sides of \eqref{ineq} and then multiply by $2^\alpha$, we see that \eqref{ineq} is equivalent to 
$$ 1 > \sum_{j\ge 1} \frac{1}{(j+1/2)^\alpha} \qquad (\alpha \ge 2).$$
Note that the right-hand side is decreasing in $\alpha$. Since the inequality is valid for $\alpha=2$, it is 
valid for all $\alpha \ge 2$. 

Now let $m=n+k$. Since $k$ is odd, one of $m$, $n$ is even and the other one is odd.
Without loss of generality we assume $2|n$ and $2\not| m$, allowing $k<0$ if necessary.
Then
\begin{equation*}
\frac{\sigma_\alpha(n)}{n^\alpha} \ge \frac{\sigma_\alpha(2)}{2^\alpha} =1+\frac{1}{2^\alpha} ,
\end{equation*}
and
\begin{equation*}
 \frac{\sigma_\alpha(m)}{m^\alpha} < \sum_{j \ge 0} \frac{1}{(2j+1)^\alpha}.
\end{equation*}
If $\sigma_\alpha(n)=\sigma_\alpha(m)$, 
\begin{equation*}
\left(1+\frac{1}{2^\alpha}\right) \left(\frac{n}{n+k}\right)^\alpha 
\le \frac{\sigma_\alpha(n)}{n^\alpha} \frac{n^\alpha}{m^\alpha} 
= \frac{\sigma_\alpha(m)}{m^\alpha} < \sum_{j \ge 0} \frac{1}{(2j+1)^\alpha},
\end{equation*}
or
\begin{equation*}
\left(\frac{1}{1+k/n}\right)^\alpha < \frac{1-\frac{1}{2^\alpha}}{1+\frac{1}{2^\alpha}} \zeta(\alpha) =: b_\alpha,
\end{equation*}
say. From \eqref{ineq} we have $b_\alpha <1$ for $\alpha \ge 2$, hence
\begin{equation*}
\frac{k}{n} > b_\alpha^{-1/\alpha}-1 =: c_\alpha >0.
\end{equation*}
\end{proof}

The remaining case is where $\alpha \ge 3$ and $k$ is even. 
Guy \cite[Problem B13]{Guy} writes, ``Erd\H{o}s thinks that $\sigma_3(n)=\sigma_3(n+2)$ has no solution at all".
A computer search showed that there is in fact no solution to $\sigma_3(n)=\sigma_3(n+2)$ for $n\le 10^{10}$.
Although we are not able to prove that there are no solutions in this case, we have the following partial result.
We omit the proof since the ideas are similar to those of Proposition \ref{oddk}.

\begin{proposition}
If $n$ is a solution of $\sigma_3(n)=\sigma_3(n+2)$, then neither $n$ nor $n+2$ is divisible
by $2, 3, 5$ or $7$.
\end{proposition}

For $\alpha \ge 3$, solutions to $\sigma_\alpha(n)=\sigma_\alpha(n+k)$ are quite rare even if $k$ is allowed to vary. 
There are only three primitive solutions to $\sigma_3(n)=\sigma_3(n+k)$ with $n\le 5 \cdot 10^6$ and $k\ge 1$, namely
$$ (n,k)=(184926,9389), (291741, 3560), (1880574,6346), $$
while the other fourteen solutions in the same range are obtained from these by multiplying both $n$ and $k$ by some $l$ with $\gcd(l,nk)=1$.

There are no solutions to $\sigma_\alpha(n)=\sigma_\alpha(n+k)$ for $\alpha \ge 4$, $n\le 10^6$ and $k\ge 1$.
 
\begin{thebibliography}{00}

\bibitem{DeK} J.-M. De Koninck, On the solutions of $\sigma_2(n) = \sigma_2(n + l)$, {\it Ann. Univ. Sci.
Budapest. Sect. Comput.} {\bf 21} (2002), 127--133.

\bibitem{Erd} P. Erd\H{o}s, Some remarks on Euler's $\phi$ function and some related problems, {\it Bull. Amer. Math. Soc.} {\bf 51} (1945), 540--544.

\bibitem{Guy74} R. K. Guy and D. Shanks, A constructed solution of $\sigma(n)=\sigma(n+1)$, {\it Fibonacci Quart.} {\bf 12} (1974), 299.

\bibitem{Guy} R. K. Guy, {\it Unsolved Problems in Number Theory}, Springer, 2004.

\bibitem{Hau} P. Haukkanen, Some computational results concerning the divisor functions
$d(n)$ and $\sigma(n)$, {\it Math. Student} {\bf 62} (1993), 166--168.

\bibitem{Hun} J. L. Hunsucker, J. Nebb, and R. E. Stearns, Computational results
concerning some equations involving $\sigma(n)$, {\it Math. Student} {\bf 41} (1973), 285--289.

\bibitem{Mie} W. E. Mientka and R. L. Vogt, Computational results relating to problems
concerning $\sigma(n)$, {\it Mat. Vesnik} {\bf 7} (1970), 35--36.

\bibitem{SchinzelH}
A. Schinzel and W. Sierpi\'nski, Sur certaines hypoth\`eses concernant les nombres premiers, {\it Acta Arith.} {\bf 4} (1958), 185--208.

\bibitem{Sirp} 
W. Sierpi\'{n}ski, {\it Elementary Theory of Numbers}, Polska Akademia Nauk, 1964.

\end{thebibliography}

\bigskip
\hrule
\bigskip

\noindent 2010 {\it Mathematics Subject Classification}:
Primary 11A25.

\noindent \emph{Keywords: } Sum-of-divisors function, Schinzel's hypothesis H.

\bigskip
\hrule
\bigskip

\noindent (Concerned with sequences
\seqnum{A002961},
\seqnum{A007373},
\seqnum{A015863},
\seqnum{A015866},
\seqnum{A015876},
\seqnum{A015880},
\seqnum{A015882}, and
\seqnum{A181647}.)

\bigskip
\hrule
\bigskip

\vspace*{+.1in}
\noindent
Received February 26 2011;
revised version received May 2 2011.
Published in {\it Journal of Integer Sequences}, May 3 2011.

\bigskip
\hrule
\bigskip

\noindent
Return to
\htmladdnormallink{Journal of Integer Sequences home page}{http://www.cs.uwaterloo.ca/journals/JIS/}.
\vskip .1in


\end{document}

                                                                                

