This is LaTeX code:
[latex]
\displaystyle (1+\frac{1}{n+2})^{n+4}
[/latex]