English

On Searching Zimin Patterns

Discrete Mathematics 2015-04-01 v1 Combinatorics

Abstract

In the area of pattern avoidability the central role is played by special words called Zimin patterns. The symbols of these patterns are treated as variables and the rank of the pattern is its number of variables. Zimin type of a word xx is introduced here as the maximum rank of a Zimin pattern matching xx. We show how to compute Zimin type of a word on-line in linear time. Consequently we get a quadratic time, linear-space algorithm for searching Zimin patterns in words. Then we how the Zimin type of the length nn prefix of the infinite Fibonacci word is related to the representation of nn in the Fibonacci numeration system. Using this relation, we prove that Zimin types of such prefixes and Zimin patterns inside them can be found in logarithmic time. Finally, we give some bounds on the function f(n,k)f(n,k) such that every kk-ary word of length at least f(n,k)f(n,k) has a factor that matches the rank nn Zimin pattern.

Keywords

Cite

@article{arxiv.1409.8235,
  title  = {On Searching Zimin Patterns},
  author = {Wojciech Rytter and Arseny M. Shur},
  journal= {arXiv preprint arXiv:1409.8235},
  year   = {2015}
}

Comments

15 pages, 1 figure, 2 tables; submitted to Theoretical Computer Science (05.2014)

R2 v1 2026-06-22T06:08:36.972Z