This is LaTeX code:
[latex]
S_n \sim B(n, \frac{1}{2})
[/latex]