36 research outputs found

    Cyclic Complexity of Words

    Get PDF
    We introduce and study a complexity function on words cx(n),c_x(n), called \emph{cyclic complexity}, which counts the number of conjugacy classes of factors of length nn of an infinite word x.x. We extend the well-known Morse-Hedlund theorem to the setting of cyclic complexity by showing that a word is ultimately periodic if and only if it has bounded cyclic complexity. Unlike most complexity functions, cyclic complexity distinguishes between Sturmian words of different slopes. We prove that if xx is a Sturmian word and yy is a word having the same cyclic complexity of x,x, then up to renaming letters, xx and yy have the same set of factors. In particular, yy is also Sturmian of slope equal to that of x.x. Since cx(n)=1c_x(n)=1 for some n1n\geq 1 implies xx is periodic, it is natural to consider the quantity lim infncx(n).\liminf_{n\rightarrow \infty} c_x(n). We show that if xx is a Sturmian word, then lim infncx(n)=2.\liminf_{n\rightarrow \infty} c_x(n)=2. We prove however that this is not a characterization of Sturmian words by exhibiting a restricted class of Toeplitz words, including the period-doubling word, which also verify this same condition on the limit infimum. In contrast we show that, for the Thue-Morse word tt, lim infnct(n)=+.\liminf_{n\rightarrow \infty} c_t(n)=+\infty.Comment: To appear in Journal of Combinatorial Theory, Series

    Open and closed complexity of infinite words

    Full text link
    In this paper we study the asymptotic behaviour of two relatively new complexity functions defined on infinite words and their relationship to periodicity. Given a factor ww of an infinite word x=x1x2x3x=x_1x_2x_3\cdots with each xix_i belonging to a fixed finite set A,\mathbb{A}, we say ww is closed if either wAw\in \mathbb{A} or if ww is a complete first return to some factor vv of x.x. Otherwise ww is said to be open. We show that for an aperiodic word xAN,x\in \mathbb{A}^\mathbb{N}, the complexity functions ClxCl_x (resp. Opx)Op_x) that count the number of closed (resp. open) factors of xx of each given length are both unbounded. More precisely, we show that if xx is aperiodic then lim infnNOpx(n)=+\liminf_{n\in \mathbb{N}} Op_x(n)=+\infty and lim supnSClx(n)=+\limsup_{n\in S} Cl_x(n)=+\infty for any syndetic subset SS of N.\mathbb{N}. However, there exist aperiodic infinite words xx verifying lim infnNClx(n)<+.\liminf_{n\in \mathbb{N}}Cl_x(n)<+\infty. Keywords: word complexity, periodicity, return words

    On Infinite Prefix Normal Words

    Full text link
    Prefix normal words are binary words that have no factor with more 11s than the prefix of the same length. Finite prefix normal words were introduced in [Fici and Lipt\'ak, DLT 2011]. In this paper, we study infinite prefix normal words and explore their relationship to some known classes of infinite binary words. In particular, we establish a connection between prefix normal words and Sturmian words, between prefix normal words and abelian complexity, and between prefix normality and lexicographic order.Comment: 20 pages, 4 figures, accepted at SOFSEM 2019 (45th International Conference on Current Trends in Theory and Practice of Computer Science, Nov\'y Smokovec, Slovakia, January 27-30, 2019
    corecore