Haskell Quiz/Weird Numbers

From HaskellWiki
Revision as of 10:37, 13 January 2007 by Quale (talk | contribs) (fix cat sort)

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.

The problem

Solutions