This is LaTeX code:
[latex]
P(X=k)=p^{k}(1-p)^{1-k}
[/latex]