- #1
Math100
- 802
- 222
- Homework Statement
- Prove that if ## 2^{n}+1 ## is prime, then ## n ## must be a power of ## 2 ##.
- Relevant Equations
- None.
Proof:
Suppose for the sake of contradiction that ## 2^{n}+1 ## is prime but ## n ## is not a power of ## 2 ##.
Then ## n=ks ## for some ## k\in\mathbb{Z} ## where ## 1\leq k<n ## and ## s ## is an odd prime factor.
This means ## (a-b)\mid (a^{q}-b^{q}) ##.
Let ## a=2^{k}, b=-1 ## and ## q=s ##.
Observe that ## (2^{k}+1)\mid (2^{ks}+1)\implies (2^{k}+1)\mid (2^{n}+1) ##.
Since ## k<n ##, it follows that ## 2^{n}+1 ## is not prime, which is a contradiction.
Therefore, if ## 2^{n}+1 ## is prime, then ## n ## must be a power of ## 2 ##.
Suppose for the sake of contradiction that ## 2^{n}+1 ## is prime but ## n ## is not a power of ## 2 ##.
Then ## n=ks ## for some ## k\in\mathbb{Z} ## where ## 1\leq k<n ## and ## s ## is an odd prime factor.
This means ## (a-b)\mid (a^{q}-b^{q}) ##.
Let ## a=2^{k}, b=-1 ## and ## q=s ##.
Observe that ## (2^{k}+1)\mid (2^{ks}+1)\implies (2^{k}+1)\mid (2^{n}+1) ##.
Since ## k<n ##, it follows that ## 2^{n}+1 ## is not prime, which is a contradiction.
Therefore, if ## 2^{n}+1 ## is prime, then ## n ## must be a power of ## 2 ##.