Statement
Fermat's little theorem
For any prime number
and we have
Proof
Note if
Consider the set
Therefore by multiplying the entries in
Theory
This is generalised by Euler’s theorem (modular arithmetic).
Fermat's little theorem
For any prime number
and we have
Note if
Consider the set
Therefore by multiplying the entries in
This is generalised by Euler’s theorem (modular arithmetic).