First, we can check that this is true for small values of
\(n\text{.}\) So, we will use a strategy we have used before: use that this is true for
\(\ss_1\) to deduce that it is true for
\(\ss_2\text{,}\) then use that it is true for
\(\ss_2\) to deduce that it is true for
\(\ss_3\text{,}\) and so on. In this way, we will show it is true for every
\(n\text{.}\)
For each \(\pi\in \ss_n\text{,}\) the value \(n\) is at some position in \(\pi\text{.}\) Let \(X_i\) be the set of permutations in \(\pi\in \ss_n\) with \(\pi_i=n\text{,}\) which we can also write as:
\begin{equation*}
X_i:=\{\pi\in \ss_n:\pi_i=n\}
\end{equation*}
Since \(n\) is in only one position in each permutation, we have that
\begin{equation*}
\ss_n = X_1\uplus X_2\uplus \cdots \uplus X_n \, .
\end{equation*}
Therefore,
\begin{equation*}
|\ss_n|=|X_1| + |X_2| + \cdots + |X_n| \, .
\end{equation*}
For any \(i\text{,}\) removing \(n\) from each permutation in \(X_i\) results in a copy of \(\ss_{n-1}\text{.}\) Thus, \(X_i\) is obtained by taking \(\ss_{n-1}\) and inserting an \(n\) in the \(i\)-th position of each permutation. Thus, \(|X_i|=(n-1)!\) for every \(i\text{,}\) and hence
\begin{equation*}
|\ss_n|= n\cdot (n-1)! = n! \, .
\end{equation*}