Codeforces Round 1133 (Div. 1, Div. 2) is coming soon! Register here. ×

MRITuhin's blog

By MRITuhin, history, 9 years ago, In English

We know that if n is prime, then:

{a^(n-1)} mod n = 1 [Fermat primality test]

Can anyone explain its mathematical proof?

  • Vote: I like it
  • -17
  • Vote: I do not like it

| Write comment?
»
9 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by MRITuhin (previous revision, new revision, compare).