Luminary Research Archive
Luminary Research ArchiveIndependent scholarship
Explore
Luminary Portal

Extremal subsequence occurrence counts: run-length-closed optimal hosts and sharp run bounds over finite alphabets

Original PDF · First-page preview

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

Available editions

  1. Edition 2 · 2026-12-03
  2. Edition 1 · 2026-11-30

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

  1. Menon and Singh, Section 5, question (3) · references