OFFSET
1,3
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
For n = 108, a(108) = 9 because the sequence of iterates is {108!, 798687560466432000, 7920, 60, 12, 6, 4, 3, 2}, and its length is 9.
MATHEMATICA
a[n_] := -1 + Length @ FixedPointList[DivisorSigma[0, #] &, n!]; Array[a, 100] (* Amiram Eldar, Aug 17 2024 *)
PROG
(PARI) a(n) = {my(f = n!, c = 1); while(f > 2, f = numdiv(f); c++); c; } \\ Amiram Eldar, Aug 17 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Feb 24 2000
STATUS
approved