OFFSET
1,1
LINKS
Robert G. Wilson v, Table of n, a(n) for n = 1..10000 (first 9884 terms from Richard J. Mathar)
Mersenne Forum, Given sigma(n)-n, find the smallest possible n
FORMULA
EXAMPLE
For n=128: a(128)=16129, divisors={1,127,16129}, 1+127=sigma(n)-n=128 and 16129 is the smallest.
MATHEMATICA
f[x_] := DivisorSigma[1, x]-x; t=Table[0, {128}]; Do[c=f[n]; If[c<129&&t[[c]]==0, t[[c]]=n], {n, 1000000}]; t
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Apr 12 2002
STATUS
approved