Big - Oh proof $n^{2^n} = O(2^{2^n})$

60 Views Asked by At

But the book asks me to prove that it's correct: $$n^{2^n} + 6*2^n = O(2^{2^n})$$ But I think, it's an incorrect one. Because, it's correct only for $n < 2$.

1

There are 1 best solutions below

0
On BEST ANSWER

$$f(x)=O(g(x))\quad\mbox{ iff }\quad\limsup_{x\rightarrow\infty}\frac{f(x)}{g(x)}<\infty$$

But

$$\limsup_{n\rightarrow\infty}\frac{n^{2^n}}{2^{2^n}}=\limsup_{n\rightarrow\infty}\left(\frac{n}{2}\right)^{2^n}=\infty$$

Hence $n^{2^n}\neq O(2^{2^n})$