OFFSET
1,3
COMMENTS
The adjusted frequency depth of a positive integer n is 0 if n = 1, and otherwise it is one plus the number of times one must apply A181819 to reach a prime number, where A181819(k = p^i*...*q^j) = prime(i)*...*prime(j) = product of primes indexed by the prime exponents of k. For example, 180 has adjusted frequency depth 5 because we have: 180 -> 18 -> 6 -> 4 -> 3.
FORMULA
a(n) = A323014(n!).
EXAMPLE
Recursively applying A181819 starting with 120 gives 120 -> 20 -> 6 -> 4 -> 3, so a(5) = 5.
MATHEMATICA
fd[n_]:=Switch[n, 1, 0, _?PrimeQ, 1, _, 1+fd[Times@@Prime/@Last/@FactorInteger[n]]];
Table[fd[n!], {n, 30}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Apr 18 2019
STATUS
approved