Shwartz, R. “Canonical Forms for Dihedral and Symmetric Groups”. The Electronic Journal of Combinatorics, Vol. 26, no. 4, Dec. 2019, p. P4.46, doi:10.37236/8583.