A Generating Function for the Distribution of Runs in Binary Words
James J. Madden

TL;DR
This paper derives generating functions for counting binary words with a fixed number of runs of a certain length, providing explicit formulas and extending to words with specific run counts of ones using symmetry properties.
Contribution
It introduces explicit generating functions for the distribution of runs in binary words, including extensions to counts of runs of ones, advancing combinatorial enumeration methods.
Findings
Explicit generating function for $N(n,r,0)$: $(1-x)(1-2x + x^r - x^{r+1})^{-1}
Generating function for $N(n,r,k)$: $x^{kr}$ times the $(k+1)$-th power of the base function
Extended symmetry-based methods to count words with exactly $k$ runs of ones
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.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAlgorithms and Data Compression · semigroups and automata theory · Cellular Automata and Applications
