user14969315
user14969315

Reputation:

Is the following true: log(k!)=O(k)

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

Answers (1)

Zvi Mints
Zvi Mints

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!) = ...

enter image description here

Note: Sorry for this type of writing, still learning Stackoverflow math writing...

Upvotes: 3

Related Questions