math

Definition

Happy Number

A happy number (in base 10) is a positive integer that eventually reaches when you repeatedly replace the number by the sum of the squares of its digits.

Example: .