78,779 research outputs found

    A Note on Efficient Computation of All Abelian Periods in a String

    Get PDF
    We derive a simple efficient algorithm for Abelian periods knowing all Abelian squares in a string. An efficient algorithm for the latter problem was given by Cummings and Smyth in 1997. By the way we show an alternative algorithm for Abelian squares. We also obtain a linear time algorithm finding all `long' Abelian periods. The aim of the paper is a (new) reduction of the problem of all Abelian periods to that of (already solved) all Abelian squares which provides new insight into both connected problems

    Avoidability of long kk-abelian repetitions

    Full text link
    We study the avoidability of long kk-abelian-squares and kk-abelian-cubes on binary and ternary alphabets. For k=1k=1, these are M\"akel\"a's questions. We show that one cannot avoid abelian-cubes of abelian period at least 22 in infinite binary words, and therefore answering negatively one question from M\"akel\"a. Then we show that one can avoid 33-abelian-squares of period at least 33 in infinite binary words and 22-abelian-squares of period at least 2 in infinite ternary words. Finally we study the minimum number of distinct kk-abelian-squares that must appear in an infinite binary word

    Binary Patterns in Binary Cube-Free Words: Avoidability and Growth

    Get PDF
    The avoidability of binary patterns by binary cube-free words is investigated and the exact bound between unavoidable and avoidable patterns is found. All avoidable patterns are shown to be D0L-avoidable. For avoidable patterns, the growth rates of the avoiding languages are studied. All such languages, except for the overlap-free language, are proved to have exponential growth. The exact growth rates of languages avoiding minimal avoidable patterns are approximated through computer-assisted upper bounds. Finally, a new example of a pattern-avoiding language of polynomial growth is given.Comment: 18 pages, 2 tables; submitted to RAIRO TIA (Special issue of Mons Days 2012

    Pattern Avoidance in Reverse Double Lists

    Full text link
    In this paper, we consider pattern avoidance in a subset of words on {1,1,2,2,,n,n}\{1,1,2,2,\dots,n,n\} called reverse double lists. In particular a reverse double list is a word formed by concatenating a permutation with its reversal. We enumerate reverse double lists avoiding any permutation pattern of length at most 4 and completely determine the corresponding Wilf classes. For permutation patterns ρ\rho of length 5 or more, we characterize when the number of ρ\rho-avoiding reverse double lists on nn letters has polynomial growth. We also determine the number of 1k1\cdots k-avoiders of maximum length for any positive integer kk.Comment: 24 pages, 5 figures, 4 table

    Words with the Maximum Number of Abelian Squares

    Full text link
    An abelian square is the concatenation of two words that are anagrams of one another. A word of length nn can contain Θ(n2)\Theta(n^2) distinct factors that are abelian squares. We study infinite words such that the number of abelian square factors of length nn grows quadratically with nn.Comment: To appear in the proceedings of WORDS 201
    corecore