Pointwise order of generalized Hofstadter functions $G, H$ and beyond
<|reference_start|>Pointwise order of generalized Hofstadter functions $G, H$ and beyond: Hofstadter's $G$ function is recursively defined via $G(0)=0$ and then $G(n)=n-G(G(n-1))$. Following Hofstadter, a family $(F_k)$ of similar functions is obtained by varying the number $k$ of nested recursive calls in this equation. We establish here that this family is ordered pointwise: for all $k$ and $n$, $F_k(n) \le F_{k+1}(n)$. For achieving this, a detour is made via infinite morphic words generalizing the Fibonacci word. Various properties of these words are proved, concerning the lengths of substituted prefixes of these words and the counts of some specific letters in these prefixes. We also relate the limits of $\frac{1}{n}F_k(n)$ to the frequencies of letters in the considered words.<|reference_end|>
@article{letouzey2024pointwise,
    title={Pointwise order of generalized Hofstadter functions $G, H$ and beyond},
    author={Pierre Letouzey (IRIF), Shuo Li, Wolfgang Steiner (LIAFA)},
    journal={arXiv preprint arXiv:2410.00529},
    year={2024},
    archivePrefix={arXiv},
    eprint={2410.00529},
    primaryClass={cs.DM cs.FL math.CO math.NT}
}