Reputation:
Is it correct to claim that log(k!)=O(k)? I searched for a proof but didn't find any on the web.
Upvotes: 0
Views: 152
Reputation: 1142
No, By Striling's approximation
k! ~ (k/e)^k * sqrt2 of (2*phi*k)
Therefore its Omega of (klogk) which is not O(k) See the following:
Left side:
log(n!) = ...
Note: Sorry for this type of writing, still learning Stackoverflow math writing...
Upvotes: 3