0

Prove that if $a^n-1$ is prime, then $a=2$ and $n$ is prime.

I just started a semester with Number Theory, and I don't know how I am expected to be dealing with such questions. I am really frustrated. I would really appreciate your help.

Meitar
  • 2,911

1 Answers1

8

Hint:$a^n-1= (a-1)(a^{n-1}+\cdots+a+1)$.