Personal tools

Haskell Quiz/Weird Numbers

From HaskellWiki

< Haskell Quiz(Difference between revisions)
Jump to: navigation, search
(+cat)
(fix cat sort)
Line 10: Line 10:
 
* [[Haskell Quiz/Weird Numbers/Solution Dolio|Dan Doel]]
 
* [[Haskell Quiz/Weird Numbers/Solution Dolio|Dan Doel]]
   
[[Category:Haskell Quiz]]
+
[[Category:Haskell Quiz|Weird Numbers]]

Revision as of 10:37, 13 January 2007

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