This is LaTeX code:
[latex]
i \in \left\{1,\, 2,\, 3,\, 4,\, 5\right\}
[/latex]