A115350 Termination of the aliquot sequence starting at n.
1, 2, 3, 3, 5, 6, 7, 7, 3, 7, 11, 3, 13, 7, 3, 3, 17, 11, 19, 7, 11, 7, 23, 17, 6, 3, 13, 28, 29, 3, 31, 31, 3, 7, 13, 17, 37, 7, 17, 43, 41, 3, 43, 43, 3, 3, 47, 41, 7, 43, 11, 3, 53, 3, 17, 41, 23, 31, 59, 43, 61, 7, 41, 41, 19, 3, 67, 31, 13, 43, 71, 3, 73, 43, 7, 41, 19, 3, 79, 41, 43, 43
Offset: 1
Keywords
Examples
a(12)=3 since the aliquot sequence starting at 12 is: 12 - 16 - 15 - 9 - 4 - 3. a(95)=6 since the aliquot sequence starting at 95 is: 95 - 25 - 6 - 6 ...
Links
- W. Creyaufmueller, Aliquot Sequences.
- R. J. Mathar, Table of n, a(n) for n= 1,...,12572 with -1 substituted for a(n) where terminations are not yet known.
- R. J. Mathar, Illustration of Aliquot Sequence Mergers (2014)
- Paul Zimmerman, Aliquot Sequences.
Crossrefs
Programs
-
Mathematica
a[n_] := If[n == 1, 1, FixedPointList[If[# > 0, DivisorSigma[1, #] - #, 0]&, n] /. {k__, 1, 0, 0} :> {k} // Last]; Array[a, 100] (* Jean-François Alcover, Mar 28 2020 *)
Extensions
Edited by N. J. A. Sloane, Aug 14 2006
a(61)-a(80) from R. J. Mathar's list by Robert Price, Mar 16 2019
Comments