An exact generating function and the singularities of pop-stacked permutations

A pop-stack pass reverses each maximal decreasing run of a permutation. A pop-stacked permutation is any output of one such pass. The same generating function counts these outputs by length and by number of maximal increasing runs. At a fixed run count \(k\), it yields an exact partial-fraction expansion with a pole of order \(k+1-m\) at \(z=1/m\) for each \(1\le m\le k\). Summing over all run counts gives an exponential generating function whose unique nearest pole to the origin is at \(t\approx1.11343904\). Let \(a_{n,k}\) count pop-stacked permutations of length \(n\) with \(k\) increasing runs, including the empty permutation with zero runs. In the scanline bijection of Asinowski, Banderier and Hackl, the word read in order of increasing value records the run label of each value. It uses every label from \(1\) to \(k\), and for every pair of neighbouring labels each must occur before the other somewhere in the word. If the two labels have first and last occurrence positions \((a,b)\) and \((a',b')\), this condition is precisely \(a<b'\) and \(a'<b\). On a real interval \([0,t]\), a single occurrence has weight \(da\) on \(a=b\), and an interval with \(a<b\) has weight \(e^{b-a}\,da\,db\), which sums over all possible interior occurrences. An ordered word of length \(n\) then has volume \(t^n/n!\). The overlap rule couples only consecutive run labels, and reflection of \([0,t]\) exchanges the two ways in which their intervals can be disjoint. These are the features that give the closed form below. With \(p\) marking runs and \(t\) marking length exponentially, define \[b_p=\tfrac12-p+p e^{t/2},\qquad \lambda_p^2=(\tfrac12-p)^2-p^2e^t,\qquad D_p=1+p(e^t-1), \] \[c_p=\cosh(\lambda_p t/2),\qquad s_p=\frac{\sinh(\lambda_p t/2)}{\lambda_p}. \] Use the even power series in \(\lambda_p\) for \(c_p\) and \(s_p\), so both depend only on \(\lambda_p^2\) and \(s_p=t/2\) at \(\lambda_p=0\). The run-marked series is \[G(p,t)=\sum_{n,k\ge0}a_{n,k}p^k\frac{t^n}{n!} =\frac{2b_pc_p-2\lambda_p^2s_p}{D_p(c_p-b_ps_p)}. \] The formula gives the counting series at the origin. Each coefficient of \(t^n\) is a polynomial in \(p\) of degree at most \(n\), so setting \(p=1\) sums over every possible run count at that length. Asinowski, Banderier and Hackl established fixed-run rationality and asked for the general numerators in their partial-fraction expansion. For every integer \(k\ge1\), the ordinary generating function \(P_k(z)=\sum_{n\ge1}a_{n,k}z^n\) is \[P_k(z)=-1+\frac1{1-kz}+\sum_{j=1}^{k-1}\frac{N_{k,j}(z)}{(1-(k-j)z)^{j+1}}. \] The sum is empty for \(k=1\). The index \(j\) is the difference between \(k\) and the reciprocal of the pole. The following extraction gives every numerator and specifies where the original polynomial pattern holds. Asinowski–Banderier–Hackl, §2.2, equation (4) and the question on p. 11 Use formal variables \(x,y\) to record \(k,j\), respectively. Set \[B=\tfrac12-xy,\qquad L=\sqrt{B^2-x^2y},\qquad A=L+B,\qquad D=1+x(1-y),\qquad E=\exp((L-\tfrac12)t). \] Expand in \(x\) with \(L=1/2\) at \(x=0\). This separates the exponential rates in \(G\) by treating \(y=e^{-t}\) as an independent variable after the substitution \(p=xe^{-t}\). With brackets denoting coefficient extraction, put \[H_{k,j}(t)=[x^ky^j]\frac{2L}{D}\frac{A+xE}{A-xE}. \] The polynomial \(H_{k,j}\) has degree at most \(j\) in \(t\). For \(1\le j<k\), the numerator is \[N_{k,j}(z)=\sum_{d=0}^j d!\,[t^d]H_{k,j}(t)\,z^d(1-(k-j)z)^{j-d}. \] In particular, for \(m=k-j\), its value at the pole is \[N_{k,j}(1/m)=\frac{2(-1)^j}{m^j}[u^m](1+u)^{j-1}\sum_{\ell\ge1}\ell^j u^\ell. \] The coefficient on the right is strictly positive before multiplication by the signed factor, so the denominator gives the exact pole order. For a fixed \(j\), there is also a finite calculation of \(H_{k,j}\) using paths of at most \(2j+1\) vertices, regardless of \(k\). For a path of size \(s\) with vertices \(1,\ldots,s\), let \(a_i(\pi)\) count the first \(i\) entries of a permutation \(\pi\) of these vertices whose path neighbours among those entries all occur earlier in \(\pi\). Form \[K_s(z)=(-1)^{s-1}\sum_{\pi}\frac{z^s}{\prod_{i=1}^s(1-a_i(\pi)z)}. \] For \(1\le a\le\lceil s/2\rceil\), let \(c_{s,a,q}\) be the coefficient of \((1-az)^{-q}\) in the polar part of \(K_s\) at \(1/a\). Set \[h_{s,0}(t)=-2^{s-1},\qquad h_{s,a}(t)=\sum_{q\ge1}c_{s,a,q}\sum_{d=0}^{q-1}\binom{q-1}{d}\frac{(at)^d}{d!}\quad(a\ge1). \] Sum over ordered lists \((s_i,a_i)_{i=1}^r\), including the empty list, with \(2\le s_i\le2j+1\), \(0\le a_i\le\lceil s_i/2\rceil\) and \(J=\sum_i(s_i-a_i)\le j\). With \(I=k-\sum_i s_i\) and \(b=j-J\), the term of the sum is \((-1)^b\binom{I+r}{r}\binom{I}{b}\prod_i h_{s_i,a_i}(t)\) when \(I\ge b\), and zero otherwise. Here \(I\) counts the remaining single vertices and \(b\) counts those contributing zero exponential rate. For all \(k>j\), the degree of \(N_{k,j}\) in \(z\) is at most \(j\). At each fixed \(j\ge1\), one polynomial in \((k,z)\) of bidegree \((2j,j)\) gives these numerators for every \(k\ge2j\). This range is sharp for \(j\ge2\). At \(k=2j-1\), the exact numerator minus the value of that polynomial is \(\bigl(-[u^j]\sqrt{1-4u}\bigr)(1-(j-1)z)^j\), which is nonzero. The first printed sample also requires a correction. For every \(k\ge2\), \(N_{k,1}(z)=3(k-2)-(k-1)(3k-4)z\). Its constant term in the original display is \(3(k-1)\). At \(k=2\), the correct numerator is \(-2z\), as can also be read from the original \(P_2(z)=2z^3/((1-z)^2(1-2z))\). The exact pole orders determine the reduced common denominator \(Q_k(z)=\prod_{m=1}^k(1-mz)^{k+1-m}\). The numerator \(U_k=P_kQ_k\) has degree \(k(k+1)/2\) and the leading coefficient of \(-Q_k\), of magnitude \(\prod_{m=1}^k m!\). At \(z=1\), \(|U_k(1)|=2\prod_{m=1}^{k-1}m!\) for \(k\ge2\). The unary case has \(U_1(z)=z\). For unrestricted enumeration, Claesson, Guðmundsson and Pantone asked for the exponential generating function and predicted \(p_n\sim C\alpha^n n!\) for the total count \(p_n=\sum_k a_{n,k}\). The exact generating function is \(G(1,t)\) above, with \(b_1=e^{t/2}-1/2\), \(\lambda_1^2=1/4-e^t\) and \(D_1=e^t\). Write \(F(t)=c_1-b_1s_1\) and, for \(t>0\), set \(\theta(t)=t\sqrt{e^t-1/4}/2\). The unique dominant pole \(\rho\) is the unique positive solution with \(0<\theta(\rho)<\pi/2\) of \[\tan\theta(\rho)=\sqrt{\frac{e^{\rho/2}+1/2}{e^{\rho/2}-1/2}}. \] Its contribution gives \[\alpha=\frac1\rho,\qquad C=\frac{8(e^\rho-1/4)}{\rho e^{2\rho}(\rho+2)},\qquad p_n=n!\bigl(C\alpha^n+O(R^{-n})\bigr)\quad(n\to\infty). \] One may take any fixed \(R>\rho\) whose closed disk contains no other zero of \(F\). Numerically, \(\rho\approx1.1134390417367270\), \(\alpha\approx0.8981183185746870\) and \(C\approx0.6956885490706358\), confirming the predicted leading constants. Claesson–Guðmundsson–Pantone, §3.3, p. 11 The finite singularities of the continued exponential generating function are exactly the complex zeros of \(F\), and each is a simple pole. On the positive axis there is exactly one in each interval \(m\pi<\theta(t)<m\pi+\pi/2\), for integers \(m\ge0\), and these intervals account for all positive poles. The overlap operator reaches spectral radius one at \(\rho\). At complex arguments of the same modulus other than \(\rho\), the weights of positive-length intervals have strictly smaller modulus, excluding a competing pole on that circle. The infinitely many poles imply that the exponential generating function is non-D-finite, and the formal ordinary generating function \(\sum_{n\ge0}p_n z^n\) is non-D-finite as well. Thus neither satisfies a nonzero linear differential equation with polynomial coefficients.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-12-03
DOI
https://doi.org/10.5281/zenodo.24800598
Primary Topic
Advanced Combinatorial Mathematics
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

