Elementary combinatorics: Factorial and binomial coefficient
Factorial
Just as you shorten \(\blue{\overbrace{\color{black}{a \times a \times \cdots \times a}}^{n\mathrm{\;times}}}\) to \(a^n\), you also have a short notation for \(n\cdot (n-1)\cdots 3\cdot 2\cdot 1\), which is \(n!\). We pronounce this as ``\(n\) factorial''.
The factorial of a natural number \(n\) is defined as follows: \[\begin{cases} n! =n\cdot (n-1)\cdots 3\cdot 2\cdot 1 & \text{for } n\in\mathbb{N}\backslash\{0\}\\ 0!=1&\end{cases}\]
Application 1 The number of ways in which \(n\) different objects can be arranged is equal to \(n!\).
In other words, the number of permutations of \(n\) things (i.e. the number of arrangements of \(n\) things) is equal to \(n!\).
Application 2 The number of permutations of \(n\) things of which \(m\) are the same and the remainder is different is equal to \(\dfrac{n!}{m!}\).
Properties For all \(m,n\in\mathbb{N}\) with \(m<n\) the following rules apply: \[\begin{aligned} n!&=n\cdot (n-1)!\\[0.25cm] \frac{n!}{m!} &= (m+1)\cdot (m+2)\cdots (n-1)\cdot n\end{aligned}\]