RosettaCodeData/Task/Perfect-numbers/Axiom/perfect-numbers-1.axiom

2 lines
58 B
Plaintext

perfect?(n:Integer):Boolean == reduce(+,divisors n) = 2*n