0

Just starting to learn big-oh and asymptotic analysis and I am stuck on this particular proof:

How can we prove 2^n is O(n!)? Thanks

1 Answers1

0

To prove this, all you have show is that there exists some C such that

2n <= C*n!

for all n greater than some n0. This is trivial once you realize that both 2n and n! are products with n terms.

NPE
  • 486,780
  • 108
  • 951
  • 1,012