Is $ 2^n + n < 2^{(n+1)}$ when $ n > 2 $
How can I prove this? I need it in order to prove a language is context free
Is $ 2^n + n < 2^{(n+1)}$ when $ n > 2 $
How can I prove this? I need it in order to prove a language is context free
As $2^{n+1} = 2^n*2 = 2^n + 2^n$ so we just need to prove $2^n > n$.
We can do that by induction really easily.
For $n = 2$ then $2^n = 2^2 = 4 > 2 = n$.
And if $2^n > n$ then
$2^n + 1 > n + 1$ and
$2^{n+1} = 2*2^n = 2^n + 2^n > 2^n + 1 > n+1$.