Luminary Research Archive
Luminary Research ArchiveIndependent scholarship
Explore
Luminary Portal

Maximal Degree in Subsequence-Frequency Enumeration over Finite Alphabets

Original PDF · First-page preview

Loading original first page…

Abstract

For a fixed subsequence pattern of length ℓ with r ≥ 2 runs, which multiplicities give the largest possible degree in the count of words containing the pattern exactly k times? We answer Bruda's binary question and prove a necessary and sufficient condition over every finite alphabet. For an alphabet of size m, the polynomial multiplying (m − 1)^n in the eventual length-n count attains degree ℓ − r + 1 for every positive k if an interior run has length one. With at least three runs and all interior runs of length at least two, the admissible multiplicities are exactly the products of two binomial coefficients whose lower indices are the first and last run lengths. For two runs, they are the weights of Ferrers diagrams with explicit binomial cell weights. A finite sum over words in which every position participates in an occurrence gives the exact generating function, the loss of leading degree and the leading coefficient. We also prove that the occurrence histograms determine every binary pattern with at most four runs up to reversal and complementation, and asymptotically almost every pattern at each fixed run count.

Read the full paper in the original PDF.

Edition files

  • Manuscript.pdf390.0 KiB · pdf
    SHA-25609fe97e09a762d4e1212cbb917ab399fac4cb2c0b37e3f8a29a4ffa565ddebfc
  • Author_Package.zip20.4 KiB · package
    SHA-256d05c5540605517cf2c2e137e7992a5943300e41082178f877ed850a86bff43d3

Available editions

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

Research details

Subjects
Mathematics · Combinatorics
Keywords
finite alphabet, binary word, scattered subsequence, subsequence frequency, Ferrers diagram, polynomial enumeration
Manuscript date
2026-11-30
DOI
10.5281/zenodo.24698208
Reader reuse
CC BY 4.0

Anyone may share and adapt this work, including commercially, if they credit the authors.

Scope

Theorem 8.1 gives a necessary and sufficient condition for maximal degree of the leading exponential term over every finite alphabet. The earlier binary results classify the extremal multiplicities and prove reconstruction at up to four runs.

Disclosures

OpenAI ChatGPT assisted with the mathematics, manuscript and verification code. Scott Schubr owns Luminary Oddities, which operates the Luminary Research Archive.

Reproduction

The author package contains the editable LaTeX manuscript, verification code, expected output, build instructions and checksums.

References and related resources

  1. Bruda, Enumerating binary words restricted by subsequence frequency · references