Richmond, L. B., and Jeffrey Shallit. 2009. “Counting Abelian Squares”. The Electronic Journal of Combinatorics 16 (1), R72. https://doi.org/10.37236/161.