This is LaTeX code:
[latex]
S=\{1,x,x^2,x^3\}
[/latex]