A Generating Function for the Distribution of Runs in Binary Words
arXiv:1707.04351
Abstract
Let denote the number of binary words of length that begin with and contain exactly runs (i.e., maximal subwords of identical consecutive symbols) of length . We show that the generating function for the sequence , , is and that the generating function for is time the power of this. We extend to counts of words containing exactly runs of s by using symmetries on the set of binary words.
5 pages, 1 figure