What is the largest prime less than 2^31?

13.7k Views Asked by At

I'm sorry for this kind of specific question, I'd love if you could link to resources (prime lists, etc) that can answer similar questions more generically.

2

There are 2 best solutions below

1
On BEST ANSWER

http://www.prime-numbers.org/prime-number-2147480000-2147485000.htm tells you that it's 2147483647 (about 2/3rds of the way down, third column). This website seems like a good resource if you're looking for lots of primes.

5
On

It is $2^{31}-1$. You might want to check Mersenne prime for similar details.

http://en.wikipedia.org/wiki/Mersenne_prime