perfect number
A perfect number is a number such that the sum of its
factors including 1 and excluding itself is equal to the number
Example:
Factors of 6 are 1,2,3
1+2+3 = 6
Factors of 28 are 1,2,4,7,14
1+2+4+7+14=28
Example:
Factors of 6 are 1,2,3
1+2+3 = 6
Factors of 28 are 1,2,4,7,14
1+2+4+7+14=28
Leave a Comment