Difference between revisions of "Haskell Quiz/Happy Numbers"

From HaskellWiki
Jump to navigation Jump to search
(Page added)
 
m (category)
Line 1: Line 1:
  +
[[Category:Code]]
  +
 
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.
 
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.
   

Revision as of 06:40, 27 October 2006


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.

The Problem

Solutions