Lucas-Lehmer test: Difference between revisions
Content added Content deleted
Langurmonkey (talk | contribs) |
Langurmonkey (talk | contribs) |
||
Line 2,281: | Line 2,281: | ||
=={{header|langur}}== |
=={{header|langur}}== |
||
{{trans|D}} |
{{trans|D}} |
||
It is theoretically possible to test to the 47th Mersenne prime, as stated in the task description, but it could take a while. As for the limit, it would be very high. |
|||
<syntaxhighlight lang="langur">val .isPrime = f .i == 2 or |
<syntaxhighlight lang="langur">val .isPrime = f .i == 2 or |