Counting with Hiccup Sequences
Benoit Cloitre
Key points
From the paper's conclusion- We extend the nested recurrence and a tree interpretation to every miss increment $z\geq2$ and every initial value $x\geq2$.
Abstract
The $(0,x,1,2)$-hiccup sequence starts at $x$ and increases by 1 when the current index has already appeared as a value, and by 2 otherwise. We prove directly that for $x\geq3$ the gaps between its missing values are $1,2,3,\ldots$, each repeated $x-2$ times, and we derive closed formulas, an explicit error bound, and a generating function in terms of Ramanujan's theta functions. The counting functions of the complements satisfy nested recurrences. The sequences of missing values are the partial complements of polygonal numbers. In particular, the $(x-2)$-fold composition of the enumeration of the positive integers that are not $x$-gonal is the hiccup sequence minus 1. We extend the nested recurrence and a tree interpretation to every miss increment $z\geq2$ and every initial value $x\geq2$. Further interpretations involve polyomino vertices, monochromatic pairs, and, by a theorem of Bickle, Ramsey core numbers.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Counting formulas and refined generating functions for inversion-sequence Classes 152 and 207arXiv · 2026
- Quadratic periods and preperiods in subtraction games with one varying movearXiv · 2026
- A uniform double-factorial construction for consecutive-pattern packingsarXiv · 2026
- Meta-Nested RecurrencesarXiv · 2026
- Quadratic periods after adjoining one move to a fixed subtraction gamearXiv · 2026
- Ranking and Unranking Permutations in Heap's OrderarXiv · 2026