A tree approach to the happy function
arXiv:2410.13990
Abstract
In this article, we present a method to construct -power -happy numbers of any height. Using this method, we construct a tree that encodes these happy numbers, their heights, and their ancestry--relation to other happy numbers. For fixed power and base , we consider happy numbers with at most digits and we give a formula for the cardinality of the preimage of a single iteration of the happy function. We show that these happy numbers arise naturally as children of a given vertex in the tree. We conclude by applying this technique to -power -unhappy numbers of a given height.
12 pages, 8 figures