Extremal subsequence occurrence counts: run-length-closed optimal hosts and sharp run bounds over finite alphabets
Loading original first page…
Abstract
We study the largest number of occurrences of a word as a scattered subsequence of a host word. Menon and Singh (Discrete Mathematics, 2024, Section 5, item (3)) asked for a nontrivial family of binary words in which every pattern has an optimal host of every length inside the family. We answer this for the families defined by lower bounds on interior run lengths: if every interior run of each letter of the pattern meets its bound, then every optimal host with the fewest runs, at any prescribed letter counts, meets the same bounds. The proof is a coalescing principle over any finite alphabet that also applies to nonnegative weighted sums of occurrence counts. For alternating patterns of r blocks of common length t we give the exact maximum at every host length from rt through (r+2)t. Bruda (arXiv, 2026, Sections 4.3 and 4.4) proposed extending his binary terminal-run formula and sharp run bound to arbitrary finite alphabets, and bounding the number of contributing terminal-run classes. We give the formula over every finite alphabet and determine the exact maximum number of occurrences when the pattern run lengths, the number of host runs and a cap on host run lengths are prescribed; it is an explicit polynomial in half the excess number of host runs, attained by alternating binary words. We also determine the largest number of contributing terminal-run tuples and give an exact count for hosts whose run letters cycle through the alphabet.
Read the full paper in the original PDF.
Edition files
- Extremal_Subsequence_Occurrence_Counts_Edition_2.pdf118.2 KiB · pdf
SHA-256
eceb3b2a965e91fb1f5e460c2419d976c90670805a36f1c5c863b30fa6bcb08e - Extremal_Subsequence_Occurrence_Counts_Edition_2_package.zip134.1 KiB · package
SHA-256
31ff9730c6a7b435435f3711e9e84045886792fa315132793e71a032e87251cb
Available editions
Research details
- Subjects
- Mathematics · Combinatorics
- Keywords
- subsequence occurrence, scattered subword, binomial coefficient of words, optimal host, run length, extremal word
- Manuscript date
- 2026-12-03
- DOI
- 10.5281/zenodo.24793390
- Reader reuse
- CC BY 4.0
Anyone may share and adapt this work, including commercially, if they credit the authors.
Scope
Optimal hosts for subsequence occurrence counts over finite alphabets: run-length-closed hosts and sharp run bounds for patterns with few runs.
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.
Reproduction
The source supplement contains the LaTeX manuscript and programs checking fixed-composition optima, the boundary lemma and the two exact maximum formulas on small instances.
References and related resources
- Menon and Singh, Section 5, question (3) · references