This is LaTeX code:

[latex]
n*(-1)^{\left \lfloor \frac{n}{2} \right \rfloor}
[/latex]