Foundational proof for Mersenne primes

208 Views Asked by At

I know how to prove that, if $2^n-1$ is prime and $n>1$, then $n$ is prime.

But how do we prove that, if $a^n-1$ is prime and $n>1$, then $a$ must equal 2?

1

There are 1 best solutions below

2
On BEST ANSWER

If we say $P(a)=a^n-1$ we have that $P(1)=0$ and by Polynomial remainder theorem we get that $$a-1\mid a^n-1$$