On the 2-abelian complexity of generalized Cantor sequences☆
Introduction
In recent years, abelian complexity of infinite sequences has been a widely studied topic. Early in the seventies of the last century, Coven and Hedlund [5] showed that the periodic and Sturmian words both can be characterized by using Parikh vectors. In 2011, Richomme, Saari and Zamboni [13] formally introduced abelian complexity through Parikh vectors. In the same paper, they characterized Thue-Morse minimal subshift by its factor complexity and abelian complexity simultaneously. Thereafter, the abelian complexity of some notable words, such as the regular paperfolding word and the Rudin-Shapiro word, were studied in [10] and [9] respectively. Madill and Rampersad [10] raised a question that whether the abelian complexity of any b-automatic sequence is always b-regular. In 2016, Blanchet-Sadri, Seita and Wise [3] proved that the abelian complexity of binary word w is ℓ-regular if w is a fixed point of arbitrary ℓ-uniform morphism φ satisfying that .
The k-abelian complexity, as a generalization of abelian complexity, was firstly introduced in 1981 by Karhumäki [7]. The formal definition of the k-abelian complexity was given in 2013 by Karhumäki, Saarela and Zamboni [8]. Meanwhile, they computed the k-abelian complexity of all Sturmian words for every and characterized ultimately periodic words by the k-abelian complexity. In 2014, Vandomme, Parreau and Rigo [12] conjectured that the 2-abelian complexity of the Thue-Morse word is 2-regular. An affirmative answer has been given independently by Greinecker [6] and by Parreau, Rigo, Rowland and Vandomme [11]. It is notable that in [11] they also proved that the 2-abelian complexity of the period-doubling word is 2-regular and raised the following general conjecture. Conjecture 1 The 2-abelian complexity of any b-automatic sequence is b-regular.
For any infinite sequence w, we say the factor set of w is mirror-invariant if the reversal of u is also a factor of w whenever a finite word u is a factor of w. It is not hard to obtain that the factor set of the generalized Cantor sequence c is mirror-invariant if and only if is a palindrome, i.e., where denotes the reversal of u. By the definition of the morphism σ, . Following from [3] or Lemma 4 in Section 3, the abelian complexity of any generalized Cantor sequence c is ℓ-regular. In this paper, we focus on the 2-abelian complexity of c whose factor set is mirror-invariant. The first theorem is about the abelian complexity of the corresponding 2-block coding word (see Definition 4).
Theorem 1 If the factor set of the generalized Cantor sequence c is mirror-invariant, then the abelian complexity of the 2-block coding sequence x of c is ℓ-regular.
Before stating the second theorem, we need some notations. Let Let and . For any two sets and any two numbers , set and . For convenience, write . Now we have the following result about the 2-abelian complexity of c. Theorem 2 If the factor set of the generalized Cantor sequence c is mirror invariant and , then the 2-abelian complexity of c is ℓ-regular.
This paper is organized as follows. In Section 2, we will recall some basic definitions and notations. In Section 3, Theorem 1 will be proved. In the last section, we will prove Theorem 2.
Section snippets
Preliminary
An alphabet Σ is a finite and non-empty set (of symbols) whose elements are called letters. A finite word over the alphabet Σ is a concatenation of letters in Σ. Let denote the set of all finite words over Σ including the empty word ε. When these finite words are of the same length ℓ, we write instead of . The concatenation of two finite words and is defined by For any , let be the length of ω. We adopt the
The proof of Theorem 1
For the generalized Cantor sequence c, let denote the 2-block coding word , in other words, for every , Note that for every , and thus . Hence for every . First we give some properties of factors of the word x.
Lemma 1 If u is any factor of length of c, let . Then Proof It follows from and that and . Moreover, since
The proof of Theorem 2
The following lemma gives an equivalent definition of k-abelian equivalence. Lemma 7 Let be two words of length at least over the alphabet Σ. Then, if and only if (resp. ) and for every . Proposition 3 For all with , let and . Then if and only if [8], Lemma 2.3
Declaration of Competing Interest
The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
Acknowledgement
We warmly thank the referees for their careful reading of the manuscript and their comments.
References (13)
- et al.
The ring of k-regular sequences
Theor. Comput. Sci.
(1992) - et al.
Computing abelian complexity of binary uniform morphic words
Theor. Comput. Sci.
(2016) On the 2-abelian complexity of the Thue-Morse word
Theor. Comput. Sci.
(2015)- et al.
On a generalization of abelian equivalence and complexity of infinite words
J. Comb. Theory, Ser. A
(2013) - et al.
On the abelian complexity of the Rudin-Shapiro sequence
J. Math. Anal. Appl.
(2017) - et al.
The abelian complexity of the paperfolding word
Discrete Math.
(2013)