First time here? Check out the FAQ!
answered 2024-02-09 03:54:27 +0100
Use .is_pseudoprime() instead of .is_prime(). It can be much faster for large numbers, and there are no known cases of an error (when a composite number called "prime").
.is_pseudoprime()
.is_prime()