What is a Perfect number?


Perfect Numbers:

By definition, a perfect number is a number that equals the sum of its factors. (excluding the number itself).

Example :

  • 6 is perfect because the factors of 6 are 1, 2 and 3 and $1 + 2 + 3 = 6$. 
  • 28 is the next perfect number because its factors are $1 + 2 + 4 + 7 + 14$, whose sum is 28.
  • 23 is NOT a perfect number because 1 is the only factor(excluding 23 itself).

Tutorialspoint
Tutorialspoint

Simply Easy Learning

Updated on: 10-Oct-2022

220 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements