Work

Maximal Repetitions in Words or How to Find all Squares in Linear Time

Year: 1998
Type: report
Abstract: A (fractional) repetition in a word w is a subword with the period of at most half of the subword length. We study maximal repetitions occurring in w, that is those for which any extended subword of w has a bigger period. The set of such repetitions represents in a compact way all repetitions in w. We rst count the exact number of maximal repetitions in Fibonacci words. Then we prove our main result asserting that the maximal number of such repetitions in general words (on arbitrary alphabet) is linear in the word length. We then show how this result implies a lineartime algorithm for nding all maximal repetitions. 1 Introduction 1.1 Repetitions and their classication Repetitions (called also periodicities) play a fundamental role in many topics of word combinatorics, formal language theory and applications. Several notions of repetition has been used in the literature. In its simplest form, a repetition is a word of the form uu, commonly called a square. A natural general...
Source: HAL
Language: English
Open Access status: green
OpenAlex ID: W87326024
Cites:
Cited by: 12
Related to: 10