Papers
Topics
Authors
Recent
Search
2000 character limit reached

Prime Parking Functions in Combinatorics

Updated 6 July 2026
  • Prime parking functions are indecomposable parking configurations defined by strict inequalities in preference sequences, serving as the basic building blocks in combinatorial decompositions.
  • Their classical enumeration, such as (n-1)^(n-1), is established via bijections, path models, and generating functions that connect linear and tree-based paradigms.
  • Generalizations to vector, (p,q), two-dimensional, and graphical settings extend their significance, revealing deep ties to algebraic combinatorics and symmetric-function theory.

Searching arXiv for papers on prime parking functions and related generalizations. Prime parking functions are the indecomposable objects in the combinatorics of parking functions. In the classical one-way street model of Konheim and Weiss, a parking function of length nn is a sequence whose nondecreasing rearrangement q1≀⋯≀qnq_1\le \cdots \le q_n satisfies qi≀iq_i\le i for all ii; it is prime when the stronger inequalities qi<iq_i<i hold for all i=2,
,ni=2,\dots,n, or equivalently when deleting a single entry equal to $1$ produces a parking function of length n−1n-1 (Duarte et al., 2023). The same idea reappears in rooted trees, where primeness means that every edge is traversed by some displaced driver, and in broader settings such as vector, (p,q)(p,q), two-dimensional, and graphical parking functions, where primeness is defined by forbidding nontrivial decompositions (King et al., 2018, Armon et al., 2024, Selig et al., 29 Jun 2025).

1. Classical definition and indecomposability

A classical parking function of length nn is a sequence q1≀⋯≀qnq_1\le \cdots \le q_n0 such that every car parks under the forward-only parking rule. Equivalently, if q1≀⋯≀qnq_1\le \cdots \le q_n1 is the nondecreasing rearrangement of q1≀⋯≀qnq_1\le \cdots \le q_n2, then

q1≀⋯≀qnq_1\le \cdots \le q_n3

This criterion is standard in the subject and underlies most later generalizations (Duarte et al., 2023).

A prime parking function is obtained by strengthening these inequalities. In one convention, a parking function q1≀⋯≀qnq_1\le \cdots \le q_n4 is prime if

q1≀⋯≀qnq_1\le \cdots \le q_n5

In the equivalent q1≀⋯≀qnq_1\le \cdots \le q_n6-based convention used in generalized settings, a sequence q1≀⋯≀qnq_1\le \cdots \le q_n7 is prime if

q1≀⋯≀qnq_1\le \cdots \le q_n8

The two formulations differ only by indexing. In both, primeness is characterized by strictness on every proper initial segment (Duarte et al., 2023, Armon et al., 2024).

Several equivalent descriptions are central. A classical parking function is prime if and only if removing one occurrence of q1≀⋯≀qnq_1\le \cdots \le q_n9 yields a parking function of length qi≀iq_i\le i0; in the qi≀iq_i\le i1-based convention, the corresponding statement uses removal of a qi≀iq_i\le i2 (Duarte et al., 2023, Armon et al., 2024). Prime parking functions are also precisely those with no breakpoint except the final one: a breakpoint is an index qi≀iq_i\le i3 such that exactly qi≀iq_i\le i4 cars prefer spots in qi≀iq_i\le i5, and its presence gives a decomposition into smaller parking functions. The absence of breakpoints therefore makes prime parking functions the indecomposable components of the classical theory (Selig et al., 29 Jun 2025).

Path models encode the same phenomenon. A parking function may be represented by a Catalan path, and any Catalan path factors uniquely as a concatenation of prime Catalan paths, namely those touching the diagonal only at start and end. Labeling the vertical steps yields a unique shuffle decomposition

qi≀iq_i\le i6

with each qi≀iq_i\le i7 prime and qi≀iq_i\le i8 (Armon et al., 2024). This makes primeness a direct combinatorial analogue of irreducibility under path concatenation.

2. Enumeration in the classical case

The basic enumerative formulas are classical:

qi≀iq_i\le i9

The second identity is the standard count of prime parking functions of length ii0 (Duarte et al., 2023). In the shifted notation of some later papers, the same statement is written as

ii1

which is equivalent after replacing ii2 by ii3 (Harris et al., 28 Jan 2026).

A direct combinatorial proof of

ii4

was given by Duarte and Guedes de Oliveira through a bijection

ii5

Starting from an arbitrary ii6, they define cyclic sums

ii7

choose

ii8

and then construct a shifted sequence

ii9

The resulting qi<iq_i<i0 is prime, and the decomposition qi<iq_i<i1 is unique, giving the enumeration immediately (Duarte et al., 2023).

The same proof yields a parking-lot interpretation. If parking spots are labeled cyclically as

qi<iq_i<i2

then for every preference list qi<iq_i<i3 with each qi<iq_i<i4 there is a unique entry point qi<iq_i<i5 such that all cars succeed; the corresponding shifted list is a prime parking function (Duarte et al., 2023). This reformulation places primeness close to the original parking rule rather than to an auxiliary recurrence or generating function.

