Mersenne number is prime implies number is prime

From Number
Revision as of 18:58, 2 January 2012 by Vipul (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Statement

Suppose n is a positive integer such that the Mersenne number

Mn=2n1

is a prime number. Then n itself is a prime number.

Related facts

Proof

We prove the statement in its contrapositive form: if n is not prime, then Mn is not prime. The case n=1 is immediate, so we consider the case n>1, whereby it must be composite.

Given: n=ab where a,b are (possibly equal, possibly distinct) positive integers greater than 1.

To prove: Mn=2n1 is composite.

Proof: Write n=ab. We have a polynomial factorization:

xn1=xab1=(xa)b1=(xa1)(xa(b1)+xa(b2)++1)

Plug in x=2 and get:

2n1=(2a1)(2a(b1)+xa(b2)++1)

Since a,b are both greater than 1, 2a1 and the other factor are both greater than 1, so 2n1 is composite.