Published Online: Nov 01, 2019
Page range: 91 - 108
Received: Oct 14, 2018
Accepted: Jan 04, 2019
DOI: https://doi.org/10.1515/puma-2015-0034
Keywords
© 2019 José L. Ramirez et al., published by Sciendo
This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 License.
We consider a generalization of the problem of counting ternary words of a given length which was recently investigated by Koshy and Grimaldi [10]. In particular, we use finite automata and ordinary generating functions in deriving a