Proving the Primality of (2^n)+1: A Number Theory Question

In summary, the problem is that if n is an odd prime number, then 2^n+1 is not prime. However, if k is an odd integer such that n=2^k, then 2^n+1 is prime.
  • #1
miren324
14
0
I need help. I'm trying to prove that if (2^n)+1 is prime, then there exists an integer k>=0 such that n=2^k.

If n is odd, then (2^n)+1=(2^(2k+1))-(-1)^(2k+1)=(2+1)(stuff...)=(3)(stuff) so it's not prime, a contradiction. So I've knocked out half of the possible n's.

What I'm struggling with is where to go from here. Usually these problems go down the road of proving it doesn't work for all integers EXCEPT the ones I want it to work for. The problem is, I don't know how to divide even integers into two groups: those of the form 2^k and those not of the form 2^k. I don't know what integers such as 6, 10, 12, 14, 18, 20, 22, 24, 26, 28, 30, 34, 36, ... have in common so that I can use some trickery to show that, if n is one of those, 2^n+1 is no longer prime. My first thought was non-perfect powers, but 36=6^2 which cannot be put in the form 2^k.

Any help would be greatly appreciated here. If I've started wrong, as in there's another way to go about this proof that I'm missing, then let me know please.

Thanks.
 
Physics news on Phys.org
  • #2
There is a beautiful proof to the problem. I just aint able to write it down over here, but go through the book, 'Elementary Number theory' by David M Burton. Its given over there!
 
  • #3
miren324 said:
I need help. I'm trying to prove that if (2^n)+1 is prime, then there exists an integer k>=0 such that n=2^k.

I think I can extend your start into an iterative proof.

(first step is just tidying up the first case you proved)

If k is odd then [itex]x^k + 1[/itex] has a zero at [itex]x=-1[/itex] and hence, by the factor theorem, a factor of [itex](x+1)[/itex].

By the above if [itex]k_0[/itex] is odd then [itex]2^{k_0} + 1[/itex] has a factor of three (2+1). So if [itex]2^{k_0} + 1[/itex] is prime then either [itex]k_0=1[/itex] or [itex]k_0[/itex] is even.

(now extending iteratively)

If [itex]k_0[/itex] is even then write [itex]k_0 = 2 k_1[/itex]. Then [itex]4^{k_1} + 1[/itex] is prime, but once again if [itex]k_1[/itex] is odd then by the factor theorem [itex]4^{k_1} + 1[/itex] has a factor of five (4 +1). So either [itex]k_1=1[/itex] or [itex]k_1[/itex] is even.

If [itex]k_1[/itex] is even then write [itex]k_1 = 2 k_2[/itex] (hence [tex]k_0 = 4 k_2[/itex]). Then [itex]16^{k_2} + 1 = [/itex] is prime, but once again ... etc
 
Last edited:
  • #4
@Mandeep Deka: I have that book. Do you know where in the book this problem is? I don't remember seeing it, but of course I didn't look at every problem in the whole book.
 
  • #5
Hi miren324, did you follow my (outline of a) proof?
 
  • #6
Actually right now i don't have the book, so i don't remember where it is...
But if i not wrong it must have been in the chapter related to perfect numbers.. Just check!
 

FAQ: Proving the Primality of (2^n)+1: A Number Theory Question

What is number theory?

Number theory is a branch of mathematics that deals with the properties and relationships of integers, or whole numbers.

What is the importance of number theory?

Number theory has many practical applications, such as in cryptography, coding theory, and computer science. It also helps us understand the fundamental principles of mathematics and can lead to new discoveries and advancements in other fields.

What are some famous problems in number theory?

Some famous problems in number theory include the Goldbach conjecture, the Riemann hypothesis, and Fermat's Last Theorem. These problems have captivated mathematicians for centuries and have yet to be fully solved.

How do mathematicians approach number theory problems?

Mathematicians use a combination of analytical techniques, mathematical proofs, and creative problem solving to approach number theory problems. They also build on previous research and collaborate with others in the field to make progress.

Is number theory only about whole numbers?

No, number theory can also involve fractions, decimals, and other types of numbers. However, it primarily focuses on integers because they have unique properties and relationships that make them interesting to study.

Back
Top