Random variables and their distributions

A random variable gives a number to each outcome; its probability mass function lists $P(X = x)$ for each value, the values sum to $1$, and that distribution answers every question about $X$.

From Probability.