Skip to content

Parking with Frustrated Drivers

Joshua Hallam, Jenson Molebash, Chris Porter

math.CO

Abstract

Imagine there are nn cars lined up along a one-way street containing nn spots. Each car contains a group of friends, including a reluctant driver. Each car has a preferred spot and cars enter one by one. The cars drive to their preferred spot and if it is empty park there. If it is not empty, a friend in the back yells out ``Hey! You should have driven faster!". Frustrated by this, the driver continues down the road until they find the last unoccupied spot (if one exists) and parks there. We say a sequence (a1,a2,…,an)(a_1,a_2,\dots, a_n) of preferred spots is a frustrated parking function if all cars can park under this rule. In this paper, we study the enumerative properties of frustrated parking functions. In particular, we show that the number of frustrated parking functions of length nn is (2n−1)!!(2n-1)!!. This is done by associating frustrated parking functions with height labeled Dyck paths. Using this association, we are then able to better understand the sets of lucky cars and lucky spots for frustrated parking functions. We show that the frustrated parking functions of length nn where the first kk cars (or first kk spots) are lucky is given by k!S(n,k)k!S(n,k) where S(n,k)S(n,k) is the Stirling number of the second kind. This in turn implies that the number of frustrated parking functions where once a car (or spot) is unlucky, the remaining cars (or spots) are unlucky is counted by the nthn^{th} Fubini number. We also show that the number of frustrated parking functions with kk lucky cars (or spots) is given by the second order Eulerian number.

Create a lesson

Metadata

Comments
20 pages, comments welcome!