OFFSET
1,1
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..500
FORMULA
EXAMPLE
a(1) = sigma(2)/sigma(1) = 3/1 = 3.
a(2) = sigma(6)/sigma(5) = 12/6 = 2.
a(3) = sigma(15)/sigma(14) = 24/24 = 1.
MATHEMATICA
Do[s=Mod[a=DivisorSigma[1, n+1], b=DivisorSigma[1, n]]; If[Equal[s, 0], Print[a/b]], {n, 1, 10000000}]
Select[#[[2]]/#[[1]]&/@Partition[DivisorSigma[1, Range[10^6]], 2, 1], IntegerQ] (* Harvey P. Dale, Dec 26 2015 *)
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
Labos Elemer, Oct 31 2002
STATUS
approved