Fraenkel word: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Inthar (talk | contribs)
Facts: Supplied half of a proof that F_n is balanced.
Inthar (talk | contribs)
Line 28: Line 28:
<math> w = u(\mathbf{1}^\prime, \mathbf{2}^\prime, ..., \mathbf{(n-1)}^\prime),</math>
<math> w = u(\mathbf{1}^\prime, \mathbf{2}^\prime, ..., \mathbf{(n-1)}^\prime),</math>


where ''u'' is a subword of ''G''<sub>''n''&minus; 1</sub> with 1 &le; {{!}}''u''{{!}} &le; 2<sup>''n''&minus;1</sup> &minus; 2 and <math>\mathbf{j}^\prime</math> denotes either '''0j''' (for all ''j'', 0 < ''j'' < n) or '''j0''' (for all ''j'', 0 < ''j'' < ''n''). In particular, {{!}}''w''{{!}}<sub>'''0'''</sub> = {{!}}''w''{{!}}/2. Since {{!}}''u''{{!}} ≡ 0 mod 2<sup>''i''</sup>, by the inductive hypothesis applied to subwords of ''F''<sub>''n''&minus;1</sub> we have {{!}}''w''{{!}}/2<sup>''i''+1</sup> = {{!}}''u''{{!}}/2<sup>''i''</sup> = {{!}}''u''{{!}}<sub>'''i&minus;1'''</sub> = {{!}}''w''{{!}}<sub>'''i'''</sub> for 1 &le; ''i'' &le; ''n'' &minus; 1, as desired.
where ''u'' is a subword of ''G''<sub>''n''&minus; 1</sub> with 1 &le; {{!}}''u''{{!}} &le; 2<sup>''n''&minus;1</sup> &minus; 2 and <math>\mathbf{j}^\prime</math> denotes either '''0j''' (for all ''j'', 0 < ''j'' < n) or '''j0''' (for all ''j'', 0 < ''j'' < ''n''). In particular, {{!}}''w''{{!}}<sub>'''0'''</sub> = {{!}}''w''{{!}}/2. Since {{!}}''u''{{!}} ≡ 0 mod 2<sup>''i''</sup>, by the inductive hypothesis applied to subwords of ''G''<sub>''n''&minus;1</sub> we have {{!}}''w''{{!}}/2<sup>''i''+1</sup> = {{!}}''u''{{!}}/2<sup>''i''</sup> = {{!}}''u''{{!}}<sub>'''i&minus;1'''</sub> = {{!}}''w''{{!}}<sub>'''i'''</sub> for 1 &le; ''i'' &le; ''n'' &minus; 1, as desired.


In the second case, if {{!}}''w''{{!}} is odd, If {{!}}''w''{{!}} is even, we treat ''w'' as a word formed with consecutive length-2 subwords for letters, working in the next lower non-circular Fraenkel word, recursively until we reach a word ''v'' of odd length, say in ''G''<sub>''n''&minus;''r''</sub>. By the inductive hypothesis, ''v'' satisfies {{!}}''v''{{!}}<sub>'''j'''</sub> = floor({{!}}''v''{{!}}/2<sup>''j''+1</sup>) or ceil({{!}}''v''{{!}}/2<sup>''j''+1</sup>) for all ''j'', 0 &le; j &le; n &minus; r &minus; 1. This implies that {{!}}''u''{{!}}<sub>'''j+r'''</sub> =  floor({{!}}''u''{{!}}/2<sup>''j''+''r''+1</sup>) or ceil({{!}}''u''{{!}}/2<sup>''j''+''r''+1</sup>). For 1 &le; ''s'' < ''r'', we can apply the first case of the inductive hypothesis to the subword ''v''<sub>''s''</sub> corresponding to ''u'' in ''G''<sub>''n''&minus;''s''</sub>, obtaining {{!}}''v''<sub>''s''</sub>{{!}}<sub>'''0'''</sub> = {{!}}''v''<sub>''s''</sub>{{!}}/2 and hence after substituting back, {{!}}''w''{{!}}<sub>'''s'''</sub> = {{!}}''w''{{!}}/2<sup>''s''+1</sup>.}}
In the second case, if {{!}}''w''{{!}} is odd, If {{!}}''w''{{!}} is even, we treat ''w'' as a word formed with consecutive length-2 subwords for letters, working in the next lower non-circular Fraenkel word, recursively until we reach a word ''v'' of odd length, say in ''G''<sub>''n''&minus;''r''</sub>. By the inductive hypothesis, ''v'' satisfies {{!}}''v''{{!}}<sub>'''j'''</sub> = floor({{!}}''v''{{!}}/2<sup>''j''+1</sup>) or ceil({{!}}''v''{{!}}/2<sup>''j''+1</sup>) for all ''j'', 0 &le; j &le; n &minus; r &minus; 1. This implies that {{!}}''u''{{!}}<sub>'''j+r'''</sub> =  floor({{!}}''u''{{!}}/2<sup>''j''+''r''+1</sup>) or ceil({{!}}''u''{{!}}/2<sup>''j''+''r''+1</sup>). For 1 &le; ''s'' < ''r'', we can apply the first case of the inductive hypothesis to the subword ''v''<sub>''s''</sub> corresponding to ''u'' in ''G''<sub>''n''&minus;''s''</sub>, obtaining {{!}}''v''<sub>''s''</sub>{{!}}<sub>'''0'''</sub> = {{!}}''v''<sub>''s''</sub>{{!}}/2 and hence after substituting back, {{!}}''w''{{!}}<sub>'''s'''</sub> = {{!}}''w''{{!}}/2<sup>''s''+1</sup>.}}

