First time here? Check out the FAQ!
answered 1 year ago
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()