Mersenne prime (or Marsenne prime)

A Mersenne prime is a prime number that is one less than a power of two. That is, it is a prime number of the form 2^n-1 for some integer n. The first few Mersenne primes are 3, 7, 31, 127 (corresponding to n = 2, 3, 5, 7). There are only a finite number … Read more