This is LaTeX code:
[latex]
n={\frac {1\pm \sqrt {8m^2-8m+1}}{2}}
[/latex]