Library Web

What is a primality test?

A primality test is an algorithm used to determine whether a given input number is prime. Unlike integer factorization, these tests generally do not reveal prime factors, but instead state whether the number is prime or composite. While some tests provide absolute mathematical proof, others are probabilistic and rely on statistical methods.

What we know

Where to go next

Sources