Fermat's little theorem says that for a prime number and any integer ,If , cancellation gives the equivalent statement .
Wilson's theorem states that an integer is a prime number if and only ifIn particular this holds for every prime, including .
Apply Fermat's little theorem and Wilson's theorem in the ring of integers modulo n with modulus . They giveA vanishing modular congruence modulo is precisely divisibility by , so both divisibilities hold, without requiring .
Articles by others on the same topic
There are currently no matching articles.