Phetmak, N., and J. Fakcharoenphol. “Uniformly Generating Derangements With Fixed Number of Cycles in Polynomial Time: Discrete and Computational Geometry, Graphs, and Games”. Thai Journal of Mathematics, vol. 21, no. 4, Dec. 2023, pp. 899–915, https://thaijmath2.in.cmu.ac.th/index.php/thaijmath/article/view/1555.