### Current browse context:

math.CO

### Change to browse by:

### References & Citations

# Mathematics > Combinatorics

# Title: A Stirling-type formula for the distribution of the length of longest increasing subsequences

(Submitted on 19 Jun 2022 (v1), last revised 14 Nov 2022 (this version, v7))

Abstract: The discrete distribution of the length of longest increasing subsequences in random permutations of $n$ integers is deeply related to random matrix theory. In a seminal work, Baik, Deift and Johansson provided an asymptotics in terms of the distribution of the scaled largest level of the large matrix limit of GUE. As a numerical approximation, however, this asymptotics is inaccurate for small $n$ and has a slow convergence rate, conjectured to be just of order $n^{-1/3}$. Here, we suggest a different type of approximation, based on Hayman's generalization of Stirling's formula. Such a formula gives already a couple of correct digits of the length distribution for $n$ as small as $20$ but allows numerical evaluations, with a uniform error of apparent order $n^{-2/3}$, for $n$ as large as $10^{12}$; thus closing the gap between a table of exact values (compiled for up to $n=1000$) and the random matrix limit. Being much more efficient and accurate than Monte-Carlo simulations, the Stirling-type formula allows for a precise numerical understanding of the first few finite size correction terms to the random matrix limit. From this we derive expansions of the expected value and variance of the length, exhibiting several more terms than previously put forward.

## Submission history

From: Folkmar Bornemann [view email]**[v1]**Sun, 19 Jun 2022 14:18:50 GMT (332kb,D)

**[v2]**Tue, 28 Jun 2022 09:02:56 GMT (307kb,D)

**[v3]**Thu, 30 Jun 2022 16:17:23 GMT (308kb,D)

**[v4]**Mon, 4 Jul 2022 09:09:45 GMT (305kb,D)

**[v5]**Mon, 26 Sep 2022 13:43:15 GMT (307kb,D)

**[v6]**Mon, 24 Oct 2022 08:03:29 GMT (307kb,D)

**[v7]**Mon, 14 Nov 2022 15:45:15 GMT (309kb,D)

Link back to: arXiv, form interface, contact.