Personal tools

Haskell Quiz/Happy Numbers

From HaskellWiki

< Haskell Quiz
Revision as of 10:33, 13 January 2007 by Quale (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.

1 The Problem

2 Solutions