127 research outputs found

    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 nNn\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

    Closed, Palindromic, Rich, Privileged, Trapezoidal, and Balanced Words in Automatic Sequences

    Full text link
    We prove that the property of being closed (resp., palindromic, rich, privileged trapezoidal, balanced) is expressible in first-order logic for automatic (and some related) sequences. It therefore follows that the characteristic function of those n for which an automatic sequence x has a closed (resp., palindromic, privileged, rich, trape- zoidal, balanced) factor of length n is automatic. For privileged words this requires a new characterization of the privileged property. We compute the corresponding characteristic functions for various famous sequences, such as the Thue-Morse sequence, the Rudin-Shapiro sequence, the ordinary paperfolding sequence, the period-doubling sequence, and the Fibonacci sequence. Finally, we also show that the function counting the total number of palindromic factors in a prefix of length n of a k-automatic sequence is not k-synchronized

    String attractors and combinatorics on words

    Get PDF
    The notion of string attractor has recently been introduced in [Prezza, 2017] and studied in [Kempa and Prezza, 2018] to provide a unifying framework for known dictionary-based compressors. A string attractor for a word w = w[1]w[2] · · · w[n] is a subset Γ of the positions 1, . . ., n, such that all distinct factors of w have an occurrence crossing at least one of the elements of Γ. While finding the smallest string attractor for a word is a NP-complete problem, it has been proved in [Kempa and Prezza, 2018] that dictionary compressors can be interpreted as algorithms approximating the smallest string attractor for a given word. In this paper we explore the notion of string attractor from a combinatorial point of view, by focusing on several families of finite words. The results presented in the paper suggest that the notion of string attractor can be used to define new tools to investigate combinatorial properties of the words

    On prefix palindromic length of automatic words

    Full text link
    The prefix palindromic length PPLu(n)\mathrm{PPL}_{\mathbf{u}}(n) of an infinite word u\mathbf{u} is the minimal number of concatenated palindromes needed to express the prefix of length nn of u\mathbf{u}. Since 2013, it is still unknown if PPLu(n)\mathrm{PPL}_{\mathbf{u}}(n) is unbounded for every aperiodic infinite word u\mathbf{u}, even though this has been proven for almost all aperiodic words. At the same time, the only well-known nontrivial infinite word for which the function PPLu(n)\mathrm{PPL}_{\mathbf{u}}(n) has been precisely computed is the Thue-Morse word t\mathbf{t}. This word is 22-automatic and, predictably, its function PPLt(n)\mathrm{PPL}_{\mathbf{t}}(n) is 22-regular, but is this the case for all automatic words? In this paper, we prove that this function is kk-regular for every kk-automatic word containing only a finite number of palindromes. For two such words, namely the paperfolding word and the Rudin-Shapiro word, we derive a formula for this function. Our computational experiments suggest that generally this is not true: for the period-doubling word, the prefix palindromic length does not look 22-regular, and for the Fibonacci word, it does not look Fibonacci-regular. If proven, these results would give rare (if not first) examples of a natural function of an automatic word which is not regular.Comment: revised version, to appear in Theoret. Comput. Sc

    Generalized Thue-Morse words and palindromic richness

    Get PDF
    We prove that the generalized Thue-Morse word tb,m\mathbf{t}_{b,m} defined for b2b \geq 2 and m1m \geq 1 as tb,m=(sb(n)modm)n=0+\mathbf{t}_{b,m} = (s_b(n) \mod m)_{n=0}^{+\infty}, where sb(n)s_b(n) denotes the sum of digits in the base-bb representation of the integer nn, has its language closed under all elements of a group DmD_m isomorphic to the dihedral group of order 2m2m consisting of morphisms and antimorphisms. Considering simultaneously antimorphisms ΘDm\Theta \in D_m, we show that tb,m\mathbf{t}_{b,m} is saturated by Θ\Theta-palindromes up to the highest possible level. Using the terminology generalizing the notion of palindromic richness for more antimorphisms recently introduced by the author and E. Pelantov\'a, we show that tb,m\mathbf{t}_{b,m} is DmD_m-rich. We also calculate the factor complexity of tb,m\mathbf{t}_{b,m}.Comment: 11 page
    corecore