Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does "log*" mean?

Tags:

I have come across the term O(log* N) in a book I'm reading on data structures. What does log* mean? I cannot find it on Google, and WolframAlpha doesn't understand it either.

like image 775
pauldoo Avatar asked Sep 26 '10 11:09

pauldoo


People also ask

What does a log mean in math?

A logarithm is the power to which a number must be raised in order to get some other number (see Section 3 of this Math Review for more about exponents). For example, the base ten logarithm of 100 is 2, because ten raised to the power of two is 100: log 100 = 2.

What is a log used for?

Logarithms are the inverse of exponents. A logarithm (or log) is the mathematical expression used to answer the question: How many times must one “base” number be multiplied by itself to get some other particular number? For instance, how many times must a base of 10 be multiplied by itself to get 1,000?

What do log means?

In algebra, “log” is short for “logarithm.” Logarithms are the opposites, or inverses, of equations involving exponents, like y = x^3. In their simplest form, logs help to determine how many of one number must be multiplied to obtain another number.


1 Answers

It's called iterated logarithm function. It is a very slowly growing function. For example:

  • lg*(2) = 1
  • lg*(4) = 2
  • lg*(16) = 3
  • lg*(65536) = 4
  • lg*(2^65536) = 5 /note that (2^65536) is much larger than the number of atoms in the observable universe/

Or in the case of Big O it could pretty much be considered as constant time.

like image 168
Darin Dimitrov Avatar answered Sep 21 '22 18:09

Darin Dimitrov