The variance of gap-alternating subsequences of random permutations
Loading original first page…
Abstract
Let A_{n,k} be the length of a longest subsequence of a uniformly random permutation of [n] that alternates down, up, down, ... with every step of size at least k. We determine the limiting variance of A_{n,k} at every gap density k/n -> a: it equals n v(a)(1+o(1)) with v(a) = (1-a)(92/315 - 4t^5/15 + 8t^6/45 - 8t^7/315), t = max(1-2a, 0)/(1-a), and we prove a central limit theorem whenever n-k tends to infinity. The variance is largest at the gap density 0.195887... For k-1 <= n/2 we prove Var A_{n,k} = 8n/45 - 13/180 + 4(k-1)/15 + O(k^2/n) uniformly, and at gap two we give the exact formula 8n/45 + 7/36 - 16/(15n) for n >= 6. These results correct the conjecture of Ciceksiz, Demirci and Islak that Var A_{n,k} = 8(n-k)/45 + 19/180, which already fails at n = 4, k = 2 and differs from the true value by 4(k-1)/9 + o(1) at every fixed k >= 2. They also correct the same authors' exact formula 2(n-k+2)/45 for the variance of the number of k-peaks, which fails whenever 2 <= k < n <= 8 and for every fixed k >= 2 and large n; the true value at gap two is 2n/45 + 1/9 - 4/(15n). The method compares the random permutation with independent uniform marks: the variance equals the rate of the independent model of Pak and Pemantle minus an explicit finite-population correction coming from the distinctness of ranks.
You are reading edition 1. The latest edition is edition 2 (2026-11-30).
Read the full paper in the original PDF.
Edition files
- Gap_Alternating_Subsequence_Variance.pdf124.4 KiB · pdf
SHA-256
bb730f9d08f3daf7534e4784bd64a390218a4b52b652d22b0230f1da14f081a4 - Gap_Alternating_Subsequence_Variance_package.zip144.5 KiB · package
SHA-256
916b4ec8caf493f6532b0359b23896a472eb4ae1f2d4cf4d3fcbee6503052ada
Available editions
Research details
- Subjects
- Mathematics · Combinatorics
- Keywords
- alternating subsequence, k-alternating subsequence, k-peak, random permutation, variance, central limit theorem
- Manuscript date
- 2026-11-26
- DOI
- 10.5281/zenodo.24575167
- Reader reuse
- CC BY 4.0
Anyone may share and adapt this work, including commercially, if they credit the authors.
Scope
Limiting variance at every gap density, central limit theorem, uniform small-gap expansion and exact gap-two variance for longest k-alternating subsequences of random permutations.
Disclosures
OpenAI Codex and Anthropic Claude assisted with derivations, proof development, computations, source checks and independent internal review. Scott Schubr directed the research and is responsible for the content.
Reproduction
The paper has 9 pages. The package contains Gap_Alternating_Subsequence_Variance.pdf, README.md, SHA256SUMS.txt, abstract.txt, main.tex and verification/ (10 verification files). Build the PDF from main.tex with Tectonic.