The polynomial-form conjecture for lucky spots in parking functions

About 2 years old · traced to

Let nn be a positive integer and let jj be a positive integer. A lucky spot is a parking spot occupied by a car whose preferred spot is that spot. Let fj(n)f_j(n) denote the polynomial appearing in the claimed formula, and let rjr_j be a rational number. Lucky-spot enumeration conjecture. The number of parking functions where the jj-th spot is lucky has the form

j+12j(n+1)n−1−fj(n)(n−j+1)n−j+1,\tfrac{j+1}{2j}(n+1)^{n-1}-f_j(n)(n-j+1)^{n-j+1},

where fj(n)f_j(n) is a polynomial of degree j−2j-2 with rational coefficients. In particular, the asymptotic probability that the jj-th spot is lucky is

j+12j−rje−j.\frac{j+1}{2j}-r_je^{-j}.

The formulas are suggested by the explicitly computed cases j=1,2,3,4,5j=1,2,3,4,5; the conjecture proposes a uniform polynomial form and corresponding asymptotic expression for every jj.

References

Primary source

Steve Butler, Kimberly Hadaway, Victoria Lenius, Preston Martens and Marshall Moats, “Lucky cars and lucky spots in parking functions”, arXiv:2412.07873 (2024).

Progress summary

Refreshed
Claimed solved

The original authors verified only the first five cases, but a reader-posted argument now claims a complete proof for every spot; that argument has not been independently verified.

Butler, Hadaway, Lenius, Martens, and Moats introduced the conjecture in 2024, predicting a uniform polynomial correction for the number of parking functions with spot jj lucky and a corresponding limiting probability.

Known results

  • Explicit formulas are given for j=1,2,3,4,5j=1,2,3,4,5.
  • For j=2,3,4,5j=2,3,4,5, the correction polynomials have degrees 0,1,2,30,1,2,3, respectively.
  • The corresponding limiting probabilities are reported as 11, 34−14e−2\frac{3}{4}-\frac{1}{4}e^{-2}, 23−23e−3\frac{2}{3}-\frac{2}{3}e^{-3}, 58−138e−4\frac{5}{8}-\frac{13}{8}e^{-4}, and 35−5915e−5\frac{3}{5}-\frac{59}{15}e^{-5}.
  • The general statement remains a conjecture in the stored primary source.

Posted attempt

A reader-posted argument claims a complete proof for every fixed jj, using exponential generating functions, a convolution decomposition, and coefficient extraction to produce fj(n)f_j(n) and its degree. The attempt has not been independently verified, so it establishes only an unconfirmed resolution claim.

Current status (as of August 2026): the cases j≤5j\le 5 are established, while a posted but unverified argument claims the full conjecture for all jj; no independent verification was retrieved.

Sources

Solutions 1

ProofThis solution needs a summarySee full solutionHide full solution

A polynomial formula for every lucky parking spot

A parking function of length nn is a preference word (a1,…,an)∈{1,…,n}n(a_1,\ldots,a_n)\in\{1,\ldots,n\}^n for which all cars park: each car takes the first unoccupied spot at or to the right of its preference. A spot is lucky if its eventual occupant preferred that spot. Write Sj(n)S_j(n) for the number of parking functions in which spot jj is lucky.

We prove the polynomial-form conjecture for every fixed jj, not just the previously computed small values. More precisely, for each j≥2j\ge2 there is a polynomial fj∈Q[n]f_j\in\mathbb Q[n] of degree exactly j−2j-2 such that, for every n≥jn\ge j, on putting X=n−j+1X=n-j+1,

Sj(n)=j+12j(n+1)n−1−fj(n)XX.S_j(n)=\frac{j+1}{2j}(n+1)^{n-1}-f_j(n)X^X.

Its leading coefficient rjr_j is positive, and

lim⁡n→∞Sj(n)(n+1)n−1=j+12j−rje−j.\lim_{n\to\infty}\frac{S_j(n)}{(n+1)^{n-1}} =\frac{j+1}{2j}-r_j e^{-j}.

The boundary j=1j=1 is separate and immediate: spot 11 is always lucky, so S1(n)=(n+1)n−1S_1(n)=(n+1)^{n-1} and one may take f1=0f_1=0.

This proves Butler–Hadaway–Lenius–Martens–Moats, Conjecture 3.1, which is Conjecture 13 in the published paper. The partial-parking-function count used below is their Proposition 8. The new point is a uniform decomposition for arbitrary jj; it also gives an explicit formula for fjf_j and proves that its asserted degree cannot drop.

