On a generalization of Abelian equivalence and complexity of infinite words
arXiv:1301.5104
Abstract
In this paper we introduce and study a family of complexity functions of infinite words indexed by $k \in \ints ^+ \cup {+\infty}.$ Let $k \in \ints ^+ \cup {+\infty}$ and be a finite non-empty set. Two finite words and in are said to be -Abelian equivalent if for all of length less than or equal to the number of occurrences of in is equal to the number of occurrences of in This defines a family of equivalence relations on bridging the gap between the usual notion of Abelian equivalence (when ) and equality (when We show that the number of -Abelian equivalence classes of words of length grows polynomially, although the degree is exponential in Given an infinite word $ω\in A^\nats,$ we consider the associated complexity function $\mathcal {P}^{(k)}_ω:\nats \rightarrow \nats$ which counts the number of -Abelian equivalence classes of factors of of length We show that the complexity function is intimately linked with periodicity. More precisely we define an auxiliary function $q^k: \nats \rightarrow \nats$ and show that if for some $k \in \ints ^+ \cup {+\infty}$ and the is ultimately periodic. Moreover if is aperiodic, then if and only if is Sturmian. We also study -Abelian complexity in connection with repetitions in words. Using Szemerédi's theorem, we show that if has bounded -Abelian complexity, then for every $D\subset \nats$ with positive upper density and for every positive integer there exists a -Abelian power occurring in at some position