Exact caged length with a prescribed number of runs
Loading original first page…
Abstract
A subsequence of a permutation is caged when its two endpoints are its minimum and maximum, in either order. We determine the smallest possible longest caged subsequence for every permutation length and every prescribed number of maximal contiguous monotone runs. Equivalently, we give the exact maximum length N(M,r) of a permutation with r runs and no caged subsequence longer than M. For at least five runs, the nonzero capacities are 5M-6, 5M-7, or 5M-8, apart from one small exception; explicit conditions select the correct value. The main new upper bound says that a permutation of length 5M-7 with cage bound M at least 6 has at most 3M-2 runs. Its proof is geometric. Eight finite templates, verified by uniform affine rectangle inequalities, give constructions for all remaining parameters. Three finite exclusions are certified by replayable reverse-unit-propagation proofs. A portable algorithm returns an optimal permutation for every admissible length and run count. The unrestricted extremum, its critical classification, and the exact alternating capacity are credited as prior results.
You are reading edition 1. The latest edition is edition 2 (2026-12-03).
Read the full paper in the original PDF.
Edition files
- Exact_Caged_Length_with_a_Prescribed_Number_of_Runs_Edition_1.pdf383.4 KiB · pdf
SHA-256
60840fbcbfaf0667296610e9fba86d62fcd719e62dd06901d8376aaa3b976964 - Prescribed_Run_Caged_Length_Edition_1_Source.zip1298.3 KiB · package
SHA-256
60136ebe2d4029fd2f5729f416ea53c1e312db512c9f9570ba0772a9a8c11ac8
Available editions
Research details
- Subjects
- Mathematics · Combinatorics
- Keywords
- caged subsequences, permutations, monotone runs, extremal combinatorics, RUP certificates
- Manuscript date
- 2026-12-01
- DOI
- 10.5281/zenodo.24730602
- Reader reuse
- CC BY 4.0
Anyone may share and adapt this work, including commercially, if they credit the authors.
Scope
Complete exact answer to Balachandran, Ramdas and Shankar, arXiv:2608.09770v3, Section 4.1, for every admissible permutation length n and run count r. Theorem 1.1 gives every capacity N(M,r), including N(6,20)=21; Corollary 1.2 gives the direct minimum. The unrestricted theorem, Bhattacharjee critical classification, and prior exact alternating capacities are credited dependencies. The paper does not classify all minimizers or resolve the separate RSK-shape question.
Disclosures
AI tools assisted with mathematical development, literature research, construction searches, verification programs, computational checks, manuscript preparation, and internal proof review. The author is responsible for the content. Internal review is not external peer review or proof-assistant verification.
Reproduction
The source ZIP contains the complete LaTeX manuscript, 8 explicit templates, 20 finite witnesses, deterministic CNF encoder, 3 CNFs and RUP certificates, unchanged portable C++17 checker credited to the alternating paper, optimal constructor, metadata, license, citation and checksums. Python 3 and a C++17 compiler reproduce all 8 checks without a SAT solver or network: 1,976 exact affine block-pair checks, independent constructions, CNF regeneration and RUP replay to the empty clause. The full infinite geometric and construction proofs are in the paper.