Message Boards Message Boards


Lucas lehmer test

Posted 9 years ago
2 Replies
1 Total Likes

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 9 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