OFFSET
1,4
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = a(bigomega(n)) + 1 for n > 1. - Vladeta Jovovic, Jul 10 2004
a(n) = O(log* n). - Charles R Greathouse IV, Apr 25 2012
EXAMPLE
16 -> 4 -> 2 -> 1 and thus a(16) = 3.
PROG
(PARI) a(n)=my(s); while(n>1, n=bigomega(n); s++); s \\ Charles R Greathouse IV, Apr 25 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
Corrected and extended by Antonio G. Astudillo (afg_astudillo(AT)lycos.com), Apr 21 2003
Formula corrected by Charles R Greathouse IV, Apr 25 2012
STATUS
approved