retagged by
1,693 views

3 Answers

1 votes
1 votes

= log1n + log2n + log3n +log4n .............lognn

= logn/log1 + logn /log2 +logn/log3 +logn/log4 .......... logn/logn (By using property of log )

= logn ( 1/log1 +1/log2 + 1/log3 +1/log4............1/logn ) 

= O(logn)

0 votes
0 votes
Answer is 1 for n=1 and infinity for all other values.

This can be done by substituting 1 and 2,3,4..in place of n.

For n=1, log 1 base 1 is 1 while for n=2, 3.. Log2 base 1 is infinity
0 votes
0 votes
f(n)=logn{1/log2+1/log3+1/log4+1/log5+1/log6+1/log7+1/log/8+1/log9+1/log10+1/log11+.........1/logn} (base is 10)

let sum of first nine term be k where k is some constant and sum of remaining term will be <2(less than 2,let it's x))

f(n)=logn{k+x}

f(n)=klogn+xlogn

so,f(n)=O(logn)

Related questions

1 votes
1 votes
2 answers
1
Sidd_ asked Jun 4, 2017
528 views
Is n^2 2^(3log base 2 n) = theta (n^5).
0 votes
0 votes
2 answers
2
dragonball asked Aug 2, 2018
392 views
How the slowness and the fastness of any algorithm depends ?Is (n/logn) is slower than log(logn) ?
1 votes
1 votes
3 answers
3
Anu asked May 18, 2015
1,177 views
which of the following is correct?
0 votes
0 votes
1 answer
4
piyushkr asked Jan 10, 2016
236 views
What is the difference between $\log^m n$ and $(\log n)^m.$ Can anyone explain?