2

Exactly what the name entails. The function $2^n-1$ I see largely tends to generate primes when $n$ is prime. However, a week ago I heard that this was horribly false. Please show me a disproof.

Zev Chonoles
  • 129,973
AAron
  • 413
  • 1
    Often when you want to prove something like this isn't true, you just search for examples. – Cameron Williams Jul 05 '15 at 05:16
  • you only need one case to disprove something, like a truth table in this case going to infinity. – miniparser Jul 05 '15 at 05:38
  • Even though experimental evidence strongly suggests that for most primes, $2^p-1$ is not prime, it has not been shown that there are infinitely many primes $p$ such that $2^p-1$ is not prime. – André Nicolas Jul 05 '15 at 05:45

1 Answers1

7

$$\Large 2^{11}-1=23\cdot 89$$ Take a look at the Wikipedia page on Mersenne primes. There are (currently) only $48$ known prime numbers $p$ such that $2^p-1$ is prime, after people have used computers to check millions.

Zev Chonoles
  • 129,973