This is LaTeX code:

[latex]
\frac{(n+1)((n+1)+1)}{2(2(n+1)+1)}
[/latex]