Question Number 14109 by FilupS last updated on 28/May/17
$$\left({a}^{{p}} −{a}\right)\:\mathrm{mod}\:{p}\:=\:\mathrm{0} \\ $$$$\mathrm{when}\:\mathrm{is}\:\mathrm{this}\:\mathrm{true}? \\ $$$${a},{p}\in\mathbb{Z} \\ $$
Commented by ajfour last updated on 28/May/17
$${a}={p}\:\:\:\:\:{or}\:{just} \\ $$$${a}=\mathrm{1}. \\ $$
Commented by nume1114 last updated on 28/May/17
$${or}\:{p}\:{is}\:{prime}. \\ $$$$\left({fermat}'{s}\:{little}\:{theorem}\right) \\ $$
Commented by RasheedSindhi last updated on 28/May/17
$$\mathrm{If}\:\mathrm{p}\:\mathrm{is}\:\mathrm{prime}\:\mathrm{and}\:\left(\mathrm{a},\mathrm{p}\right)=\mathrm{1}. \\ $$