Subsequence-frequency enumeration: maximal degree over finite alphabets and reconstruction of binary patterns through six runs
Loading original first page…
Abstract
For a binary pattern p and integers n, k, let B_p(n,k) count the binary words of length n that contain p exactly k times as a subsequence. Bruda (arXiv, 2026) proved that for each k ≥ 1 this count is eventually a polynomial in n of degree at most ℓ−r+1, where ℓ is the length and r ≥ 2 the number of runs of p, and in Section 4.2 proposed determining exactly when this degree is attained. We answer this over every finite alphabet: the maximal degree occurs for every k when an interior run has length one; otherwise exactly when k is a product of two binomial coefficients whose lower indices are the endpoint run lengths, or, for two runs, the weight of a Ferrers diagram. Menon and Singh conjectured that the numbers B_p(n,k) determine p up to reversal and exchange of the two letters (Discrete Mathematics, 2024, Conjecture 5.2). We prove their conjecture for every pattern with at most six runs, and for all but a proportion O(1/ℓ) of the patterns with any fixed number of runs. For five runs the histograms at host lengths ℓ through ℓ+4 determine the pattern, and four extra letters are necessary. The proofs use a generating function over primitive hosts, whose pole orders give the degree classification and the endpoint run lengths, a two-insertion fringe identity and, for five and six runs, exact computations with marked-copy moments, which are polynomials in the run lengths on explicit chambers.
You are reading edition 3. The latest edition is edition 4 (2026-12-04).
Read the full paper in the original PDF.
Edition files
- Subsequence_Frequency_Enumeration_Edition_3.pdf233.6 KiB · pdf
SHA-256
b39b1d7d2a5f77af9c335ddd2ee01f48747661c8c72c66f2493c9af50824372c - Subsequence_Frequency_Enumeration_Edition_3_package.zip369.1 KiB · package
SHA-256
cabdbe8dea3d9f11e74a7003334ed8a152a7576a25f7dce3f661286c5afce183
Available editions
Research details
- Subjects
- Mathematics · Combinatorics
- Keywords
- subsequence frequency, scattered subword, maximal degree, finite alphabet, Ferrers diagram, strong Wilf-equivalence, reconstruction, primitive host
- Manuscript date
- 2026-12-03
- DOI
- 10.5281/zenodo.24793381
- Reader reuse
- CC BY 4.0
Anyone may share and adapt this work, including commercially, if they credit the authors.
Scope
Maximal degree of subsequence-frequency counts for every pattern over every finite alphabet, and reconstruction of binary patterns with at most six runs from their frequency data.
Disclosures
OpenAI's ChatGPT and Anthropic's Claude assisted with literature search, proof exploration, computation and manuscript preparation. The author reviewed and verified the mathematics and takes full responsibility for the content.