This is LaTeX code:

[latex]
lim ( i pod limesom stoji n\rightarrow \infty) \frac{2+5+8 +....+(3n-1)}{n^2 +1}
[/latex]