Run lengths in words maximizing subsequence occurrences

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.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-30
DOI
https://doi.org/10.5281/zenodo.24694428
Primary Topic
semigroups and automata theory
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Run lengths in words maximizing subsequence occurrences

Scott Schubr
Zenodo (CERN European Organization for Nuclear Research)
semigroups and automata theory
preprint

Run lengths in words maximizing subsequence occurrences

Scott Schubr
preprint en

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.

Zenodo (CERN European Organization for Nuclear Research)
semigroups and automata theory
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon