Metamath Proof Explorer


Theorem fpprnn

Description: A Fermat pseudoprime to the base N is a positive integer. (Contributed by AV, 30-May-2023)

Ref Expression
Assertion fpprnn XFPPrNX

Proof

Step Hyp Ref Expression
1 fpprbasnn XFPPrNN
2 fpprel NXFPPrNX4XNX1modX=1
3 eluz4nn X4X
4 3 3ad2ant1 X4XNX1modX=1X
5 2 4 syl6bi NXFPPrNX
6 1 5 mpcom XFPPrNX