Some time ago, my mother showed me a new mathematics textbook, a book on elementary number theory; and its not so elementary. Something that caught my attention was the Perfect Number. A perfect number is a number who is equal to the sum of its divisors. Like 6, because 6 = 1 + 2 + 3. I took an interest in this because only the first four perfect numbers have been uncovered, 6, 28, 496, and 8128. I wrote a simple C++ app (I know my logic is not optimal, but hey this was for fun). My code is attached, if you are brave enough to uncover the 5th perfect number!
