Euclid derived a formula for even perfect numbers. The formula in Euclid's words is the following.
If as many numbers as we please, beginning from unity, be set out continuously in double proportion until the sum of all becomes prime, and if the sum is multiplied by the last, the product will be perfect.
Even perfect numbers were completely characterized by Euler in
terms of Mersenne primes.
A number n is perfect if and only if it is of the form
where
and p are primes. If
is prime,
then it is called
a Mersenne prime. There are 35 known Mersenne primes, hence 34 even perfect
numbers. No odd perfect numbers are known and it is conjectured that none
exist.
See Student's Mersenne Prime Page and Yahoo's Mersenne Page for additional information.