フェルマーの小定理
The special case where is prime is known as Fermat's little theorem.