The Mersenne primes are of the form 2^p-1, where p is prime. See http://www.mersenne.org/prime.htm and http://www.utm.edu/research/primes/mersenne/.