This is LaTeX code:
[latex]
\displaystyle\lim_{n}\sum_{i=1}^{n-1}T(i)=1-\sqrt{2}
[/latex]