Long primes: Difference between revisions
→alternative version
Line 2,582:
</pre>
===alternative version===
is the length of the period of the decimal expansion of 1/p
<lang prolog>isPrime(A):-
A1 is ceil(sqrt(A)),
|
Line 2,582:
</pre>
===alternative version===
is the length of the period of the decimal expansion of 1/p
<lang prolog>isPrime(A):-
A1 is ceil(sqrt(A)),
|
edits