TOPICS
Search

Iterated Logarithm


The iterated logarithm, or log-star function, counts the number of repeated applications of a logarithm needed to obtain a value at most 1. For a fixed base b>=2, it can be defined recursively by

 log_b^*x={0   0<x<=1; 1+log_b^*(log_bx)   x>1.
(1)

For example, log_2^*16=3, since 16|->4|->2|->1. The function grows extremely slowly. Changing the fixed base changes its value by at most an additive constant in the asymptotic settings where it occurs.

In the analysis of algorithms, the iterated logarithm is distinct from a k-fold nested logarithm: log_b^*x returns the required number of iterations, whereas a nested logarithm with fixed depth k returns the value after exactly k iterations.


See also

Ackermann Function, Logarithm, Nested Logarithm

Explore with Wolfram|Alpha

References

Cormen, T. H.; Leiserson, C. E.; Rivest, R. L.; and Stein, C. Introduction to Algorithms, 3rd ed. Cambridge, MA: MIT Press, pp. 58-59, 2009.

Referenced on Wolfram|Alpha

Iterated Logarithm

Cite this as:

Weisstein, Eric W. "Iterated Logarithm." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/IteratedLogarithm.html

Subject classifications