Happy Numbers

Any number that reduces to one when you take the sum of the square of its digits and continue iterating it until it yields 1 is a happy number, any number that doesn't, isn't.

The Doctor - Doctor Who