Counting Abelian Squares More Efficiently
arXiv:2203.11886
Abstract
I present a recursive formula for calculating the number of abelian squares of length over an alphabet of size . The presented formula is similar to a previously known formula but has substantially lower complexity when .
arXiv comment6 pages, 2 figures