prime numbers

oreese@cfl.rr.com oreese at cfl.rr.com
Sun May 14 05:21:17 CEST 2006


I think a number is prime when M=2
for N = 3 to 11 step 2
M = (2^N) mod N
if M = 2 then print N
next 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gmplib.org/list-archives/gmp-discuss/attachments/20060514/2d0c602d/attachment.html


More information about the gmp-discuss mailing list