How are Mersenne primes related to perfect numbers?

If a Mersenne number turns out to be a prime number, then it is called a Mersenne prime.

You have computed the first 5 Mersenne primes: 3, 7, 31, 127, 8191. Each of these numbers in turn gives a perfect number when multiplied by its previous power of 2.

Just to summarize what we have done so far, let's examine Table 2 again. This time, we will express the numbers in powers of two, and delete those rows that do not carry perfect numbers.

Exercise 4

(a) Complete the following table, expressing the first five Mersenne primes and perfect numbers in powers of two.


Table 4:  The first five Mersenne primes and the corresponding perfect numbers.

(b) Two perfect numbers were discovered in 1588, both by Cataldi. These two perfect numbers can be obtained from the Mersenne primes M17 = 217 - 1 and M19 = 219 - 1. Can you compute these two perfect numbers with the help of your calculator? 

(c) Do you think M21 is a Mersenne prime?

By now, you should have realized why numbers of the form 2n - 1 have so much appeal. Whenever a prime number of this form is found, a perfect number is immediately obtained, as was proven by Euclid.

The ancient Greeks knew the first four perfect numbers. (Why couldn't they continue to compute more and more perfect numbers?) It was many centuries later that the 5th perfect number was found. It was recorded in a manuscript by an anonymous writer in 1456. The two perfect numbers which you worked out from M17 and M19 in the previous exercise are the 6th and the 7th perfect numbers discovered.

Mersenne

So the search for perfect numbers became the search for more Mersenne primes, i.e. prime numbers of the form 2n - 1. But this turned out to be a very challenging task, since, as a number gets bigger it becomes extremely tedious to test for its primacy, without the use of computing devices, like the electronic calculators we have today.

Father Marin Mersenne (1588-1648), a French monk after whom Mersenne numbers are named, claimed that the numbers 2n - 1 were prime for

n = 2, 3, 5, 7, 13, 17, 19, 31, 67, 127 and 257

and were composite for all other positive integers n < 257. As you will see later, his claim was not entirely correct. Neither he nor his contemporaries were able to prove his claim.
 
 

How to find Mersenne primes?

Study carefully the list of Mersenne primes which have been established so far:

Do the values of n in these numbers provide any clue to the pattern of occurrence of Mersenne primes?

The list of integers which produce Mersenne primes are all prime numbers themselves. Naturally, we would immediately want to ascertain whether a number of the form 2n - 1 could be prime, if n is not prime. We will investigate this in the following exercise. 

Exercise 5

(a) How many Mersenne primes were known during Mersenne's time?

(b) Without using calculator, show that M14 = 214 - 1 can be factorized. Do the same for M26 = 226 - 1.
[Hint: Express M14 as a difference of two squares.]

(c) Prove that, if n is an even number greater than 2, then 2n - 1 is composite.

*(d) Without using calculator, show that M15 = 215 - 1 can be factorized. Do the same for M21 = 221 - 1.

*(e) Prove that, if n is composite, then 2n - 1 is composite.

From the previous exercise, we learned that the only values of n which will produce Mersenne primes are the prime numbers themselves. So, to find Mersenne primes, we can totally disregard values of n which are not prime.

While it is necessary for n to be prime to ensure that 2n - 1 is prime, not every prime number value of n will produce a Mersenne prime. For example, the number M11 is noticeably missing from the list:

In fact, in one of the earlier exercises we found M11 = 211 - 1 = 2047 = 23 x 89.

So, the Mersenne primes seem to pick only on the prime numbers, and do so selectively. It decided to skip the next two, M23 and M29, before picking on M31. As was mentioned previously, though Mersenne suggested 231 - 1 was prime, he was not able to prove it.

Euler

The world waited another hundred years before the great Swiss mathematician, Leonard Euler (1707-1783), who, by the use of clever reasoning and trial division, showed that 231 - 1 = 2147483647 is prime. Consequently, the discovery of the 8th perfect number, was attributed to Euler.

In 1811 Peter Barlow, commented on the perfect number 230(231 - 1) that it "is the greatest that will be discovered, for as they are merely curious, without being useful, it is not likely that any person will attempt to find one beyond it." Obviously, no one in the late 1800's had any idea of the power of modern computers. What might we know about the machines of 50 years from now? 

Exercise 6

(a) M23 = 223 - 1 is not a prime. Verify this with the help of your calculator.

(b) M29 = 229 - 1 is also not a prime. It can be quite hard to verify this, even with the use of a calculator. But you may give it a try.

(c) Test your eyesight using "The Perfect Eye Chart".


 
 

How were the larger perfect numbers found?

Most of the larger perfect numbers discovered after Euler were found in the computer age, with the help of electronic computing devices. By 1985, a total of 31 perfect numbers were known. By the fall of 2008, the 45th and 46th perfect number were discovered. You may even participate in finding the next perfect number by joining the GIMPS (Great Internet Mersenne Prime Search).


 
 

Are there any odd perfect numbers?

All the known perfect numbers are in the form 2n-1(2n - 1), firmly established since Euclid's time. It was Euler who showed that there are no other even perfect numbers, except in the form of Euclid's formula.

Are there any odd perfect numbers? Nobody has found any, and nobody has been able to prove that there is none. All we know about the odd ones is that they must have at least 300 decimal digits and many factors. There probably aren't any!