where
\({\binom {n}{k}} = \text{n choose k} = {\frac {n!}{k!(n-k)!}}\) .
Consider an infinite repository containing balls of $n$ different types. Then the following table summarizes the number of distinct ways in which $k$ balls can be picked for four common definitions of โdistinct.โ
category | number of possible outcomes |
---|---|
ordered sampling with replacement | $n^k$ |
ordered sampling without replacement | $P(n,k)={n\cdot (n-1)\cdot (n-2)\cdots (n-k+1)}$ |
unordered sampling without replacement | $\binom{n}{k}$ |
unordered sampling with replacement | $\binom{n + k - 1}{k}$ |
The last case can be considered k icecream scoops with (n - 1) moves to the next type.
(proof by interpretation)
Chooseing $k$ people out of $n$ people is also picking the other $n-k$ people not to choose.
To pick a leader from a group of $k$ members,