-1

Can anyone help me demonstrate these two statements?

$$ n! = o(n/2)^n $$

$$ n! = o(n/3)^n $$

I am sure about the first one but I don't know how to demonstrate it. As for the second one I am not sure whether it is true or not.

David Richerby
  • 82,470
  • 26
  • 145
  • 239
dan369
  • 7
  • 1

1 Answers1

2

These statements have nothing to do with time complexity. They have everything to do with asymptotics.

Hint: Use Stirling's approximation: $$ n! \sim \sqrt{2\pi n}\left(\frac{n}{e}\right)^n. $$ Use the fact that $2 < e < 3$.

Yuval Filmus
  • 280,205
  • 27
  • 317
  • 514