This is LaTeX code:

[latex]
S_2=\bigg\{ \bigg(\frac{2n-1}{2m-1}\bigg)^2 -3\frac{2n-1}{2m-1} +2 : \ m,n \in \mathbb{N}, \frac{2n-1}{2m-1} \leq 2\bigg\}
[/latex]