OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
n=193,195,195 have 2,4,8 divisors.
MATHEMATICA
d0[x_] :=DivisorSigma[0, x]; ta={{0}}; Do[g=n; s=d0[n]; s1=d0[n+1]; s2=d0[n+2]; If[Equal[s1, 2*s]&&Equal[s2, 4*s], ta=Append[ta, n]; Print[{n, s, s1, s2}]], {n, 1, 10000}]; {ta=Delete[ta, 1], g}
Flatten[Position[Partition[DivisorSigma[0, Range[6200]], 3, 1], _?(Length[ Union[ #/{1, 2, 4}]] == 1&), {1}, Heads->False]] (* Harvey P. Dale, Aug 03 2014 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Nov 19 2004
STATUS
approved