Run lengths in words maximizing subsequence occurrences
Loading original first page…
Abstract
Menon and Singh asked for a nontrivial family of binary words in which every pattern has a host of each length maximizing its number of subsequence occurrences. We answer their question for the family specified by any two positive run-length thresholds. If every interior run of each letter in the pattern meets its threshold, an optimal host of every length satisfies the same bounds. This remains true with prescribed letter counts. On any finite alphabet, upward-closed conditions on the words separating successive runs of the same letter pass from patterns to a maximizing host for every nonnegative weighted sum of their occurrence counts. For an alternating sequence of r ≥ 2 constant blocks of common length t, we also determine the exact maximum at every host length from rt through (r + 2)t and identify the first possible change in the optimal run count.
You are reading edition 1. The latest edition is edition 2 (2026-12-03).
Read the full paper in the original PDF.
Edition files
- Manuscript.pdf287.4 KiB · pdf
SHA-256
c766bafd92169abca9860a95c556cdd1e5a0c8149d807083dc703b1ed356a6db - Author_Package.zip9.5 KiB · package
SHA-256
503ad495863d5854d6261d5c64c26c2cd79febef1e6d23a2b4082e0fb014a70f
Available editions
Research details
- Subjects
- Mathematics · Combinatorics
- Keywords
- binary word, scattered subsequence, extremal word, run length
- Manuscript date
- 2026-11-30
- DOI
- 10.5281/zenodo.24694429
- Reader reuse
- CC BY 4.0
Anyone may share and adapt this work, including commercially, if they credit the authors.
Scope
Theorem 1.1 answers question (3) in Section 5 of Menon and Singh for families with prescribed interior run-length thresholds. Theorem 2.1 treats finite alphabets and fixed letter counts. Corollary 3.2 and Theorem 3.3 give exact optima for equal-length alternating blocks in the stated length range.
Disclosures
OpenAI ChatGPT assisted with the research, manuscript and verification. Scott Schubr owns Luminary Oddities, which operates the Luminary Research Archive.
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