OFFSET
1,3
COMMENTS
This is the definition of log2* as given by Wikipedia on Nov 03 2013.
If a(n) = k, then n = 2^2^2^...^2^x, where x is in the range 0 < x <= 1 and there are k 2's in the tower. For example a(5)=3 and 5 = 2^2^2^.28134014520...
LINKS
Wikipedia, Iterated Logarithm
FORMULA
a(1)=0; thereafter a(n) = A010096(n-1).
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Nov 03 2013
STATUS
approved