Statement
Lemma
A number
has a Fermat witness if and only if is not prime.
Proof
If
If
Suppose
Though by the existence modular multiplicative inverse lemma we know no such inverse exists for
Lemma
A number
has a Fermat witness if and only if is not prime.
If
If
Suppose
Though by the existence modular multiplicative inverse lemma we know no such inverse exists for