3. Rooted-tree prime parking functions

King and Yan extended the notion of parking function from a line of parking spots to a rooted, vertex-labeled tree with all edges oriented toward the root. Drivers begin at preferred vertices and follow the unique directed path to the root until reaching the first vacant vertex. A preference sequence qi<iq_i<i6 is a parking function on a rooted tree qi<iq_i<i7 if all drivers park (King et al., 2018).

The rooted-tree model has an exact subtree criterion. For each vertex qi<iq_i<i8, let

qi<iq_i<i9

Then

i=2,
,ni=2,\dots,n0

The prime condition is obtained by making all proper down-set inequalities strict:

i=2,
,ni=2,\dots,n1

Equivalently, every non-root edge is used by some driver who fails to park at her preferred spot (King et al., 2018).

The main enumerative theorem is strikingly simple:

i=2,
,ni=2,\dots,n2

where i=2,
,ni=2,\dots,n3 denotes the number of prime parking functions on rooted trees with i=2,
,ni=2,\dots,n4 vertices (King et al., 2018). The proof is given both by generating functions and by bijection. On the generating-function side, if

i=2,
,ni=2,\dots,n5

then decomposition into a prime core and adjunct components yields

i=2,
,ni=2,\dots,n6

and this combines with the explicit formula for i=2,
,ni=2,\dots,n7 to imply

i=2,
,ni=2,\dots,n8

where i=2,
,ni=2,\dots,n9 is the Catalan generating function. Coefficient extraction gives $1$0 (King et al., 2018).

The same paper introduces increasing prime tree parking functions, called prime parking distributions, obtained by imposing

$1$1

Their total number is

$1$2

where $1$3 is the $1$4th large Schröder number and

$1$5

The generating function satisfies the quadratic differential equation

$1$6

whose solution yields the Schröder-number formula (King et al., 2018).

4. Decomposition principles and bijective models

Prime parking functions are important partly because general parking functions decompose into them. In the rooted-tree setting, every parking function splits uniquely into a prime core together with ordinary parking functions hanging from unused edges. In one formulation, every parking function has a unique root-core: the maximal connected subtree containing the root whose every edge is used. Removing that core leaves attached subtrees, each carrying an ordinary tree parking function; conversely, gluing a prime core to arbitrary attached parking functions reconstructs the original object (King et al., 2018, Panholzer, 2020).

This decomposition is structural rather than merely enumerative. In the notation of combinatorial classes, the total class $1$7 of parking functions and the prime class $1$8 satisfy a substitution equation of the form

$1$9

which becomes, at the level of generating functions,

n−1n-10

For Cayley trees, where n−1n-11, Panholzer derives an implicit solution leading again to

n−1n-12

and extends the method to ordered, binary, n−1n-13-ary, and bundled tree families (Panholzer, 2020).

Bijective approaches complement the generating-function theory. For rooted trees, there is a direct bijection

n−1n-14

which immediately yields

n−1n-15

The construction standardizes the parking procedure by recording the order in which edges are first crossed and then recursively peels off the final driver (King et al., 2018).

For classical parking functions, path bijections play an analogous role. A parking function n−1n-16 corresponds to a Ɓukasiewicz word

n−1n-17

and hence to a Ɓukasiewicz path that never dips below the axis. Prime parking functions correspond exactly to those paths that touch the axis only at the endpoints. There is also a bijection between labeled Ɓukasiewicz paths and labeled Dyck paths, and the area under the Ɓukasiewicz path equals the total displacement of the corresponding parking function (Harris et al., 28 Jan 2026). This suggests that primeness is naturally encoded by a “no intermediate return” condition across multiple combinatorial realizations.

5. Statistics, displacement, and quasisymmetric structure

Recent work studies prime parking functions beyond counting. Harris, Kara, McNicholas, Nyman, and Yin define the total displacement of a prime parking function n−1n-18 of length n−1n-19 by

(p,q)(p,q)0

where (p,q)(p,q)1 is the actual parking spot attained by car (p,q)(p,q)2 (Harris et al., 28 Jan 2026).

They derive an exact formula for the displacement-enumerator

(p,q)(p,q)3

namely

(p,q)(p,q)4

where (p,q)(p,q)5, (p,q)(p,q)6, and (p,q)(p,q)7 for each step (Harris et al., 28 Jan 2026). They also compute

(p,q)(p,q)8

with a stated asymptotic expansion for (p,q)(p,q)9 and a corresponding asymptotic formula for nn0 (Harris et al., 28 Jan 2026).

Another refinement concerns local statistics modulo cyclic shift. For a tuple nn1 and nn2, an nn3-forward difference at position nn4 is defined by

nn5

The case nn6 records ties. The generating polynomial for the number of nn7-forward differences is

nn8

