A balanced word is a word in which, for any two substrings of equal length and any letter, the counts of that letter in the two substrings
differ by at most 1. For example, the infinite alternating
word is balanced. A right-infinite
aperiodic balanced word on two letters is a Sturmian
sequence (Rampersad et al. 2019).
Balanced Word
See also
Balanced Repetition Threshold, Sturmian Sequence, WordExplore with Wolfram|Alpha
References
Rampersad, N.; Shallit, J.; and Vandomme, É. "Critical Exponents of Infinite Balanced Words." Theor. Comput. Sci. 777, 454-463, 2019. https://doi.org/10.1016/j.tcs.2018.10.017.Cite this as:
Weisstein, Eric W. "Balanced Word." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/BalancedWord.html