happy number
Given a base integer
where is the least significant digit and is the most significant, and the function
if computing and iterating that function on the result eventually leads to a fixed point
of 1, then is said to be a happy number in base .
For and , all numbers are happy numbers. All standard positional bases have happy numbers.