Baltić, V.. "Applications of the finite state automata for counting restricted permutations and variations." Yugoslav Journal of Operations Research [Online], 22.2 (2012): n. pag. Web. 8 May. 2024