Back to Search Start Over

Freeness of partial words

Authors :
Manea, Florin
Mercaş, Robert
Source :
Theoretical Computer Science. Dec2007, Vol. 389 Issue 1/2, p265-277. 13p.
Publication Year :
2007

Abstract

Abstract: The paper approaches the classical combinatorial problem of freeness of words, in the more general case of partial words. First, we propose an algorithm that tests efficiently whether a partial word is -free or not, for a given . Then, we show that there exist arbitrarily many -free infinite partial words, over a binary alphabet, containing an infinite number of holes, for . Moreover, we present an efficient algorithm for the construction of a cube-free partial word with a given number of holes, over a binary alphabet. In the final section of the paper, we show that there exists an infinite word, over a four-symbol alphabet, in which we can substitute randomly one symbol with a hole, and still obtain a cube-free word; we show that such a word does not exist for alphabets with fewer symbols. Further, we prove that in this word we can replace arbitrarily many symbols with holes, such that each two consecutive holes are separated by at least two symbols, and obtain a cube-free partial word. This result seems interesting because any partial word containing two holes with less than two symbols between them is not cube-free. Finally, we modify the previously presented algorithm to construct, over a four-symbol alphabet, a cube-free partial word with exactly holes, having minimal length, among all the possible cube-free partial words with at least holes. [Copyright &y& Elsevier]

Details

Language :
English
ISSN :
03043975
Volume :
389
Issue :
1/2
Database :
Academic Search Index
Journal :
Theoretical Computer Science
Publication Type :
Academic Journal
Accession number :
27641377
Full Text :
https://doi.org/10.1016/j.tcs.2007.09.028