\documentclass[11pt]{article} \usepackage[T1]{fontenc} \usepackage[margin=1in]{geometry} \usepackage{amsmath,amssymb,amsthm,mathtools,booktabs,microtype,xcolor} \usepackage{xurl} \usepackage[colorlinks=true,allcolors=blue!50!black]{hyperref} \setlength{\emergencystretch}{2em} \newtheorem{theorem}{Theorem}[section] \newtheorem{lemma}[theorem]{Lemma} \newtheorem{corollary}[theorem]{Corollary} \theoremstyle{definition}\newtheorem{definition}[theorem]{Definition} \newcommand{\Lucky}{\operatorname{Lucky}} \newcommand{\lean}[1]{{\small\path{#1}}} \title{Three-Element Lucky Sets of Stirling Permutations} \author{Yuran Xiu\\IIIS, Tsinghua University\\ \texttt{xiuyr23@mails.tsinghua.edu.cn}} \hypersetup{pdfauthor={Yuran Xiu}} \date{14 October 2026} \begin{document} \maketitle \begin{abstract} We characterize the three-element sets of lucky car indices that occur when a Stirling permutation of order $n$ is used as a parking function. A set $\{1,x,y\}$, with $1b$. If $U$ is an increasing list of integers, $D(U)$ doubles each entry in its list order. Juxtaposition means word concatenation; an arithmetic expression such as $(2r)$ between blocks denotes one letter of that value. We use two elementary parking observations. A consecutive doubled run whose first preference is free has exactly one lucky car, its first. After the second copy of a label $a$ has parked, position $a+1$ is occupied, so the first copy of the next label is unlucky. This remains true if some larger positions were occupied before the run. Second, if the occupied positions form $[L,H]$, an increasing doubled run starting at an occupied preference and with consecutive label gaps at most 2 is entirely unlucky. Each pair extends the right endpoint by 2, so the next preference remains within the occupied interval. Both observations follow directly by induction from the first-free rule. \subsection[Odd x, odd y]{Odd $x$, odd $y$} Write $x=2r+1$ and $y=2r+2t+1$, where $r,t\geq1$, and let $u=n-r-t\geq1$. Use \begin{equation}\label{eq:oddodd} D(u+t+1,n)\ D(u+1,u+t)\ D(1,u). \end{equation} Each of the three runs starts with a preference below all earlier preferences, hence at a free position. By the first observation, only the first car of each run is lucky. Their indices are $1,2r+1,2r+2t+1$. \subsection[Odd x, even y]{Odd $x$, even $y$} Write $x=2r+1$ and $y=2r+2t+2$, where $r\geq1$, $t\geq0$, and $r+t+2\leq n$. Use \begin{equation}\label{eq:oddeven} D(3,r+2)\ 1\ D(r+3,r+t+2)\ 2\ 2\ 1\ D(r+t+3,n). \end{equation} The initial run has only its first car lucky and occupies $[3,2r+2]$. The first 1, at position $x$, is lucky. The following $t$ doubled labels extend the upper interval to $[3,y]$, since their first preference $r+3$ is at most $2r+2$. The first 2, at position $y$, is lucky. The second 2 and the closing 1 extend the occupied interval to $[1,y+2]$. The final doubled tail is unlucky: its first preference $r+t+3$ is at most $y+2$, and its labels are consecutive. \subsection[Even x, even y]{Even $x$, even $y$} Write $x=2r$, $y=2s$, where $1\leq rr+1$. Thus all five words belong to $Q_n$. The preceding parking analyses give precisely $\{1,x,y\}$ in each case. Together with the necessary conditions, they prove Theorem~\ref{thm:classification}. \section{Enumeration} The cases of Theorem~\ref{thm:classification} are disjoint. In case (A), put $x=2a+1$ for $1\leq a\leq n-2$. There are $2n-2a-2$ choices of $y$, giving $(n-1)(n-2)$ triples when $n\geq2$; the count is also zero at $n=1$. In case (B), put $x=2a$ and $y=2b+1$. Then $1\leq a\leq h$ and $a\leq b\leq n-1$, so the count is \[ \sum_{a=1}^h(n-a)=nh-\frac{h(h+1)}2. \] In case (C), put $x=2a$ and $y=2b$. The constraints are $1\leq a\leq h$ and $a