OFFSET
0,1
COMMENTS
The sum-of-divisor function A000203 and aliquot parts A001065 are defined only for positive integers, so the trajectory ends when 0 is reached, here at index 11. - M. F. Hasler, Feb 24 2018
REFERENCES
R. K. Guy, Unsolved Problems in Number Theory, B6.
LINKS
FORMULA
a(n+1) = A001065(a(n)). - R. J. Mathar, Oct 11 2017
MAPLE
f := proc(n) option remember; if n = 0 then 60; else sigma(f(n-1))-f(n-1); fi; end:
MATHEMATICA
NestList[If[#==0, 0, DivisorSigma[1, #]-#]&, 60, 80] (* Harvey P. Dale, Nov 29 2013 *)
PROG
(PARI) a(n, a=60)=for(i=1, n, a=sigma(a)-a); a \\ Will raise an error for n > 11, in agreement with the definition. - M. F. Hasler, Feb 24 2018
CROSSREFS
KEYWORD
nonn,fini,full
AUTHOR
EXTENSIONS
Edited by M. F. Hasler, Feb 24 2018
STATUS
approved