Parking defects counted by marked paths in labeled trees

Why does the total number of failed cars in ordinary one-way parking equal the total of pairwise distances in labeled trees? The paper gives a direct combinatorial proof of the known aggregate identity. For every integer \(n\ge1\), let \(f:[n]\to[n]\) specify the preferred spaces of \(n\) labeled cars. In a fixed arrival order each car takes the first free space at or to the right of its preference, or fails. If \(d(f)\) counts failures, then \[D_n=\sum_f d(f)=\sum_T\sum_{\{u,v\}\in\binom{[n]}2}\operatorname{dist}_T(u,v)=\frac12\sum_{k=1}^{n-1}\binom nk k^k(n-k)^{n-k},\] where \(T\) ranges over unrooted trees on \([n]\) and distance counts edges. The sum is empty for \(n=1\). Writing \(x_j=|f^{-1}(j)|-1\), the parking recurrence \(Q_0=0\), \(Q_j=\max(0,Q_{j-1}+x_j)\) gives \(d(f)=\max_{0\le r\le n}\sum_{j=n-r+1}^n x_j\). The finite Bohnenblust–Spitzer transformation turns a maximum over prefixes in an order of the spaces into positive cycle totals. Summing over orders and maps gives \[D_n=\sum_{k=1}^{n-1}\frac1k\sum_f(M_{A_k}(f)-k)_+,\] where \(A_k\) is any fixed \(k\)-set of spaces, \(M_A(f)=|f^{-1}(A)|\) and \(y_+=\max(y,0)\). Changing one preference across \(A_k\) defines edges between adjacent levels of \(M_{A_k}\). At level \(m\), down-degree minus up-degree is \(m(n-k)-(n-m)k=n(m-k)\). Internal edges above level \(k\) cancel, leaving \(n\sum_f(M_{A_k}(f)-k)_+=k(n-k)\binom nk k^k(n-k)^{n-k}\). Complementary splits average the resulting weights to \(1/2\). On the tree side, cutting a marked edge of the path between the selected endpoints leaves two labeled trees, each with a designated cut endpoint and a designated path endpoint. These roles may coincide. Cayley's formula gives \(k^k\) decorated trees on a fixed \(k\)-set, including a singleton. The two component orders account for the factor \(1/2\). This identifies the same split count on both sides without using the defect distribution. Duchi–Lillo–Puerto–Rosas–Trandafir, §6, item 2, first identity. Give a direct combinatorial proof that total failures over all preference maps of \(n\) labeled cars into \(n\) ordinary one-way parking spaces equal the total distances over distinct unordered vertex pairs in all unrooted labeled trees on \([n]\). The proof works for every \(n\ge1\). Preference-change cancellation and a marked-edge cut both reduce the totals to \(\frac12\sum_{k=1}^{n-1}\binom nk k^k(n-k)^{n-k}\). This establishes the aggregate ordinary-parking identity. The neighboring metered-parking identity is separate.

Authors

Institutions

Publication Details

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

Parking defects counted by marked paths in labeled trees

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

Parking defects counted by marked paths in labeled trees

Zixuan He
preprint en

Abstract

Why does the total number of failed cars in ordinary one-way parking equal the total of pairwise distances in labeled trees? The paper gives a direct combinatorial proof of the known aggregate identity. For every integer \(n\ge1\), let \(f:[n]\to[n]\) specify the preferred spaces of \(n\) labeled cars. In a fixed arrival order each car takes the first free space at or to the right of its preference, or fails. If \(d(f)\) counts failures, then \[D_n=\sum_f d(f)=\sum_T\sum_{\{u,v\}\in\binom{[n]}2}\operatorname{dist}_T(u,v)=\frac12\sum_{k=1}^{n-1}\binom nk k^k(n-k)^{n-k},\] where \(T\) ranges over unrooted trees on \([n]\) and distance counts edges. The sum is empty for \(n=1\). Writing \(x_j=|f^{-1}(j)|-1\), the parking recurrence \(Q_0=0\), \(Q_j=\max(0,Q_{j-1}+x_j)\) gives \(d(f)=\max_{0\le r\le n}\sum_{j=n-r+1}^n x_j\). The finite Bohnenblust–Spitzer transformation turns a maximum over prefixes in an order of the spaces into positive cycle totals. Summing over orders and maps gives \[D_n=\sum_{k=1}^{n-1}\frac1k\sum_f(M_{A_k}(f)-k)_+,\] where \(A_k\) is any fixed \(k\)-set of spaces, \(M_A(f)=|f^{-1}(A)|\) and \(y_+=\max(y,0)\). Changing one preference across \(A_k\) defines edges between adjacent levels of \(M_{A_k}\). At level \(m\), down-degree minus up-degree is \(m(n-k)-(n-m)k=n(m-k)\). Internal edges above level \(k\) cancel, leaving \(n\sum_f(M_{A_k}(f)-k)_+=k(n-k)\binom nk k^k(n-k)^{n-k}\). Complementary splits average the resulting weights to \(1/2\). On the tree side, cutting a marked edge of the path between the selected endpoints leaves two labeled trees, each with a designated cut endpoint and a designated path endpoint. These roles may coincide. Cayley's formula gives \(k^k\) decorated trees on a fixed \(k\)-set, including a singleton. The two component orders account for the factor \(1/2\). This identifies the same split count on both sides without using the defect distribution. Duchi–Lillo–Puerto–Rosas–Trandafir, §6, item 2, first identity. Give a direct combinatorial proof that total failures over all preference maps of \(n\) labeled cars into \(n\) ordinary one-way parking spaces equal the total distances over distinct unordered vertex pairs in all unrooted labeled trees on \([n]\). The proof works for every \(n\ge1\). Preference-change cancellation and a marked-edge cut both reduce the totals to \(\frac12\sum_{k=1}^{n-1}\binom nk k^k(n-k)^{n-k}\). This establishes the aggregate ordinary-parking identity. The neighboring metered-parking identity is separate.

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