I started with $n = 2k$ , $2^{2k} - 1 = (2^k - 1)(2^k + 1)$, where i go from there...
Asked
Active
Viewed 69 times
2 Answers
3
Welcome to MSE!
Hint:
If $n = kl$ shows $n$ is composite, then we can write
$$ 2^n - 1 = 2^{kl} - 1 = (2^k)^l - 1^l $$
But do you know of a way to factor $a^l - b^l$?
I hope this helps ^_^

Brian M. Scott
- 616,228

HallaSurvivor
- 38,115
- 4
- 46
- 87
1
$ n $ not prime $ \implies $
$$\exists p,q>1 \;\;:\;\; n=pq\implies$$
$$2^n-1=(2^p)^q-1$$ $$=(2^p-1)(1+2^p+2^{2p}+...+2^{(q-1)p})$$
is not prime.

hamam_Abdallah
- 62,951