Baltić, Vladimir. “Applications of the Finite State Automata for Counting Restricted Permutations and Variations”. Yugoslav Journal of Operations Research 22, no. 2 (September 1, 2012): 183–198. Accessed August 27, 2025. https://yujor.erc.fon.bg.ac.rs/index.php/yujor/article/view/339.