Message Boards Message Boards

2 Replies
1 Total Likes
View groups...
Share this post:

Lucas lehmer test

Posted 10 years ago

Hello. how can I use the lucas Lehmer test to see if a Mersenne number is prime? there is an algorithm ready so having only enter the number to be verified?

POSTED BY: peppo peppino
2 Replies
Posted 10 years ago

certainly is a big help!

if I post a Mersenne number in PrimeQ (or ProvablePrimeQ) Mathematica uses the test lucas Lehmer to give me the result?is that so?

That would be great.

POSTED BY: Peppo Peppino

I'm not sure if this helps directly, but the Lucas-Lehmer test is used in the Mathematica function PrimeQ.

POSTED BY: Daniel Lichtblau
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract