This is LaTeX code:
[latex]
\Omega = \{ 1, 2, \ldots, n \}^2
[/latex]