A tree approach to the happy function

Abstract

In this article, we present a method to construct e-power b-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 e and base b, we consider happy numbers with at most k 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 e-power b-unhappy numbers of a given height.

0

Turn this paper into a full lesson

ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…