A098010 Record lengths of transient part of aliquot sequences corresponding to entries in A098009.
1, 2, 3, 4, 7, 15, 18, 178
Offset: 1
Examples
138 has a transient of length 177 (see Guy's book).
Programs
-
Mathematica
g[n_] := If[n > 0, DivisorSigma[1, n] - n, 0]; f[n_] := NestWhileList[g, n, UnsameQ, All]; a = -1; Do[b = Length[ f[n]] - 2; If[b > a, a = b; Print[b]], {n, 275}] (* Robert G. Wilson v, Sep 10 2004 *)
Extensions
18 and 178 from Robert G. Wilson v, Sep 10 2004