Solution for Perfect Numbers

It's all in the title :)