Definition (distribution and mass function of discrete random variable)

Given a discrete random variable $X$ with values in a countable set $S$, the distribution of $X$ is a discrete distribution $\mu_X$ on $\R$ by $$ \mu_X(B) = \prob(X\in B). $$

The mass function of $X$ is $$ p_x = \mu_X(\set{x}) = \prob(X=x). $$