Happy Numbers

Posted on 24 Oct 2013

A Happy Number is one whose digits squared and summed repeatedly eventually equals 1. You can use the javascript based checker below to see if a number is happy or not. It's an interesting little exercise in writing a recursive program.

Check if a number is happy: