Sharp run bounds for subsequence occurrences over finite alphabets

Bruda asked for a run formula and a sharp bound for the number of occurrences of a pattern as a subsequence of a word over an arbitrary finite alphabet. We give the formula and determine the exact maximum when the pattern run lengths, the number of host runs and an upper bound on their lengths are prescribed. A pattern and a host with alternating run letters attain the maximum for every choice of these parameters. The maximum is an explicit polynomial in the integer part of half the excess number of host runs. We also determine the largest possible number of contributing terminal-run tuples and give an exact formula for every fixed pattern in hosts whose run letters cycle through the alphabet.

Authors

Publication Details

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

Sharp run bounds for subsequence occurrences over finite alphabets

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

Sharp run bounds for subsequence occurrences over finite alphabets

Scott Schubr
preprint en

Abstract

Bruda asked for a run formula and a sharp bound for the number of occurrences of a pattern as a subsequence of a word over an arbitrary finite alphabet. We give the formula and determine the exact maximum when the pattern run lengths, the number of host runs and an upper bound on their lengths are prescribed. A pattern and a host with alternating run letters attain the maximum for every choice of these parameters. The maximum is an explicit polynomial in the integer part of half the excess number of host runs. We also determine the largest possible number of contributing terminal-run tuples and give an exact formula for every fixed pattern in hosts whose run letters cycle through the alphabet.

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