Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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").