TOPICS
Search

Korselt's Criterion


Korselt's criterion states that, for an integer n>1,

 n|a^n-a for every a in Z<==>n is squarefree and p-1|n-1 for every prime p|n.

For composite n, the left-hand condition is equivalent to n being a Carmichael number, so these solutions are precisely the Carmichael numbers (Korselt 1899).

To prove sufficiency, consider each prime divisor p of n. If p|a, then p|a^n-a. Otherwise, Fermat's little theorem and p-1|n-1 give p|a^(n-1)-1, so again p|a^n-a. The squarefree condition then combines these divisibilities to give n|a^n-a.

Conversely, suppose n|a^n-a for every integer a. If p^2|n, the Chinese remainder theorem gives an a that is congruent to p modulo p^2 and to 0 modulo the largest divisor of n relatively prime to p. Then a^n-a=-p (mod p^2), contradicting n|a^n-a, so n is squarefree. For a prime divisor p of n, use the Chinese remainder theorem to choose a congruent to a primitive root modulo p and to 1 modulo n/p. The number a is relatively prime to n, and a^(n-1)=1 (mod p). Since a has multiplicative order p-1 modulo p, it follows that p-1|n-1.


See also

Carmichael Number, Lucas-Carmichael Number

Explore with Wolfram|Alpha

References

Borwein, D.; Borwein, J. M.; Borwein, P. B.; and Girgensohn, R. "Giuga's Conjecture on Primality." Amer. Math. Monthly 103, 40-50, 1996.Korselt, A. "Problème chinois." L'intermédiaire math. 6, 143-143, 1899.

Referenced on Wolfram|Alpha

Korselt's Criterion

Cite this as:

Weisstein, Eric W. "Korselt's Criterion." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/KorseltsCriterion.html

Subject classifications