Multinomial distribution
A multinomial random variable $X$ of parameters $n\in\N$ and $(p_1, p_2, \ldots, p_k)$ where $p_i\geq 0$ and $p_1+p_2+\ldots+p_k = 1$ has a distribution on the set of ordered partitions $(n_1, n_2, \ldots, n_k)$ of $n$, i.e. $n_1+n_2+\ldots+n_k = n$, given by $$ p_{(n_1,n_2,\ldots, n_k)} = \pmat{n \\ n_1, n_2, \ldots, n_k} p_1^{n_1}\times p_2^{n_2}\times \ldots \times p_k^{n_k}. $$
Use this to model the number of balls in each of $k$ boxes when we assign $n$ balls independently to box $i$ with probability $p_i$.