retagged by
2,847 views
3 votes
3 votes
consider the following functions f(n)=log*(log n) , g(n)=log(log* n) relations between these 2 function. please help
retagged by

1 Answer

Best answer
8 votes
8 votes
$f(n)=\log^*(\log n)$

$= \log^* n - 1$ from definition of $\log^*$ which is to take $\log$ recursively until we get 1.

$g(n)=\log(\log^* n)$ is clearly a smaller growing function than $f$ as it is growing in $\log$ terms to $f$. So,

$$g(n) = O(f(n))$$
selected by

Related questions

7 votes
7 votes
2 answers
1
anshul namdeo asked Jun 6, 2016
12,849 views
Which of the following is true? a. h(n) is O(f(n)) b. h(n) is O(g(n)) c. g(n) is not O(f(n)) d. f(n) is O(g(n))Why not answer c because both f(n) and g(n) have of same or...
0 votes
0 votes
1 answer
2
nilamd asked Jan 31, 2016
2,847 views
1 votes
1 votes
3 answers
3
0 votes
0 votes
3 answers
4
radha gogia asked Jan 29, 2016
2,143 views
If c is non-negative but not infinite then :1.f(n)=O(g(n))2.f(n)=⊖(g(n)) According to me :it is saying that c is non-negative and not infinite so if g(n) tends to z...