Fermat quotient
In number theory, the Fermat quotient of an integer a with respect to an odd prime p is defined as q p ( a ) = a p − 1 − 1 p , {\displaystyle q_{p}(a)={\frac {a^{p-1}-1}{p}},} or δ p ( a ) = a − a p p {\displaystyle \delta _{p}(a)={\frac {a-a^{p}}{p}}} . This article is about the former; for the latter see p-derivation.