|
-
November 4th, 2007, 02:57 AM
#1
Mersenne Prime
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 2n – 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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|