A perfect number is defined to be one which is equal to the sum of its aliquot parts. The four perfect numbers 6, 28, 496 and 8128 seem to have been known from ancient times and there is no record of these discoveries:
The first recorded mathematical result concerning perfect numbers which is known occurs in Euclid’s Elements written around 300BC. He gave a condition on perfect numbers based on what later became known as Mersenne prime numbers.
One test iteration will find the perfect numbers below 500.For the perfect test program there are the following sources: