Haskell Quiz/Happy Numbers
< Haskell Quiz(Difference between revisions)
|(2 intermediate revisions by one user not shown)|
Latest revision as of 10:33, 13 January 2007
RubyQuiz #93: A happy number is found using the following process: Take the sum of the squares of its digits, and continue iterating this process until it yields 1, or produces an infinite loop.