What are the elements of order $2$ of the symmetric group $S_n$?
I've tried listing some of the sets for small $n$ to get a better understanding but I'm really not sure:
$S_1$ has only one element and that's order $1$. $S_2$ has elements $\begin{pmatrix}1&2\\1&2\end{pmatrix}$ and $\begin{pmatrix}1&2\\2&1\end{pmatrix}$ ; the first of these is order $1$ and the second is order $2$.
I don't know how to proceed though.
Hint: any permutation is a a product of disjoint cycles. If $\sigma_1, \sigma_2, \ldots, \sigma_k$ are disjoint cycles, the order of $\sigma= \sigma_1\sigma_2\cdots\sigma_k$ is the least common multiple of the orders of the $\sigma_i$. So what can you say about the orders of the $\sigma_i$ if the order of $\sigma$ is $2$?