- #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.
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.