Patterns in sequences
Richard Kenyon
TL;DR
The paper develops a rigorous framework for understanding pattern densities in binary sequences by introducing sublebesgue measures as limit objects and a variational principle that maximizes entropy under pattern-density constraints. It provides explicit feasibility regions for two-pattern cases, derives the structure of entropy-maximizing limit shapes (typically yielding $H'(y)=\frac{1}{1-e^{p(y)}}$ with $p$ a low-/moderate-degree polynomial), and analyzes concrete families such as $0,10,110,\dots,1^k0$ and the four-pattern $1010$. Through connections to the Heisenberg group and total positivity, the work links discrete pattern counting to continuous optimization and matrix-positivity phenomena, offering both exact results (e.g., the $1010$ case with maximum $\rho_{1010}=\frac{3}{4e^2}$ at $\rho_1=1/2$) and a general variational methodology. The results illuminate the typical structure of long binary sequences with prescribed pattern densities and open pathways to broader alphabets and algebraic questions about independence of pattern counts.
Abstract
We study pattern densities in binary sequences, finding optimal limit sequences with fixed pattern densities.
