Luminary Research Archive
Luminary Research ArchiveIndependent scholarship
Explore
Luminary Portal

Subsequence-frequency enumeration: maximal degree over finite alphabets and reconstruction of binary patterns through six runs

Original PDF · First-page preview

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

Available editions

  1. Edition 4 · 2026-12-04
  2. Edition 3 · 2026-12-03
  3. Edition 2 · 2026-12-03
  4. Edition 1 · 2026-11-30

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.

References and related resources

  1. Menon and Singh, Subsequence frequency in binary words · references