22. A Mersenne prime is a prime number that is equal to , where n is an...

Question:

22. A Mersenne prime is a prime number that is equal to , where n is an integer.

For example, 31 is a Mersenne prime since . Write a computer program that finds all the Mersenne primes between 1 and 10,000. Do not use MATLAB’s built-in function isprime.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: