A few weeks ago, one of my friends asked me the following question:

**As a mathematician, what is your favorite number?**

My first response was tongue-in-cheek. I said that I would probably pick 2 or 3. After all, I rarely work with large numbers in any of my mathematics classes. Furthermore, as this blog post on Gödel’s Lost Letter shows, there’s a lot of mathematically interesting things about two and three. However, after some more talking and thinking, I remembered a story that I had heard in my number theory class about a particularly special large number,

is a special type of number called a *Mersenne* *number*,* *which are the numbers that can be expressed in the form for an integer . In particular, if a Mersenne number is prime, we say it is a *Mersenne prime*. A000668 is the OEIS entry for the sequence of Mersenne primes, and according to the Great Internet Mersenne Primes Search (GIMPS), there are currently 48 known Mersenne primes. It is conjectured that there are an infinite number of Mersenne primes.

Why are we interested in figuring out when Mersenne numbers are prime? We will soon see that it is (relatively) easy to generate a list of potential Mersenne primes. Furthermore, by the Lucas-Lehmer primality test, there is an extremely simple algorithm for determining whether or not a Mersenne number is prime. These two facts combined means that finding Mersenne primes is the quickest way to finding the largest prime numbers. Indeed, the current top ten largest known primes are all Mersenne primes.

**Theorem**. If is prime, then must be prime.

We prove the contrapositive statement: If is composite, then is composite. Assuming is composite, we can write , with . We then claim that properly divides . This is clear, since , and

Therefore, Mersenne primes must be of the form , where is prime. Since we can find primes up to 9 digits through other means without too much effort, we now have a list of potential Mersenne primes, with digits numbering in the millions.

However, notice it is not the case that if is prime, then is prime. In fact, for , we have that . So, back in the 17th century, Marin Mersenne, for whom these numbers are named after, came up with the following list of primes for which he claimed was prime:

**Claim (Mersenne).** For , and , is prime. is composite for all other .

At the time, his claim could not have been verified or proven, and it turns out that his claim was incorrect: missing from his list were and , which were shown to be prime. Furthermore, and were shown to be composite. This sets the stage for the following anecdote:

In 1903, Frank Cole was to give a talk. Without a word, he went up to the blackboard, and began to raise 2 to the 67th power, and then subtracted 1. Then, on the other side of the board, he multiplied 193,707,721 by 761,838,257,287, and got the same number. He then returned to seat with applause, not having said a single word.

And that’s the story of my favorite number. There are a bunch of other interesting large numbers in mathematics, as these posts on mathoverflow, math.stackeschange, and reddit indicate. What’s your favorite number?