This is LaTeX code:
[latex]
\displaystyle\sum_{k=1}^{\infty}\frac{1}{k}(1-p)^k
[/latex]