\nonstopmode
\documentclass[12pt]{article}
\pagestyle{empty}
\begin{document}
$$
Pr[X=a]={\binom  {n}{a}}\cdot p^{a}(1-p)^{{n-a}}
$$
\end{document}
