This is LaTeX code:

[latex]
P(s)=p^k(s+\frac{1-p}{p})^k
[/latex]