Personal tools

Haskell Quiz/Weird Numbers

From HaskellWiki

< Haskell Quiz
Revision as of 22:25, 26 October 2006 by M4dc4p (Talk | contribs)

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

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.

1 The problem

2 Solutions