Calculate the first n perfect numbers Write a program that calculates the first n perfect numbers. A perfect number is one where the sum of the factors is the original number. For example, 6 is a perfect number because 1+2+3=6. No non standard libraries.The standard loopholes are forbidden.
Pyth - 27 25 bytes
Extremely super slow brute force approach.
K2W&lt;ZQ~K1IqKsf!%KTr1KK~Z1

Trial division to factor, then while loop till length of perfect numbers is enough.
Try it here online.