Fermat primality test
ID: fermat-primality-test
The Fermat test looks for a coprime base with . Such a witness proves compositeness by the Fermat little theorem, but Carmichael numbers pass for every coprime base.
New to topics? Read the docs here!