petit théorème de Fermat

Théorème :
Si p est un nombre premier, alors pour tout entier a on a :
ap ≡ a (p)
ap-1 ≡ 1 (p)
( voir congruence )

Démonstration du théorème :