How could I prove that $O(5^n)$ is dominated by $O(n!)$ by using induction?
Or: $5^n \in O(n!)$
I've got the basic formulas written out in regards to $f(k+1)$ but I'm just not sure how to proceed.
How could I prove that $O(5^n)$ is dominated by $O(n!)$ by using induction?
Or: $5^n \in O(n!)$
I've got the basic formulas written out in regards to $f(k+1)$ but I'm just not sure how to proceed.
Hint:
Set $u_n=\dfrac{5^n}{n!}$ and use the ratio test to show that $5^n=o(n!)$. A fortiori, $5^n=O(n!)$.