This is LaTeX code:

[latex]
i \in \{0,1,\dots,n-1\}
[/latex]