OFFSET
1,2
LINKS
Donovan Johnson, Table of n, a(n) for n = 1..500
EXAMPLE
k = 1: sigma(2)/sigma(1) = 3/1 = 3;
k = 9563231: sigma(k+1)/sigma(k) = 31026240/10342080 = 3.
MATHEMATICA
Do[s=Mod[a=DivisorSigma[1, n+1], b=DivisorSigma[1, n]]; If[Equal[s, 0]&&Equal[a/b, 3], Print[n]], {n, 1, 10000000}]
Position[Partition[DivisorSigma[1, Range[9*10^6]], 2, 1], _?(3#[[1]] == #[[2]]&), 1, Heads->False]//Flatten (* Harvey P. Dale, Oct 03 2017 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Oct 31 2002
STATUS
approved