login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A036430
Number of iterations needed to reach 1 under the map n -> Omega(n).
4
0, 1, 1, 2, 1, 2, 1, 2, 2, 2, 1, 2, 1, 2, 2, 3, 1, 2, 1, 2, 2, 2, 1, 3, 2, 2, 2, 2, 1, 2, 1, 2, 2, 2, 2, 3, 1, 2, 2, 3, 1, 2, 1, 2, 2, 2, 1, 2, 2, 2, 2, 2, 1, 3, 2, 3, 2, 2, 1, 3, 1, 2, 2, 3, 2, 2, 1, 2, 2, 2, 1, 2, 1, 2, 2, 2, 2, 2, 1, 2, 3, 2, 1, 3, 2, 2, 2, 3, 1, 3, 2, 2, 2, 2, 2, 3, 1, 2, 2, 3, 1, 2, 1, 3, 2
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
Sequence in context: A051034 A024935 A082477 * A323305 A322794 A163377
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