arXiv:2609.02220math.COSep 2026

Manuscript Offprint

arXiv:2609.02220

Recurrences for permutations with long increasing subsequences

Manuel Kauers, Chen Wang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

1. INTRODUCTION

Let

an,k:=#{σ∈Sn∣LIS(σ)=k},a_{n,k} := \#\{\sigma \in S_n \mid \text{LIS}(\sigma) = k\},

where LIS(σ)\text{LIS}(\sigma) denotes the length of the longest increasing subsequence of σ\sigma. We use the convention that an,k=0a_{n,k} = 0 when k<1k < 1 or k>nk > n. The resulting triangular array appears in the OEIS as A047874 and starts like

1
11
141
11391
14161161
1131381181251
142823321821421311

Gessel [1] showed that every column of this array is D-finite, i.e., for every fixed kk, the sequence (an,k)n=0∞(a_{n,k})_{n=0}^{\infty} satisfies a linear recurrence with polynomial coefficients in nn. For every fixed nn, the sequence (an,k)k=0∞(a_{n,k})_{k=0}^{\infty} is finite and therefore trivially D-finite. However, both results combined are not enough to conclude that an,ka_{n,k} is D-finite as a bivariate sequence. Recall [2] that this requires a recurrence of the form

p0(n,k)an,k+p1(n,k)an+1,k+⋯+pr(n,k)an+r,k=0p_0(n,k)a_{n,k} + p_1(n,k)a_{n+1,k} + \cdots + p_r(n,k)a_{n+r,k} = 0

with certain polynomials p0,…,prp_0, \ldots, p_r, as well as a recurrence of the form

q0(n,k)an,k+q1(n,k)an,k+1+⋯+qs(n,k)an,k+s=0q_0(n,k)a_{n,k} + q_1(n,k)a_{n,k+1} + \cdots + q_s(n,k)a_{n,k+s} = 0

with certain polynomials q0,…,qsq_0, \ldots, q_s. Rather than allowing each column (or row) to have its own recurrence, there must be a uniform recurrence that works for all columns (or rows) simultaneously.

There is no reason to expect that such recurrences exist for the sequence an,ka_{n,k}, and we believe that there are no such recurrences that hold for all nn and kk. The main result of this note is that the bivariate sequence does become D-finite if we restrict its domain to the sector n/2≤k≤nn/2 \le k \le n. Here and throughout the paper, we use the term “D-finite inside a region RR” in the sense of “There exists a D-finite array that coincides with the original array inside RR”.

Theorem 1. The two recurrences

(1)

an+1,k+n2an−1,k=an,k+1+(2n−1)an,k+an,k−1a_{n+1,k} + n^2 a_{n-1,k} = a_{n,k+1} + (2n-1)a_{n,k} + a_{n,k-1}

and

(2)

(n+1)2(an,k+an,k+1)=(n−k+1)an+1,k+(n+k+1)an+1,k+1(n+1)^2(a_{n,k} + a_{n,k+1}) = (n-k+1)a_{n+1,k} + (n+k+1)a_{n+1,k+1}

are valid in the region n/2≤kn/2 \le k.

The recurrences announced in Theorem 1 and proved below both involve shifts with respect to both nn and kk. Recurrences involving only shifts in one of the directions, as required by the definition of D-finiteness, can be easily obtained from them by computer algebra. For example, if basis denotes a list containing the two operators corresponding to the two recurrences stated in the theorem, then typing

FindRelation[0reGroebnerBasis[basis], Support -> Table[S[n]^i, {i, 0, 4}]]

M. Kauers was supported by the Austrian FWF grants 10.55776/PAT8258123, 10.55776/PAT9952223, and 10.55776/I6130. C. Wang was supported by the Austrian FWF grant 10.55776/PAT9952223.

MANUEL KAUERS AND CHEN WANG

and

FindRelation[OreGroebnerBasis[basis], Support -> Table[S[k]^i, {i, 0, 4}]]

in Koutschan's Mathematica package HolonomicFunctions [5] produces the desired recurrences effortlessly. We do not reproduce them here.

Similarly, we obtain a proof of Conjecture 17 in [4] as a corollary of Theorem 1. Setting

bn,k:=#{σ∈Sn∣LIS(σ)≥k}=∑i=k∞an,i,b_{n,k}:=\#\{\sigma\in S_{n}\mid\mathrm{L I S}(\sigma)\geq k\}=\sum_{i=k}^{\infty}a_{n,i},

Conjecture 17 concerns the sequence b2n,nb_{2n,n}, whose nth term is the number of permutations of length 2n containing an increasing subsequence of length n. This sequence appears as A269021 in the OEIS, and based on the terms given there, Kauers and Koutschan conjectured that b2n,nb_{2n,n} is D-finite, satisfying a recurrence of order 4.

Using Koutschan's package, a recurrence for b2n,nb_{2n,n} can be derived from Theorem 1 by typing the following commands:

G := OreGroebnerBasis[basis];

Q := CreativeTelescoping[G, S[k]-1, {S[n]] [[2,1]]};

B := DFiniteOreAction[G, Q];

FindRelation[B, Support -> Table[S[n]^ (2i)S[k]^i, {i,0,4}]]

Up to normalization, this produces precisely the recurrence stated in Conjecture 17 of [4].

Our proof of Theorem 1 is based on the Robinson–Schensted correspondence. It expresses an,ka_{n,k} as a sum of squares of dimensions of irreducible representations indexed by partitions with first row k. In the range k≥n/2k \geq n/2, these partitions have a sufficiently long first row that the ordinary branching operators and the Murnaghan–Nakayama rim-hook operators take a particularly simple form. Combining these relations with character orthogonality will give (1) and (2).