This is LaTeX code:
[latex]
i,j \in \{1, 2,...,n\}
[/latex]