541,949 research outputs found

    On the Number of Closed Factors in a Word

    Get PDF
    A closed word (a.k.a. periodic-like word or complete first return) is a word whose longest border does not have internal occurrences, or, equivalently, whose longest repeated prefix is not right special. We investigate the structure of closed factors of words. We show that a word of length nn contains at least n+1n+1 distinct closed factors, and characterize those words having exactly n+1n+1 closed factors. Furthermore, we show that a word of length nn can contain Θ(n2)\Theta(n^{2}) many distinct closed factors.Comment: Accepted to LATA 201

    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=x1x2x3⋯x=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 w∈Aw\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 x∈AN,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 inf⁡n∈NOpx(n)=+∞\liminf_{n\in \mathbb{N}} Op_x(n)=+\infty and lim sup⁡n∈SClx(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 inf⁡n∈NClx(n)<+∞.\liminf_{n\in \mathbb{N}}Cl_x(n)<+\infty. Keywords: word complexity, periodicity, return words

    Palindromes in infinite ternary words

    Get PDF
    We study infinite words u over an alphabet A satisfying the property P : P(n)+ P(n+1) = 1+ #A for any n in N, where P(n) denotes the number of palindromic factors of length n occurring in the language of u. We study also infinite words satisfying a stronger property PE: every palindrome of u has exactly one palindromic extension in u. For binary words, the properties P and PE coincide and these properties characterize Sturmian words, i.e., words with the complexity C(n)=n+1 for any n in N. In this paper, we focus on ternary infinite words with the language closed under reversal. For such words u, we prove that if C(n)=2n+1 for any n in N, then u satisfies the property P and moreover u is rich in palindromes. Also a sufficient condition for the property PE is given. We construct a word demonstrating that P on a ternary alphabet does not imply PE.Comment: 12 page

    Two results on words

    Get PDF
    The study of combinatorial patterns of words has raised great interest since the early 20th century. In this master's thesis presentation we study two combinatorial patterns. The first pattern is “abelian k-th power free” and the second one is “representability of sets of words of equal length”. For the first pattern we study the context-freeness of non-abelian k-th powers. A word is a non-abelian k-th power if it cannot be factorized in the form w1w2...wk where the wi are permutations of w1 for 2 ≀ i ≀ k. We show that neither the language of non-abelian squares nor the language of non- abelian cubes is context-free. For the second pattern we study the representability of a set of words of fixed length. A set S of words of length n is representable if there exists some word w such that the set of length-n factors of w equals S. We will give lower and upper bounds for the number of such representable sets. Furthermore, we study a variation of the problem: we fix a length t, and try to evaluate the number of sets of words of length n such that there exists some word w of length t such that the set of length-n factors of w equals S. We give a closed-form formula in the case where n ≀ t < 2n. In particular, we give a characterization on two distinct words having the same subset of length-n factors

    Enumeration and Structure of Trapezoidal Words

    Full text link
    Trapezoidal words are words having at most n+1n+1 distinct factors of length nn for every n≄0n\ge 0. They therefore encompass finite Sturmian words. We give combinatorial characterizations of trapezoidal words and exhibit a formula for their enumeration. We then separate trapezoidal words into two disjoint classes: open and closed. A trapezoidal word is closed if it has a factor that occurs only as a prefix and as a suffix; otherwise it is open. We investigate open and closed trapezoidal words, in relation with their special factors. We prove that Sturmian palindromes are closed trapezoidal words and that a closed trapezoidal word is a Sturmian palindrome if and only if its longest repeated prefix is a palindrome. We also define a new class of words, \emph{semicentral words}, and show that they are characterized by the property that they can be written as uxyuuxyu, for a central word uu and two different letters x,yx,y. Finally, we investigate the prefixes of the Fibonacci word with respect to the property of being open or closed trapezoidal words, and show that the sequence of open and closed prefixes of the Fibonacci word follows the Fibonacci sequence.Comment: Accepted for publication in Theoretical Computer Scienc

    A Note on Symmetries in the Rauzy Graph and Factor Frequencies

    Get PDF
    We focus on infinite words with languages closed under reversal. If frequencies of all factors are well defined, we show that the number of different frequencies of factors of length n+1 does not exceed 2C(n+1)-2C(n)+1.Comment: 7 page

    On Theta-palindromic Richness

    Get PDF
    In this paper we study generalization of the reversal mapping realized by an arbitrary involutory antimorphism Θ\Theta. It generalizes the notion of a palindrome into a Θ\Theta-palindrome -- a word invariant under Θ\Theta. For languages closed under Θ\Theta we give the relation between Θ\Theta-palindromic complexity and factor complexity. We generalize the notion of richness to Θ\Theta-richness and we prove analogous characterizations of words that are Θ\Theta-rich, especially in the case of set of factors invariant under Θ\Theta. A criterion for Θ\Theta-richness of Θ\Theta-episturmian words is given together with other examples of Θ\Theta-rich words.Comment: 14 page

    Languages invariant under more symmetries: overlapping factors versus palindromic richness

    Full text link
    Factor complexity C\mathcal{C} and palindromic complexity P\mathcal{P} of infinite words with language closed under reversal are known to be related by the inequality P(n)+P(n+1)≀2+C(n+1)−C(n)\mathcal{P}(n) + \mathcal{P}(n+1) \leq 2 + \mathcal{C}(n+1)-\mathcal{C}(n) for any n∈Nn\in \mathbb{N}\,. Word for which the equality is attained for any nn is usually called rich in palindromes. In this article we study words whose languages are invariant under a finite group GG of symmetries. For such words we prove a stronger version of the above inequality. We introduce notion of GG-palindromic richness and give several examples of GG-rich words, including the Thue-Morse sequence as well.Comment: 22 pages, 1 figur
    • 

    corecore