This is LaTeX code:

[latex]
(-1)^n
[/latex]