1. Words on a fixed initial segment

We will also run the parking procedure on arbitrary words with preferences in {1,…,j}\{1,\ldots,j\}, allowing a car to leave if no spot is available. For a word of length ℓ\ell, let Lj,ℓL_{j,\ell} count those in which spot jj becomes lucky, and let Aj,ℓA_{j,\ell} count those in which, in addition, all jj spots become occupied. Define the exponential generating functions

Lj(x)=∑ℓ≥0Lj,ℓxℓℓ!,Aj(x)=∑ℓ≥0Aj,ℓxℓℓ!.\begin{aligned} L_j(x)&=\sum_{\ell\ge0}L_{j,\ell}\frac{x^\ell}{\ell!},\\ A_j(x)&=\sum_{\ell\ge0}A_{j,\ell}\frac{x^\ell}{\ell!}. \end{aligned}

In particular, [xℓ]Aj(x)=0[x^\ell]A_j(x)=0 for ℓ<j\ell<j.

Recall that tt cars can park successfully in mm spots in

(m−t+1)(m+1)t−1(m-t+1)(m+1)^{t-1}

ways, for 0≤t≤m0\le t\le m, with value 11 when t=0t=0. Here is the usual circular proof. Put m+1m+1 spots on a circle. Every preference word parks all tt cars and leaves m+1−tm+1-t empty spots. Rotational symmetry implies that a prescribed spot is empty in the fraction (m+1−t)/(m+1)(m+1-t)/(m+1) of the (m+1)t(m+1)^t words. If that prescribed spot is the last one, its remaining empty is equivalent to successful linear parking in the first mm spots.

Before spot jj first becomes occupied, no car can leave. If this first happens at arrival t+1t+1, the preceding tt cars have parked in the first j−1j-1 spots, so there are (j−t)jt−1(j-t)j^{t-1} possible prefixes. To make spot jj lucky, the next preference must be jj; every later preference is unrestricted. Summing over tt gives

