I understand the format of a proof of compositeness of an integer produced by PrimeQCertificate
: it's well-documented that PrimeQCertificate[a]
outputs one of:
- a triple
{a, n-1, n}
such that $a^{n-1} \not \equiv 1 \pmod{n}$ (that is, Fermat's test proves compositeness), or - a triple
{a, 2, n}
such that $a^2 \equiv 1 \pmod n$ and $a \not \equiv \pm 1 \pmod{n}$ (which is a test derived from considering a difference of two squares).
For primality rather than compositeness, the documentation says it "uses the Pratt certificate and the Atkin-Morain certificate for primality."
What do these look like?