An exact generating function and the singularities of pop-stacked permutations

Zixuan He
Zenodo (CERN European Organization for Nuclear Research)
Advanced Combinatorial Mathematics
preprint

An exact generating function and the singularities of pop-stacked permutations

Zixuan He
preprint en

Abstract

A pop-stack pass reverses each maximal decreasing run of a permutation. A pop-stacked permutation is any output of one such pass. The same generating function counts these outputs by length and by number of maximal increasing runs. At a fixed run count \(k\), it yields an exact partial-fraction expansion with a pole of order \(k+1-m\) at \(z=1/m\) for each \(1\le m\le k\). Summing over all run counts gives an exponential generating function whose unique nearest pole to the origin is at \(t\approx1.11343904\). Let \(a_{n,k}\) count pop-stacked permutations of length \(n\) with \(k\) increasing runs, including the empty permutation with zero runs. In the scanline bijection of Asinowski, Banderier and Hackl, the word read in order of increasing value records the run label of each value. It uses every label from \(1\) to \(k\), and for every pair of neighbouring labels each must occur before the other somewhere in the word. If the two labels have first and last occurrence positions \((a,b)\) and \((a',b')\), this condition is precisely \(a<b'\) and \(a'<b\). On a real interval \([0,t]\), a single occurrence has weight \(da\) on \(a=b\), and an interval with \(a<b\) has weight \(e^{b-a}\,da\,db\), which sums over all possible interior occurrences. An ordered word of length \(n\) then has volume \(t^n/n!\). The overlap rule couples only consecutive run labels, and reflection of \([0,t]\) exchanges the two ways in which their intervals can be disjoint. These are the features that give the closed form below. With \(p\) marking runs and \(t\) marking length exponentially, define \[b_p=\tfrac12-p+p e^{t/2},\qquad \lambda_p^2=(\tfrac12-p)^2-p^2e^t,\qquad D_p=1+p(e^t-1), \] \[c_p=\cosh(\lambda_p t/2),\qquad s_p=\frac{\sinh(\lambda_p t/2)}{\lambda_p}. \] Use the even power series in \(\lambda_p\) for \(c_p\) and \(s_p\), so both depend only on \(\lambda_p^2\) and \(s_p=t/2\) at \(\lambda_p=0\). The run-marked series is \[G(p,t)=\sum_{n,k\ge0}a_{n,k}p^k\frac{t^n}{n!} =\frac{2b_pc_p-2\lambda_p^2s_p}{D_p(c_p-b_ps_p)}. \] The formula gives the counting series at the origin. Each coefficient of \(t^n\) is a polynomial in \(p\) of degree at most \(n\), so setting \(p=1\) sums over every possible run count at that length. Asinowski, Banderier and Hackl established fixed-run rationality and asked for the general numerators in their partial-fraction expansion. For every integer \(k\ge1\), the ordinary generating function \(P_k(z)=\sum_{n\ge1}a_{n,k}z^n\) is \[P_k(z)=-1+\frac1{1-kz}+\sum_{j=1}^{k-1}\frac{N_{k,j}(z)}{(1-(k-j)z)^{j+1}}. \] The sum is empty for \(k=1\). The index \(j\) is the difference between \(k\) and the reciprocal of the pole. The following extraction gives every numerator and specifies where the original polynomial pattern holds. Asinowski–Banderier–Hackl, §2.2, equation (4) and the question on p. 11 Use formal variables \(x,y\) to record \(k,j\), respectively. Set \[B=\tfrac12-xy,\qquad L=\sqrt{B^2-x^2y},\qquad A=L+B,\qquad D=1+x(1-y),\qquad E=\exp((L-\tfrac12)t). \] Expand in \(x\) with \(L=1/2\) at \(x=0\). This separates the exponential rates in \(G\) by treating \(y=e^{-t}\) as an independent variable after the substitution \(p=xe^{-t}\). With brackets denoting coefficient extraction, put \[H_{k,j}(t)=[x^ky^j]\frac{2L}{D}\frac{A+xE}{A-xE}. \] The polynomial \(H_{k,j}\) has degree at most \(j\) in \(t\). For \(1\le j<k\), the numerator is \[N_{k,j}(z)=\sum_{d=0}^j d!\,[t^d]H_{k,j}(t)\,z^d(1-(k-j)z)^{j-d}. \] In particular, for \(m=k-j\), its value at the pole is \[N_{k,j}(1/m)=\frac{2(-1)^j}{m^j}[u^m](1+u)^{j-1}\sum_{\ell\ge1}\ell^j u^\ell. \] The coefficient on the right is strictly positive before multiplication by the signed factor, so the denominator gives the exact pole order. For a fixed \(j\), there is also a finite calculation of \(H_{k,j}\) using paths of at most \(2j+1\) vertices, regardless of \(k\). For a path of size \(s\) with vertices \(1,\ldots,s\), let \(a_i(\pi)\) count the first \(i\) entries of a permutation \(\pi\) of these vertices whose path neighbours among those entries all occur earlier in \(\pi\). Form \[K_s(z)=(-1)^{s-1}\sum_{\pi}\frac{z^s}{\prod_{i=1}^s(1-a_i(\pi)z)}. \] For \(1\le a\le\lceil s/2\rceil\), let \(c_{s,a,q}\) be the coefficient of \((1-az)^{-q}\) in the polar part of \(K_s\) at \(1/a\). Set \[h_{s,0}(t)=-2^{s-1},\qquad h_{s,a}(t)=\sum_{q\ge1}c_{s,a,q}\sum_{d=0}^{q-1}\binom{q-1}{d}\frac{(at)^d}{d!}\quad(a\ge1). \] Sum over ordered lists \((s_i,a_i)_{i=1}^r\), including the empty list, with \(2\le s_i\le2j+1\), \(0\le a_i\le\lceil s_i/2\rceil\) and \(J=\sum_i(s_i-a_i)\le j\). With \(I=k-\sum_i s_i\) and \(b=j-J\), the term of the sum is \((-1)^b\binom{I+r}{r}\binom{I}{b}\prod_i h_{s_i,a_i}(t)\) when \(I\ge b\), and zero otherwise. Here \(I\) counts the remaining single vertices and \(b\) counts those contributing zero exponential rate. For all \(k>j\), the degree of \(N_{k,j}\) in \(z\) is at most \(j\). At each fixed \(j\ge1\), one polynomial in \((k,z)\) of bidegree \((2j,j)\) gives these numerators for every \(k\ge2j\). This range is sharp for \(j\ge2\). At \(k=2j-1\), the exact numerator minus the value of that polynomial is \(\bigl(-[u^j]\sqrt{1-4u}\bigr)(1-(j-1)z)^j\), which is nonzero. The first printed sample also requires a correction. For every \(k\ge2\), \(N_{k,1}(z)=3(k-2)-(k-1)(3k-4)z\). Its constant term in the original display is \(3(k-1)\). At \(k=2\), the correct numerator is \(-2z\), as can also be read from the original \(P_2(z)=2z^3/((1-z)^2(1-2z))\). The exact pole orders determine the reduced common denominator \(Q_k(z)=\prod_{m=1}^k(1-mz)^{k+1-m}\). The numerator \(U_k=P_kQ_k\) has degree \(k(k+1)/2\) and the leading coefficient of \(-Q_k\), of magnitude \(\prod_{m=1}^k m!\). At \(z=1\), \(|U_k(1)|=2\prod_{m=1}^{k-1}m!\) for \(k\ge2\). The unary case has \(U_1(z)=z\). For unrestricted enumeration, Claesson, Guðmundsson and Pantone asked for the exponential generating function and predicted \(p_n\sim C\alpha^n n!\) for the total count \(p_n=\sum_k a_{n,k}\). The exact generating function is \(G(1,t)\) above, with \(b_1=e^{t/2}-1/2\), \(\lambda_1^2=1/4-e^t\) and \(D_1=e^t\). Write \(F(t)=c_1-b_1s_1\) and, for \(t>0\), set \(\theta(t)=t\sqrt{e^t-1/4}/2\). The unique dominant pole \(\rho\) is the unique positive solution with \(0<\theta(\rho)<\pi/2\) of \[\tan\theta(\rho)=\sqrt{\frac{e^{\rho/2}+1/2}{e^{\rho/2}-1/2}}. \] Its contribution gives \[\alpha=\frac1\rho,\qquad C=\frac{8(e^\rho-1/4)}{\rho e^{2\rho}(\rho+2)},\qquad p_n=n!\bigl(C\alpha^n+O(R^{-n})\bigr)\quad(n\to\infty). \] One may take any fixed \(R>\rho\) whose closed disk contains no other zero of \(F\). Numerically, \(\rho\approx1.1134390417367270\), \(\alpha\approx0.8981183185746870\) and \(C\approx0.6956885490706358\), confirming the predicted leading constants. Claesson–Guðmundsson–Pantone, §3.3, p. 11 The finite singularities of the continued exponential generating function are exactly the complex zeros of \(F\), and each is a simple pole. On the positive axis there is exactly one in each interval \(m\pi<\theta(t)<m\pi+\pi/2\), for integers \(m\ge0\), and these intervals account for all positive poles. The overlap operator reaches spectral radius one at \(\rho\). At complex arguments of the same modulus other than \(\rho\), the weights of positive-length intervals have strictly smaller modulus, excluding a competing pole on that circle. The infinitely many poles imply that the exponential generating function is non-D-finite, and the formal ordinary generating function \(\sum_{n\ge0}p_n z^n\) is non-D-finite as well. Thus neither satisfies a nonzero linear differential equation with polynomial coefficients.

Zenodo (CERN European Organization for Nuclear Research)
University of Glasgow (GB)
Advanced Combinatorial Mathematics
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon