Prove that ## n ## must be a power of ## 2 ##

  • Thread starter Thread starter Math100
  • Start date Start date
  • Tags Tags
    Power
Click For Summary
SUMMARY

The discussion centers on the proof that if \(2^n + 1\) is prime, then \(n\) must be a power of 2. The proof employs a contradiction approach, assuming \(n\) is not a power of 2 and demonstrating that this leads to \(2^n + 1\) not being prime. Key elements include the use of odd prime factors and the divisibility condition \( (2^k + 1) \mid (2^n + 1) \). The conversation also touches on related concepts such as Fermat numbers and Mersenne primes, highlighting their significance in number theory.

PREREQUISITES
  • Understanding of prime numbers and their properties
  • Familiarity with mathematical proof techniques, particularly proof by contradiction
  • Knowledge of divisibility rules in number theory
  • Basic concepts of Fermat numbers and Mersenne primes
NEXT STEPS
  • Study the properties of Fermat numbers and their significance in number theory
  • Explore Mersenne primes and their relationship to prime number distribution
  • Learn about proof techniques in number theory, focusing on proof by contradiction
  • Investigate the open problems related to the infinitude of Mersenne primes
USEFUL FOR

Mathematicians, number theorists, and students interested in advanced topics in number theory, particularly those focused on prime numbers and their properties.

Math100
Messages
817
Reaction score
230
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 ##.
 
Physics news on Phys.org
Math100 said:
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 ##.
Looks good.

I wouldn't say "this means" if you say something that is simply always true. It doesn't come from another truth that "this means" suggests. And you should write ##p## instead of ##s.## Without any reason. It is just so that ##p,q,r## are primes and ##s,t,u,v## ordinary integers - mostly.

From ##(2^{k}+1)\mid (2^{n}+1) ## and ##2^{n}+1## prime, we can conclude that either ##k=n## which contradicts ##s>2## or ##k=0## which also contradicts ##s>2.##

Can you tell where the proof would go wrong if ##s=2^r## were a power of ##2?##
 
  • Like
Likes   Reactions: Math100
fresh_42 said:
Looks good.

I wouldn't say "this means" if you say something that is simply always true. It doesn't come from another truth that "this means" suggests. And you should write ##p## instead of ##s.## Without any reason. It is just so that ##p,q,r## are primes and ##s,t,u,v## ordinary integers - mostly.

From ##(2^{k}+1)\mid (2^{n}+1) ## and ##2^{n}+1## prime, we can conclude that either ##k=n## which contradicts ##s>2## or ##k=0## which also contradicts ##s>2.##

Can you tell where the proof would go wrong if ##s=2^r## were a power of ##2?##
That ## s=2^r ## would go wrong in the proof, because then ## s ## wouldn't be an odd prime factor.
 
Math100 said:
That ## s=2^r ## would go wrong in the proof, because then ## s ## wouldn't be an odd prime factor.
So? Why can't I get the same contradiction if ##s=2^r?##
 
fresh_42 said:
So? Why can't I get the same contradiction if ##s=2^r?##
Is it because ## (2^{k}+1)\mid (2^{k\cdot q}-1) ##?
 
Also, if ## s=2^{r} ##, then we have ## n=k\cdot 2^{r} ## where ## k\geq 1 ##. This implies ## n=1\cdot 2^{r} ##.
 
Or ## n=2^{r} ##, which fails the intention of using proof by contradiction.
 
Math100 said:
Is it because ## (2^{k}+1)\mid (2^{k\cdot q}-1) ##?
Yes. It is well hidden here. We don't know anything about ##2^{n}-1.## We only have that ##2^n+1## is prime.
Math100 said:
Or ## n=2^{r} ##, which fails the intention of using proof by contradiction.
The intention is irrelevant here. We know that ##2^{(2^2)}+1=2^4+1=17## is prime. This means such prime numbers exist. They are called Fermat numbers, and in case they are prime Fermat primes:
https://en.wikipedia.org/wiki/Fermat_number
 
  • Love
Likes   Reactions: Math100
I've never heard of Fermat numbers before.
 
  • #10
Math100 said:
I've never heard of Fermat numbers before.
The Mersenne primes are far more interesting:
https://en.wikipedia.org/wiki/Mersenne_prime

... except you want to construct with compass and straight edge alone regular inscribed polygons in a circle. Fermat numbers allow such polygons. (Gauß constructed a 17-gon with compass and ruler.)
 
  • Informative
Likes   Reactions: Math100
  • #11
fresh_42 said:
The Mersenne primes are far more interesting:
https://en.wikipedia.org/wiki/Mersenne_prime

... except you want to construct with compass and straight edge alone regular inscribed polygons in a circle. Fermat numbers allow such polygons. (Gauß constructed a 17-gon with compass and ruler.)
Are Mersenne primes infinite?
 
  • #12
Math100 said:
Are Mersenne primes infinite?
Are there infinitely many Mersenne primes? Based on plausible heuristics, one assumes that there are about ##c\cdot \ln(x)## many Mersenne prime numbers ##M_{p}## with ##p<x## (for a positive constant ##
c##). If this were the case, then there would indeed be infinitely many Mersenne primes.

We do not know for sure.

We do not even know whether there are infinitely many Mersenne numbers, that are not prime.

Both answers are probably a 'yes'. But they are open problems.
 
  • Informative
Likes   Reactions: Math100
  • #13
fresh_42 said:
Are there infinitely many Mersenne primes? Based on plausible heuristics, one assumes that there are about ##c\cdot \ln(x)## many Mersenne prime numbers ##M_{p}## with ##p<x## (for a positive constant ##
c##). If this were the case, then there would indeed be infinitely many Mersenne primes.

We do not know for sure.

We do not even know whether there are infinitely many Mersenne numbers, that are not prime.

Both answers are probably a 'yes'. But they are open problems.
Will you be successfully solve those open problems?
 
  • #14
Math100 said:
Will you be successfully solve those open problems?
Probably not. I am no number theorist (and too old). If one of our generations (= today) can solve it, then it would be Terence Tao. It is the kind of problem that he likes.
 
  • Haha
Likes   Reactions: Math100
  • #15
fresh_42 said:
Probably not. I am no number theorist (and too old). If one of our generations (= today) can solve it, then it would be Terence Tao. It is the kind of problem that he likes.
I thought he's interested in combinatorics. I didn't know that he likes this kind of problem.
 

Similar threads

Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
9
Views
2K
  • · Replies 10 ·
Replies
10
Views
1K
Replies
8
Views
4K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
Replies
2
Views
3K
Replies
14
Views
2K