Balanced word: Difference between revisions
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
<math> \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> | <math> \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''|<sub>'' | where |''u''|<sub>''a''</sub> is the number of occurrences of the letter ''a'' in the word ''u''. | ||
== Properties == | == Properties == | ||