A generalized happy function,
Se,b
maps a positive integer to the sum of its
base b digits raised
to the
e-th power.
We say that
x
is a base-b,
e-power,
height-h,
u-attracted number if
h is the smallest positive
integer such that
She,b(x)=u.
Happy numbers are then base-10, 2-power, 1-attracted numbers of any height. Let
σh,e,b(u) denote the
smallest height-h,
u-attracted number
for a fixed base
b
and exponent
e
and let
g(e)
denote the smallest number such that every integer can be written as
xe1+xe2+⋯+xeg(e) for some nonnegative
integers
x1,x2,…,xg(e). We prove that if
pe,b is the smallest nonnegative
integer such that
bpe,b>g(e),
d=⎡⎢
⎢
⎢
⎢⎢g(e)+11−(b−2b−1)e+e+pe,b⎤⎥
⎥
⎥
⎥⎥,
and
σh,e,b(u)≥bd,
then
Se,b(σh+1,e,b(u))=σh,e,b(u).
|