| − | It is relatively straightforward to show that any number P of the form P = 2<sup>n-1</sup> (2<sup>n</sup>-1) | + | It is relatively straightforward to show that any number P of the form P = 2<sup>n-1</sup> (2<sup>n</sup>-1), for which (2<sup>n</sup>-1) is prime, is a perfect number <ref> Proposition IX.36 of Euclid's Elements </ref>. Such numbers are called [[Mersenne]] primes, after Marin Mersenne (1588-1648). |
| − | for which (2<sup>n</sup>-1) is prime, is a perfect number.
| + | The first 12 Mersenne primes are: n = 2, 3, 5, 7, 13, 17, 19, 31, 61, 89, 107 and 127; each one of these will generate a perfect number when used in the formula above. |