hi
can any one help with Mersenne Prime numbers calculator.
A prime number is defined as being a Mersenne Prime if it is of the form 2^n – 1,
where n is any integer greater than 1
display all the Mersenne primes from 2 through 1,000,000. Your results should be as presented below, under testing.
2 3
3 7
5 31
7 127
13 8191
17 131071
19 524287
please provide me with some examples