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.
Asked
Active
Viewed 87 times
1 Answers
-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
-
1Please strive not to post more (dupe) answers to dupes of FAQs, cf. recent site policy announcement here. – Bill Dubuque May 03 '23 at 20:58
$\times$
for $\times$. – Shaun May 03 '23 at 20:19