lib/numb/abundant.rb in numb-0.21.0 vs lib/numb/abundant.rb in numb-0.63.0
- old
+ new
@@ -11,10 +11,10 @@
# 100.abundant? #=> true
# 345.abundant? #=> false
#
def abundant?
return false unless self > 0
- sum_of_divisors > (2 * self)
+ σ > (2 * self)
end
alias :excessive? :abundant?
end