Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Why is the last digit of n^5 equal to the last digit of n? [video].
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.
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.