-4

How can I prove if $\frac{3^{n}-1}{2}$ is a prime number then so is n. I tried concluding that $3^{n}-1$ needs to be in the form of 2×p (p is a prime number) so $\sum_{i=0}^{n-1} 3^n$ is a prime number, but I can't think of a way to prove that either.

1 Answers1

-1

Hint: if $n = ab$ is composite, then you can write $$3^n - 1 = (3^a - 1)(3^{(b - 1)a} + 3^{(b - 2)a} + \dots + 3^a + 1).$$

Dietrich Burde
  • 130,978
CJ Dowd
  • 1,664