# Haskell Quiz/Happy Numbers

### From HaskellWiki

< Haskell Quiz(Difference between revisions)

m (category) |
(+cat) |
||

(One intermediate revision by one user not shown) | |||

Line 1: | Line 1: | ||

− | |||

− | |||

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. | ||

Line 10: | Line 8: | ||

* [[Haskell Quiz/Happy Numbers/Solution Dolio|Dan Doel]] | * [[Haskell Quiz/Happy Numbers/Solution Dolio|Dan Doel]] | ||

+ | |||

+ | [[Category:Haskell Quiz|Happy Numbers]] |

## 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.