Luminary Research Archive
Luminary Research ArchiveIndependent scholarship
Explore
Luminary Portal

The variance of gap-alternating subsequences of random permutations

Original PDF · First-page preview

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

Available editions

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

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.

References and related resources

  1. R. A. Çiçeksiz, Y. E. Demirci and Ü. Işlak, The variance and the asymptotic distribution of the length of longest k-alternating subsequences, Discrete Math. Theor. Comput. Sci. 25(1) (2023), paper 12 · references