Happy numbers

Happy numbers eventually reach 1 when you repeatedly replace the number with the sum of squares of its digits.