OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000 (terms 1..1000 from M. F. Hasler)
MATHEMATICA
f[n_] := If[(ab = DivisorSigma[1, n] - 2*n) > 0 , DivisorSum[n, # &, # < ab &], Nothing]; Array[f, 300] (* Amiram Eldar, Apr 06 2024 *)
PROG
(PARI) f(n)=my(A=sigma(n)-2*n, s); fordiv(n, d, (d<A && s+=d) || break); s
for(n=1, 500, sigma(n)>2*n & print1(f(n)", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
M. F. Hasler, Apr 19 2012
STATUS
approved