Computing Depths of Patterns
Pattern avoidance is an important research topic in combinatorics on words which dates back to Thue’s construction of an infinite word over three letters that avoids squares, i.e., a sequence with no two adjacent identical factors. This result finds applications in various algebraic contexts where more general patterns than squares are considered. A more general form of pattern avoidance has recently emerged to allow for undefined positions in sequences. New concepts on patterns such as depth have been introduced and a number of questions have been raised, some of them we answer. In the process, we prove a strict bound on the number of square occurrences in an unavoidable pattern, and consequently, any pattern with more square occurrences than distinct variables is avoidable over three letters. We also prove a strict bound on the length of an avoidable pattern with at least four distinct variables. We finally provide an algorithm that determines whether a given pattern is of bounded depth, and if so, computes its depth.
KeywordsDepth Function Distinct Variable Alphabet Size Partial Word Pattern Avoidance
Unable to display preview. Download preview PDF.
- 8.Cassaigne, J.: Motifs évitables et régularités dans les mots. Ph.D. thesis, Paris VI (1994)Google Scholar