English

Generalized trapezoidal words

Combinatorics 2015-02-25 v2 Discrete Mathematics

Abstract

The factor complexity function Cw(n)C_w(n) of a finite or infinite word ww counts the number of distinct factors of ww of length nn for each n0n \ge 0. A finite word ww of length w|w| is said to be trapezoidal if the graph of its factor complexity Cw(n)C_w(n) as a function of nn (for 0nw0 \leq n \leq |w|) is that of a regular trapezoid (or possibly an isosceles triangle); that is, Cw(n)C_w(n) increases by 1 with each nn on some interval of length rr, then Cw(n)C_w(n) is constant on some interval of length ss, and finally Cw(n)C_w(n) decreases by 1 with each nn on an interval of the same length rr. Necessarily Cw(1)=2C_w(1)=2 (since there is one factor of length 00, namely the empty word), so any trapezoidal word is on a binary alphabet. Trapezoidal words were first introduced by de Luca (1999) when studying the behaviour of the factor complexity of finite Sturmian words, i.e., factors of infinite "cutting sequences", obtained by coding the sequence of cuts in an integer lattice over the positive quadrant of R2\mathbb{R}^2 made by a line of irrational slope. Every finite Sturmian word is trapezoidal, but not conversely. However, both families of words (trapezoidal and Sturmian) are special classes of so-called "rich words" (also known as "full words") - a wider family of finite and infinite words characterized by containing the maximal number of palindromes - studied in depth by the first author and others in 2009. In this paper, we introduce a natural generalization of trapezoidal words over an arbitrary finite alphabet A\mathcal{A}, called generalized trapezoidal words (or GT-words for short). In particular, we study combinatorial and structural properties of this new class of words, and we show that, unlike the binary case, not all GT-words are rich in palindromes when A3|\mathcal{A}| \geq 3, but we can describe all those that are rich.

Keywords

Cite

@article{arxiv.1408.0451,
  title  = {Generalized trapezoidal words},
  author = {Amy Glen and Florence Levé},
  journal= {arXiv preprint arXiv:1408.0451},
  year   = {2015}
}

Comments

Major revision

R2 v1 2026-06-22T05:19:13.541Z