Mersenne Prime
A Mersenne prime is a prime number that can be written in the form . For example is a Mersenne prime that can be written as . The first few Mersenne primes are . There are 50 known Mersenne primes as of June 2018, though we hope that it will change in the future. An interesting thing about Mersenne primes is that they are the easiest natural numbers to prove to be primes, so they make up the largest category on the list of known prime numbers.
The search and curiosity for Mersenne primes came from the study of perfect numbers. A perfect number is a number that can be written as the sum of its positive proper divisors. For example, is a perfect number as it can be written as , and in fact it is the smallest perfect number. The next perfect number is .
It can be shown that if a positive integer can be written in the form , such that is a prime number, then must be an even perfect number. We have seen that if is a prime number, then it is a Mersenne prime, which creates a one-to-one correspondence between Mersenne primes and even perfect numbers. That is, every Mersenne prime corresponds to exactly one even perfect number! (So far no odd perfect number has been found.)
Prove that if is prime, then must also be prime.
Let and be positive integers greater than one such that . Then using the factorization identity,
So if is composite and WLOG , then we have the term to be composite because it is divisible by the term.
The proof tells us that if is prime, then is also prime. But it doesn't guarantee that if is prime, then is prime, as we have not considered the second term in the above equation. A typical example of this is even though it is a prime number, isn't a prime number.
Read the following statements carefully:
. For all prime numbers , is a prime number.
. If is a composite number, then it is impossible for to be a prime number.
. Statement number isn't true.
Which of these statements is/are correct?
Lucas–Lehmer Primality Test
Lucas–Lehmer primality test is a primality test (an algorithm for determining whether an input number is prime) for Mersenne primes. It's currently known to be the most efficient test for Mersenne primes.
First we start with .
Then and
If you want to test if is prime, you have to check if is true.
Prove that is not prime.
We could just find if there are other factors in that number, or we can use the Lucas–Lehmer primality test.
For this, and So,
Since and is false. Therefore, is not prime.
The Largest Known Prime Number
There are known Mersenne primes, with the largest known prime being
which is over 24 million digits long!
This enormous number was discovered by Patrick Laroche in 2018, as part of the GIMPS (Great Internet Mersenne Prime Search). It is a collaborative effort to find new primes by pooling computing power online. It has 24,862,048 digits in total.
A new Mersenne prime has been discovered, and it breaks the record for the largest known prime number. The number is
What is the last digit of this number?
Exercises for the Reader
Knowing that is prime, is it true that is prime?