Balanced word: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Inthar (talk | contribs)
No edit summary
Inthar (talk | contribs)
Line 15: Line 15:
== Generalizations ==
== Generalizations ==
# If <math> \mathsf{block\_balance}(s) \leq m,</math> then we say that ''s'' is ''m''-'''block-balanced'''{{idiosyncratic}}.
# If <math> \mathsf{block\_balance}(s) \leq m,</math> then we say that ''s'' is ''m''-'''block-balanced'''{{idiosyncratic}}.
# The following stronger property implies but is not equivalent to ''m''-block-balancedness: For every letter ''a'' in ''s'' and every factor of ''s'' of the form ''awa'', any factor ''w' '' in ''s'' such that len(<i>w'</i>) = len(''w'') + ''m'' + 1 satisfies |<i>w'</i>|<sub>''a''</sub> &ge; |''w''|<sub>''a''</sub> + 1.<ref>Sano, S., Miyoshi, N., & Kataoka, R. (2004). m-Balanced words: A generalization of balanced words. Theoretical computer science, 314(1-2), 97-120.</ref>
# The following stronger property implies but is not equivalent to ''m''-block-balancedness: ''s'' is ''m''-'''chain-balanced'''{{idiosyncratic}} if for every letter ''a'' in ''s'' and every factor of ''s'' of the form ''awa'', any factor ''w' '' in ''s'' such that len(<i>w'</i>) = len(''w'') + ''m'' + 1 satisfies |<i>w'</i>|<sub>''a''</sub> &ge; |''w''|<sub>''a''</sub> + 1.<ref>Sano, S., Miyoshi, N., & Kataoka, R. (2004). m-Balanced words: A generalization of balanced words. Theoretical computer science, 314(1-2), 97-120.</ref>
 
== References ==
== References ==
[[Category:Scale]][[Category:Terms]]
[[Category:Scale]][[Category:Terms]]
[[Category:Combinatorics on words]]
[[Category:Combinatorics on words]]

Revision as of 20:05, 3 January 2024

A word or necklace s is balanced if its block balance[idiosyncratic term] satisfies the following:

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

where |u|a is the number of occurrences of the letter a 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. Over 3 or more letters, all such words have a density vector (vector of relative letter frequencies) a = (a_i) which has a pair of components that are equal. [1]
  • Some periodic balanced words are not obtainable via congruence substitutions. For alphabets of size N = 3, ..., 7, the only examples of density vectors with all components distinct are permutations of (1, 2, 4, ..., 2N-1) arising from the Fraenkel word FN, defined via [math]\displaystyle{ F_1 = \mathbf{0}, F_n = F_{n-1} \mathbf{(n-1)} F_{n-1}. }[/math] The assertion that this is true for all N ≥ 3 is Fraenkel's conjecture.

Generalizations

  1. If [math]\displaystyle{ \mathsf{block\_balance}(s) \leq m, }[/math] then we say that s is m-block-balanced[idiosyncratic term].
  2. The following stronger property implies but is not equivalent to m-block-balancedness: s is m-chain-balanced[idiosyncratic term] if for every letter a in s and every factor of s of the form awa, any factor w' in s such that len(w') = len(w) + m + 1 satisfies |w'|a ≥ |w|a + 1.[2]

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.
  2. Sano, S., Miyoshi, N., & Kataoka, R. (2004). m-Balanced words: A generalization of balanced words. Theoretical computer science, 314(1-2), 97-120.