Revision as of 02:19, 15 February 2024

In combinatorics on words, the Fraenkel word over n letters [math]\displaystyle{ \mathbf{0}, \mathbf{1}, ..., (\mathbf{n-1}) }[/math] is defined recursively by

[math]\displaystyle{ \displaystyle{ \begin{align*} F_1 &= \mathbf{0}, \\ F_2 &= \mathbf{010}, \\ F_3 &= \mathbf{0102010}, \\ &\ \ \vdots \\ F_{n} &= F_{n-1}(\mathbf{n-1})F_{n-1}. \end{align*}} }[/math]

Fraenkel words are named after mathematician Aviezri S. Fraenkel.

Facts

Below we denote the length of a word w by |w| and the number of occurrences of the letter i in w as |w|i, as is standard notation in combinatorics on words. The notation w(u0, ..., ur−1) represents the word w in 0, 1, ..., r−1 but with i replaced by the word ui.

Fraenkel words are balanced

Theorem — For all n ≥ 1, the n-ary Fraenkel word is balanced as a circular word.

To prove this, we prove the following lemmas by induction on n:

Lemma — Let Gn denote the non-circular Fraenkel word on n letters. For all n ≥ 1, 0 ≤ in − 1, and 1 ≤ |w| ≤ 2n/2 − 2, the following holds for any length-|w| subword w of Gn:

  1. If |w| ≡ 0 mod 2i+1, then |w|i = |w|/2i+1, unless w is a concatenation of an odd-length suffix of Gn and an odd-length prefix of Gn, in which case |w|i = |w|/2i+1 + 1.
  2. If |w| ≢ 0 mod 2i+1, then |w|i = either floor(|w|/2i+1) or ceil(|w|/2i+1).
Proof
Assume first that w is a subword of Gn. In the first case, it has the form

[math]\displaystyle{ w = u(\mathbf{1}^\prime, \mathbf{2}^\prime, ..., \mathbf{(n-1)}^\prime), }[/math]

where u is a subword of Gn− 1 with 1 ≤ |u| ≤ 2n−1 − 2 and [math]\displaystyle{ \mathbf{j}^\prime }[/math] denotes either 0j (for all j, 0 < j < n) or j0 (for all j, 0 < j < n). In particular, |w|0 = |w|/2. Since |u| ≡ 0 mod 2i, by the inductive hypothesis applied to subwords of Gn−1 we have |w|/2i+1 = |u|/2i = |u|i−1 = |w|i for 1 ≤ in − 1, as desired.

In the second case, if |w| is odd, If |w| is even, we treat w as a word formed with consecutive length-2 subwords for letters, working in the next lower non-circular Fraenkel word, recursively until we reach a word v of odd length, say in Gnr. By the inductive hypothesis, v satisfies |v|j = floor(|v|/2j+1) or ceil(|v|/2j+1) for all j, 0 ≤ j ≤ n − r − 1. This implies that |u|j+r = floor(|u|/2j+r+1) or ceil(|u|/2j+r+1). For 1 ≤ s < r, we can apply the first case of the inductive hypothesis to the subword vs corresponding to u in Gns, obtaining |vs|0 = |vs|/2 and hence after substituting back, |w|s = |w|/2s+1. [math]\displaystyle{ \square }[/math]

Open problems

For circular words (equivalently, infinite periodic words), Fraenkel's conjecture asserts that the only balanced circular words over n ≥ 3 letters with letter occurrences pairwise distinct are (letter reassignments of) [math]\displaystyle{ F_n. }[/math][1] The conjecture is known to be true for 3 ≤ n ≤ 7.

References

  1. Bulgakova, D. V., Buzhinsky, N., & Goncharov, Y. O. (2023). On balanced and abelian properties of circular words over a ternary alphabet. Theoretical Computer Science, 939, 227-236.