By differentiation at nn9, the expected number of q1≀⋯≀qnq_1\le \cdots \le q_n00-forward differences is q1≀⋯≀qnq_1\le \cdots \le q_n01 for every fixed q1≀⋯≀qnq_1\le \cdots \le q_n02; in particular, the expected number of ties in a uniform prime parking function is q1≀⋯≀qnq_1\le \cdots \le q_n03, and the expected numbers of strict ascents and descents are each q1≀⋯≀qnq_1\le \cdots \le q_n04 (Harris et al., 28 Jan 2026).

Prime parking functions also support quasisymmetric and Schur-positive expansions. Writing q1≀⋯≀qnq_1\le \cdots \le q_n05 for Gessel’s fundamental quasisymmetric function and q1≀⋯≀qnq_1\le \cdots \le q_n06 for the tie set of q1≀⋯≀qnq_1\le \cdots \le q_n07, one has

q1≀⋯≀qnq_1\le \cdots \le q_n08

where q1≀⋯≀qnq_1\le \cdots \le q_n09 is the Schur function of hook shape q1≀⋯≀qnq_1\le \cdots \le q_n10 (Harris et al., 28 Jan 2026). This places prime parking functions within the algebraic combinatorics of q1≀⋯≀qnq_1\le \cdots \le q_n11-partitions and symmetric-function expansions.

6. Generalized and graphical prime parking functions

The indecomposability paradigm extends well beyond the classical line and rooted-tree models. Armon, Le Borgne, and Vazirani define primeness for vector parking functions, q1≀⋯≀qnq_1\le \cdots \le q_n12-parking functions, and two-dimensional vector parking functions by replacing weak inequalities with strict ones on proper initial data, or equivalently by requiring the underlying path model to touch its boundary only at the start and end (Armon et al., 2024).

For a weakly increasing vector q1≀⋯≀qnq_1\le \cdots \le q_n13, a q1≀⋯≀qnq_1\le \cdots \le q_n14-parking function q1≀⋯≀qnq_1\le \cdots \le q_n15 is prime when

q1≀⋯≀qnq_1\le \cdots \le q_n16

Equivalently, q1≀⋯≀qnq_1\le \cdots \le q_n17 is prime for q1≀⋯≀qnq_1\le \cdots \le q_n18 if and only if it is an ordinary q1≀⋯≀qnq_1\le \cdots \le q_n19-parking function for

q1≀⋯≀qnq_1\le \cdots \le q_n20

When q1≀⋯≀qnq_1\le \cdots \le q_n21 is an arithmetic progression, the paper gives explicit formulas:

q1≀⋯≀qnq_1\le \cdots \le q_n22

and

q1≀⋯≀qnq_1\le \cdots \le q_n23

The special case q1≀⋯≀qnq_1\le \cdots \le q_n24 recovers the classical count q1≀⋯≀qnq_1\le \cdots \le q_n25 (Armon et al., 2024).

For prime q1≀⋯≀qnq_1\le \cdots \le q_n26-parking functions, the defining condition is that the two order-statistic lattice paths intersect only at q1≀⋯≀qnq_1\le \cdots \le q_n27 and q1≀⋯≀qnq_1\le \cdots \le q_n28. Equivalently, removing a zero from each of the two sequences produces an ordinary q1≀⋯≀qnq_1\le \cdots \le q_n29-parking function. Their total number is

q1≀⋯≀qnq_1\le \cdots \le q_n30

while the increasing ones satisfy

q1≀⋯≀qnq_1\le \cdots \le q_n31

The degeneration q1≀⋯≀qnq_1\le \cdots \le q_n32 or q1≀⋯≀qnq_1\le \cdots \le q_n33 yields the classical prime enumeration (Armon et al., 2024).

Graphical generalizations replace the line or lattice path by an arbitrary connected graph with a sink. A q1≀⋯≀qnq_1\le \cdots \le q_n34-parking function is prime if it admits no nontrivial decomposition across a partition q1≀⋯≀qnq_1\le \cdots \le q_n35 of the nonsink vertices; in one-dimensional and bipartite specializations this recovers the classical and q1≀⋯≀qnq_1\le \cdots \le q_n36 notions (Selig et al., 29 Jun 2025). Under the Postnikov–Shapiro correspondence

q1≀⋯≀qnq_1\le \cdots \le q_n37

q1≀⋯≀qnq_1\le \cdots \le q_n38-parking functions are in bijection with recurrent configurations of the Abelian sandpile model, and prime q1≀⋯≀qnq_1\le \cdots \le q_n39-parking functions correspond to strongly recurrent configurations (Selig et al., 29 Jun 2025). This duality yields explicit counts on several graph families, including wheel graphs, complete graphs, complete multi-partite graphs, complete bipartite graphs with dominating sink, and complete split graphs (Selig et al., 29 Jun 2025).

A notable difference from the classical case appears here: every q1≀⋯≀qnq_1\le \cdots \le q_n40 admits a prime decomposition into blocks, but unlike the classical line-graph case this decomposition need not be unique in general (Selig et al., 29 Jun 2025). This suggests that “prime” retains its role as an indecomposable unit, while uniqueness of factorization is sensitive to the ambient combinatorial geometry of the parking model.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Prime Parking Functions.