Personal tools

Haskell Quiz/Weird Numbers

From HaskellWiki

< Haskell Quiz(Difference between revisions)
Jump to: navigation, search
(3 intermediate revisions by 2 users not shown)

Latest revision as of 23:54, 10 August 2008

RubyQuiz #57: A weird number is defined as a number, n, such that the sum of all its divisors (excluding n itself) is greater than n, but no subset of its divisors sums up to exactly n.

[edit] 1 The problem

[edit] 2 Solutions