#80
Perfect Numbers
 

Difficulty:Medium
Topics:


A number is "perfect" if the sum of its divisors equal the number itself. 6 is a perfect number because 1+2+3=6. Write a function which returns true for perfect numbers and false otherwise.
test not run
(= (__ 6) true)
test not run
(= (__ 7) false)
test not run
(= (__ 496) true)
test not run
(= (__ 500) false)
test not run
(= (__ 8128) true)


Code which fills in the blank: