Haskell Quiz/Weird Numbers

From HaskellWiki
< Haskell Quiz
Revision as of 01:51, 27 October 2006 by Dolio (talk | contribs) (new solution)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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