This is LaTeX code:

[latex]
\displaystyle \mathbb{E}\left[ c^X \right] = c^{-1} \mathbb{P}(X = -1) + c^1 \mathbb{P}(X = 1)
[/latex]