Prime number tests

nobody at shell.portal.com nobody at shell.portal.com
Tue Apr 12 18:36:09 PDT 1994


Well, there is one prime number test which NEVER fails, and that is that
(n-1)!+1 mod n is zero for all primes, and non-zero for all non-primes.
;-)






More information about the cypherpunks-legacy mailing list