Stoyan, Y. G., I. V. Grebennik, V. V. Kalashnikov, and O. S. Lytvynenko. “Enumeration and Generation of Permutations With a Partially Fixed Order of Elements”. International Journal of Combinatorial Optimization Problems and Informatics, vol. 8, no. 1, Jan. 2018, pp. 19-30, https://ijcopi.org/ojs/article/view/4.