// COMPLETE THREAD

Prime number tests

1 expanded post ยท every known parent and child

NODE d04e0d7ePrime number tests
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.
;-)