Balanced word

From Xenharmonic Wiki
Revision as of 13:02, 31 December 2023 by Inthar (talk | contribs) (Properties)
Jump to navigation Jump to search

Let d ≥ 0. A word or necklace s is balanced if its balance satisfies the following:

[math]\displaystyle{ \operatorname{balance}(s) := \max \big\{ \big| |w|_{x_i} - |w'|_{x_i} \big| : x_i \text{ is a letter of }s\text{ and }k = \operatorname{len}(w) = \operatorname{len}(w') \big\} \leq 1, }[/math]

where |u|xi is the number of occurrences of the letter xi in the word u.

Properties

  • A balanced word or necklace on N letters has a maximum variety bound of [math]\displaystyle{ N \choose {\lceil N/2 \rceil} }[/math].
  • If w is an aperiodic infinite balanced word, then w is constructed via a finite sequence of "congruence substitutions" beginning with a Sturmian word.[1]
  • Some periodic balanced words are not of the above form. For alphabets of size d = 3, ..., 7, the only exception up to substituting letters via permutation is the Fraenkel word Fd, defined via [math]\displaystyle{ F_0 = \mathbf{0}, F_n = F_{n-1} \mathbf{n} F_{n-1}. }[/math]

Generalizations

References

  1. Brauner, N., Crama, Y., Delaporte, E., Jost, V., & Libralesso, L. (2019). Do balanced words have a short period?. Theoretical Computer Science, 793, 169-180.