This is LaTeX code:
[latex]
f : X \rightarrow \mathbb{N} \\ f(x) = -\frac{x-1}{2}
[/latex]