Unimodality of the number of parking functions with a given maximum displacement

Primarily AI-generated textHuman understanding: some partsmath.CO — Combinatoricsmath.PR — Probability

Contributed by Jaehyoung Kim ↗

Version 1 / Nov 25, 2026 / CC BY 4.0

Abstract

We prove that, for every n, the numbers of parking functions of length n in which the maximum displacement of a car from its preferred spot is 0, 1, . . . , n−1 form a unimodal sequence. This confirms a conjecture of Celano, Elder, Hadaway, Harris, Martin, Priestley and Udell. The proof follows, for each value of the maximum displacement, the sign of the difference of two neighbouring terms as n grows. It is computer-assisted: explicit estimates are used when the displacement is large, and exact computations with integers, carried out by computer, when the displacement or the length is small.

Provenance statement

Jaehyoung Kim built do-math, a system that runs AI research sessions, chose the problem and set the terms and acceptance standards of the work; he contributed no mathematics. The proof was found, reviewed, formalized and written up by AI sessions: two runs of do-math (5–13 and 19–23 November 2026) and sessions between and after them. The first run used OpenAI GPT-6.1 Sol (Codex CLI) and Anthropic Claude Fable 5.1 and Opus 5.5 (Claude Code); the second used Claude Fable and Opus only. The main theorem is checked by Lean 4.36.0 with Mathlib (Parking.root_unimodal; the three standard axioms only; finite computations evaluated by the kernel). Lean checked the library, not this paper: AI sessions wrote the paper from the written records of the formal proof and compared each of its 111 numbered statements with a Lean declaration. No person has refereed the mathematics. Detailed records of the research can be found in Zenodo( https://zenodo.org/records/24505667 ).

Formalizations

Tools used

do-math
do-math

References

  1. Abel, N. H. Beweis eines Ausdruckes, von welchem die Binomial-Formel ein einzelner Fall ist. J. Reine Angew. Math., vol. 1, pp. 159–160. 1826
  2. Ager-Hart, B. A.; Beerbower, M.; Harris, P. E.; Jakovleski, J.; McClinton, M. Counting ℓ\ell-interval Fubini rankings through their parking outcome. 2026. Preprint, arXiv:2603.00693
  3. Aguilar-Fraga, T.; Elder, J.; Garcia, R. E.; Hadaway, K. P.; Harris, P. E.; Harry, K. J.; Hogan, I. B.; Johnson, J.; Kretschmann, J.; Lawson-Chavanu, K.; Martínez Mori, J. C.; Monroe, C. D.; Quiñonez, D.; Tolson, III, D.; Williams, II, D. A. Interval and ℓ\ell-interval rational parking functions. Discrete Math. Theor. Comput. Sci., vol. 26, no. 1, pp. Paper No. 10, 29 pp. 2024
  4. Aldous, D.; Pitman, J. Tree-valued Markov chains derived from Galton-Watson processes. Ann. Inst. H. Poincaré Probab. Statist., vol. 34, no. 5, pp. 637–686. 1998
  5. Celano, K.; Elder, J.; Hadaway, K. P.; Harris, P. E.; Martin, J. L.; Priestley, A.; Udell, G. ℓ\ell-Interval parking functions: Foata invariance, statistic generating functions, and ciphers. 2026. listed on arXiv under the title of its first version of 2025, Statistics on ℓ\ell-interval parking functions. Preprint, arXiv:2507.07243v2
  6. de Bruijn, N. G.; Erdős, P. On a recursion formula and on some Tauberian theorems. J. Research Nat. Bur. Standards, vol. 50, no. 3, pp. 161–164. 1953
  7. Flajolet, P.; Grabner, P. J.; Kirschenhofer, P.; Prodinger, H. On Ramanujan's QQ-function. J. Comput. Appl. Math., vol. 58, no. 1, pp. 103–116. 1995
  8. Flajolet, P.; Poblete, P.; Viola, A. On the analysis of linear probing hashing. Algorithmica, vol. 22, no. 4, pp. 490–515. 1998
  9. Foata, D.; Riordan, J. Mappings of acyclic and parking functions. Aequationes Math., vol. 10, no. 1, pp. 10–22. 1974
  10. Fortuin, C. M.; Kasteleyn, P. W.; Ginibre, J. Correlation inequalities on some partially ordered sets. Comm. Math. Phys., vol. 22, no. 2, pp. 89–103. 1971
Show all 19 referencesShow fewer references
  1. Janson, S.; Petersson, N. The integral of the supremum process of Brownian motion. J. Appl. Probab., vol. 46, no. 2, pp. 593–600. 2009
  2. Knuth, D. E. Linear probing and graphs. Algorithmica, vol. 22, no. 4, pp. 561–568. 1998
  3. Konheim, A. G.; Weiss, B. An occupancy discipline and applications. SIAM J. Appl. Math., vol. 14, no. 6, pp. 1266–1274. 1966
  4. Pappe, J. A note on the log-concavity of parking functions. 2024. Preprint, arXiv:2412.19783
  5. Petersson, N. The maximum displacement for linear probing hashing. Combin. Probab. Comput., vol. 22, no. 3, pp. 455–476. 2013
  6. Robbins, H. A remark on Stirling's formula. Amer. Math. Monthly, vol. 62, no. 1, pp. 26–29. 1955
  7. Selig, T.; Zhu, H. Parking functions and Łukasiewicz paths. Discrete Math. Lett., vol. 14, pp. 77–84. 2024
  8. Stanley, R. P. Log-concave and unimodal sequences in algebra, combinatorics, and geometry. Ann. New York Acad. Sci., vol. 576, pp. 500–535. 1989
  9. Yan, C. H. Parking functions. Handbook of Enumerative Combinatorics, pp. 835–893. 2015

Version history

  1. v1 · 142 pagesSubmitted by Jaehyoung KimInitial depositCurrentNov 25, 2026