Lj,ℓ={ℓ(2j−ℓ+1)2jℓ−2,0≤ℓ<j,j+12jjℓ,ℓ≥j.L_{j,\ell}= \begin{cases} \dfrac{\ell(2j-\ell+1)}{2}j^{\ell-2},&0\le\ell<j,\\[4pt] \dfrac{j+1}{2j}j^\ell,&\ell\ge j. \end{cases}

Set cj=(j+1)/(2j)c_j=(j+1)/(2j). Thus

Lj(x)=cjejx−Qj(x),L_j(x)=c_j e^{jx}-Q_j(x),

where the polynomial recording the initial exceptions is

Qj(x)=12∑ℓ=0j−1(j−ℓ)(j−ℓ+1)jℓ−2xℓℓ!.Q_j(x)=\frac12\sum_{\ell=0}^{j-1} (j-\ell)(j-\ell+1)j^{\ell-2}\frac{x^\ell}{\ell!}.

2. Decomposition at the last empty spot

For h≥1h\ge1, put

Bh(x)=∑ℓ=0h−1(h−ℓ)hℓ−1xℓℓ!,B0(x)=1.\begin{aligned} B_h(x)&=\sum_{\ell=0}^{h-1} (h-\ell)h^{\ell-1}\frac{x^\ell}{\ell!},\\ B_0(x)&=1. \end{aligned}

This counts all successful partial parking words on the first h−1h-1 spots.

Consider a word counted by LjL_j but not by AjA_j, and let h<jh<j be its last empty spot. No car preferred hh, and no car crossed it. The subsequence of preferences below hh is a successful partial parking word on h−1h-1 spots. The subsequence above hh, after subtracting hh from its preferences, fills all j−hj-h spots and makes the last one lucky. Conversely, any two such subsequences may be interleaved, preserving their internal orders. Hence

Lj(x)=∑h=0j−1Bh(x)Aj−h(x).L_j(x)=\sum_{h=0}^{j-1}B_h(x)A_{j-h}(x).

The inverse of this convolution has a particularly simple form. Let T=T(z)T=T(z) be the formal series satisfying

T=zexT.T=z e^{xT}.

Lagrange inversion gives, for h≥1h\ge1,

[zh]T=τhxh−1,τh=hh−1h!,\begin{aligned} [z^h]T&=\tau_h x^{h-1},\\ \tau_h&=\frac{h^{h-1}}{h!}, \end{aligned}

and

[zh]11−T=1h[uh−1]ehxu(1−u)2=Bh(x).\begin{aligned} [z^h]\frac1{1-T} &=\frac1h[u^{h-1}]\frac{e^{hxu}}{(1-u)^2}\\ &=B_h(x). \end{aligned}

Thus the generating series of the BhB_h is (1−T)−1(1-T)^{-1}, and multiplication by 1−T1-T inverts the preceding convolution. It follows that

Aj(x)=Lj(x)−∑h=1j−1τhxh−1Lj−h(x).A_j(x)=L_j(x)-\sum_{h=1}^{j-1}\tau_h x^{h-1}L_{j-h}(x).

Substituting the expression for LjL_j yields

Aj(x)=cjejx−∑h=1j−1τhcj−hxh−1e(j−h)x+Pj(x),\begin{aligned} A_j(x)={}&c_j e^{jx}\\ &-\sum_{h=1}^{j-1}\tau_h c_{j-h}x^{h-1}e^{(j-h)x} +P_j(x), \end{aligned}

where

Pj(x)=−Qj(x)+∑h=1j−1τhxh−1Qj−h(x).P_j(x)=-Q_j(x) +\sum_{h=1}^{j-1}\tau_h x^{h-1}Q_{j-h}(x).

Consequently deg⁡Pj≤j−1\deg P_j\le j-1. Write pj,d=[xd]Pj(x)p_{j,d}=[x^d]P_j(x).

3. Reinsert the preferences beyond spot jj

Return to n≥jn\ge j and X=n−j+1X=n-j+1. Suppose exactly ℓ\ell of the nn preferences are at most jj. Their subsequence must fill the first jj spots and make spot jj lucky, so it has Aj,ℓA_{j,\ell} possibilities. The remaining n−ℓn-\ell cars form a successful partial parking word on the last n−jn-j spots, with

(ℓ−j+1)Xn−ℓ−1(\ell-j+1)X^{n-\ell-1}

possibilities. There are (nℓ)\binom n\ell interleavings of these two subsequences.

To justify this separation, recall that success of a parking word is unchanged by permuting the cars; equivalently, if its preferences are sorted increasingly as b1≤⋯≤bnb_1\le\cdots\le b_n, success means bi≤ib_i\le i for all ii. Move the cars whose preferences exceed jj to the front, without changing either subsequence's internal order. They never affect the first jj spots. If they park successfully and the other subsequence fills the first jj spots, each excess car from that subsequence has preference at most jj and takes the next available spot beyond jj. All cars therefore park. Conversely, any successful full word has both properties. Moreover, the lucky status of spot jj depends only on the relative order of preferences at most jj, which this reordering preserves.

We obtain

Sj(n)=∑ℓ=jn(nℓ)Aj,ℓ(ℓ−j+1)Xn−ℓ−1.S_j(n)=\sum_{\ell=j}^n\binom n\ell A_{j,\ell}(\ell-j+1)X^{n-\ell-1}.

For a formal series F(x)F(x), define

F(F)=n!X[xn]eXx(xF′(x)−(j−1)F(x)).\mathcal F(F)=\frac{n!}{X}[x^n]e^{Xx} \bigl(xF'(x)-(j-1)F(x)\bigr).

Since AjA_j has no coefficients below degree jj, the counting formula says exactly Sj(n)=F(Aj)S_j(n)=\mathcal F(A_j).

The exponential term of highest rate gives

F(ejx)=(n+1)n−1.\mathcal F(e^{jx})=(n+1)^{n-1}.

All the other exponential terms in AjA_j vanish under F\mathcal F. Indeed, take 1≤r≤j−11\le r\le j-1 and d=j−r−1d=j-r-1. Then

x(xderx)′−(j−1)xderx=r(xd+1−xd)erx.\begin{aligned} &x(x^d e^{rx})'-(j-1)x^d e^{rx}\\ &\qquad=r(x^{d+1}-x^d)e^{rx}. \end{aligned}

Here X+r=n−dX+r=n-d. With M=n−d≥1M=n-d\ge1, the two relevant coefficients are equal:

MM−1(M−1)!=MMM!.\frac{M^{M-1}}{(M-1)!}=\frac{M^M}{M!}.

Therefore F(xderx)=0\mathcal F(x^d e^{rx})=0.

Finally, for 0≤d≤j−10\le d\le j-1, write nd‾=n(n−1)⋯(n−d+1)n^{\underline d}=n(n-1)\cdots(n-d+1), with n0‾=1n^{\underline0}=1. Direct coefficient extraction gives

F(xd)=(d−j+1)nd‾Xn−d−1.\mathcal F(x^d)=(d-j+1)n^{\underline d}X^{n-d-1}.

The term with d=j−1d=j-1 vanishes. The desired formula follows with the explicit polynomial

fj(n)=∑d=0j−2(j−1−d)pj,d nd‾Xj−d−2.f_j(n)=\sum_{d=0}^{j-2} (j-1-d)p_{j,d}\,n^{\underline d}X^{j-d-2}.

Here X=n−j+1X=n-j+1 as before. Every summand has degree at most j−2j-2. It remains to exclude cancellation of the leading terms.

4. Positive coefficients in the polynomial basis

We show that pj,d>0p_{j,d}>0 for 0≤d≤j−20\le d\le j-2. This will also give a direct finite formula for every coefficient needed above.

For 0≤m≤d0\le m\le d, define the positive numbers

Wm=(dm)(m+1)m−1(j−m−1)d−m.W_m=\binom dm(m+1)^{m-1}(j-m-1)^{d-m}.

Since [xd]Aj=0[x^d]A_j=0 in this range, its exponential decomposition gives

2d!pj,d=−(j+1)jd−1+∑m=0dj−mj−m−1Wm.\begin{aligned} 2d!p_{j,d}={}&-(j+1)j^{d-1}\\ &+\sum_{m=0}^d\frac{j-m}{j-m-1}W_m. \end{aligned}

We use the classical Abel identity, which in this notation is

∑m=0dWm=jd.\sum_{m=0}^d W_m=j^d.

For completeness, this identity follows from the same tree-series calculation. Let R(y)=yeR(y)R(y)=y e^{R(y)}. Lagrange inversion gives

R(y)y=∑m≥0(m+1)m−1ymm!.\frac{R(y)}y=\sum_{m\ge0}(m+1)^{m-1}\frac{y^m}{m!}.

The exponential generating function in dd of the left side of Abel's identity is

e(j−1)zR(ze−z)ze−z=ejz,e^{(j-1)z}\frac{R(ze^{-z})}{ze^{-z}}=e^{jz},

because R(ze−z)=zR(ze^{-z})=z as formal series. Comparing coefficients proves the identity.

Using ∑mWm=jd\sum_m W_m=j^d and splitting j−m=(j−m−1)+1j-m=(j-m-1)+1 in the expression for pj,dp_{j,d} now gives

2d!pj,d=∑m=0dWmj−m−1−jd−1.2d!p_{j,d}=\sum_{m=0}^d\frac{W_m}{j-m-1}-j^{d-1}.

For 0≤m≤d≤j−20\le m\le d\le j-2, each denominator lies strictly between 00 and jj. Thus

∑m=0dWmj−m−1>1j∑m=0dWm=jd−1,\sum_{m=0}^d\frac{W_m}{j-m-1} >\frac1j\sum_{m=0}^d W_m=j^{d-1},

which proves pj,d>0p_{j,d}>0. Negative exponents occurring at d=0d=0 or m=dm=d cause no problem: their bases are positive integers, so these are ordinary rational numbers.

Each polynomial nd‾(n−j+1)j−d−2n^{\underline d}(n-j+1)^{j-d-2} is monic of degree j−2j-2. Hence fjf_j has degree exactly j−2j-2, with positive rational leading coefficient

rj=∑d=0j−2(j−1−d)pj,d>0.r_j=\sum_{d=0}^{j-2}(j-1-d)p_{j,d}>0.

For example, the formula reproduces

f2(n)=14,f3(n)=2n−13,f4(n)=13n2−26n+98.\begin{aligned} f_2(n)&=\frac14,\\ f_3(n)&=\frac{2n-1}{3},\\ f_4(n)&=\frac{13n^2-26n+9}{8}. \end{aligned}

5. The limiting probability

There are (n+1)n−1(n+1)^{n-1} parking functions of length nn, by the circular count above with m=t=nm=t=n. For fixed j≥2j\ge2,

nj−2XX(n+1)n−1=(nn+1)j−2⋅(1−jn+1)n−j+1⟶e−j.\begin{aligned} \frac{n^{j-2}X^X}{(n+1)^{n-1}} &=\left(\frac n{n+1}\right)^{j-2}\\ &\quad\cdot\left(1-\frac j{n+1}\right)^{n-j+1}\\ &\longrightarrow e^{-j}. \end{aligned}

Since fj(n)/nj−2→rjf_j(n)/n^{j-2}\to r_j, division of the exact counting formula by (n+1)n−1(n+1)^{n-1} gives the asserted limit. The count holds for every n≥jn\ge j, including n=jn=j, and the separate j=1j=1 case was established at the outset. This proves the entire polynomial-form conjecture.