A112645 Solutions to abs(sigma(x+1) - sigma(x)) = 2. Divisor sums of x and its neighbor x+1 differ from each other by 2.
1, 8, 26, 117, 2186, 145215, 1594322
Offset: 1
Examples
n = 1594322 = 2*797161 while n+1 = 3^13; Sigma(n) = 2391486, sigma(n+1) = 2391484.
Programs
-
Mathematica
ta={{0}};Do[s=Abs[DivisorSigma[1, n+1]-DivisorSigma[1, n]]; If[Equal[s, 2], ta=Append[ta, n];Print[n]], {n, 1, 100000000}]; ta=Delete[ta, 1]
Comments