This is LaTeX code:

[latex]
3^{\frac{n+1}{n}}
[/latex]