PDA

View Full Version : 2^n-1


Char. Limit
Nov18-09, 09:51 AM
First, remember that the OP is new to pure number theory.

We all know that not every number that follows the formula 2n-1 is prime. My question is, without using trial and error, how would you prove or disprove this statement?

"All numbers that obey the formula 2n-1, when n is a real integer number greater than 1, are prime."

Borek
Nov18-09, 09:56 AM
Find counterexample.

Dodo
Nov18-09, 10:25 AM
Another possibility is noting that, for an even n = 2h, we have that 2^n-1 = (2^h+1)(2^h-1), which makes the original number composite for h > 1.

VeeEight
Nov18-09, 12:51 PM
You may also wish to check out Mersenne Primes (http://en.wikipedia.org/wiki/Mersenne_prime#Theorems_about_Mersenne_numbers)

Mensanator
Nov18-09, 06:12 PM
For every even n, 2^n-1 is divisible by 3.

robert Ihnot
Nov23-09, 06:39 PM
It doesn't have to be even. If ab is composite, then \frac{2^{ab}-1}{2^a-1}=1+2^a+2^{2a} +++2^{ab-a}