I need to show that $$ \pi\left(n\right)\geq\log_{2}\left(\log_{2}\left(n-1\right)\right) $$ where $\pi\left(n\right)=\left|\left\{ p\mid p\text{ is prime and }p\leq n\right\} \right|$
Now i somehow think it is related with Fermat Numbers as we saw them in class and because it is sufficient to show that $$ F_{\pi\left(n\right)}:=2^{2^{\pi(n)}}+1\geq n $$
But i'm not sure how to do it. any help?
Thanks in advance