This is LaTeX code:
[latex]
\{ a_1, a_2, \ldots, a_{n - 1}, b \}
[/latex]