“…On the one hand, the factor complexity of a given infinite word w is a function ρ w : N → N that maps an integer n to the number of distinct factors of w of length n. On the other hand, the abelian complexity of w is a function ρ ab w : N → N that maps an integer n to the number of distinct Parikh vectors of factors of w of length n. Parikh vectors, which appear in the literature under various names such as compomers [5,6], jumbled patterns [8,7], permutation patterns [9,18,24], commutative closures [19], content vectors [19], to name a few, are vectors that record the frequency of each letter in the factors. So the abelian complexity counts the number of distinct factors of a given length up to letter permutation.…”