Numbers and the heights of their happiness
Numbers and the heights of their happiness
A generalized happy function, $S_{e,b}$ maps a positive integer to the sum of its base $b$ digits raised to the $e^\text{th}$ power. We say that $x$ is a base $b$, $e$ power, height $h$, $u$ attracted number if $h$ is the smallest positive integer so that $S^{h}_{e,b}(x)=u$. Happy numbers are …