News for hackers. Stuff that matters.
Re:Why is the last digit of n^5 equal to the last digit of n... by jwilk on Saturday November 04, 2017 @06:31AM (#15624458)
Alternative proof:

From Fermat's little theorem: n^5 ≡ n (mod 5).

Therefore (n^5 - n) is divisibe by 5.

(n^5 - n) is always even, so it's also divisble by 10.

There are no comments on this comment yet.