News for hackers. Stuff that matters.
Re:Why is the last digit of n^5 equal to the last digit of n... by eeereerews on Friday November 03, 2017 @08:56PM (#15623249)
You can do it without a table by factoring

x (x^2-1) (x^2+1) =

x (x-1) (x+1) (x^2 - 4 + 5) =

x (x-1) (x+1) ((x-2)(x+2) + 5)

Now one of the five consecutive numbers (x-2), (x-1), x, (x+1), (x+2) must be divisible by 5, so the whole is as well.

I agree with you about induction.

There are no comments on this comment yet.