This is LaTeX code:
[latex]
x_i \in \{0,2,4,\ldots 18\}
[/latex]