A tree approach to the happy function
Eva G. Goedhart, Yusuf Gurtas, and Pamela E. Harris

TL;DR
This paper introduces a tree-based method to construct and analyze $e$-power $b$-happy numbers of any height, providing formulas for their enumeration and exploring their relationships within a structured framework.
Contribution
It presents a novel tree construction technique to encode $e$-power $b$-happy numbers, their heights, and ancestry relations, along with formulas for their preimages.
Findings
Constructed a tree encoding happy numbers and their relations.
Derived a formula for the cardinality of preimages of the happy function.
Applied the technique to analyze unhappy numbers of a given height.
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.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsEvolutionary Algorithms and Applications
