1983 AHSME Problems/Problem 14
First, we notice that
is congruent to
(mod 10),
is
(mod 10),
is
(mod 10),
is
(mod 10),
is
(mod 10), and so on.... This turns out to be a cycle repeating every 4 powers.
Then, we have
is congruent to
(mod 10).
The number
has a similar cycle, going:
. Following that, we have
is congruent to
(mod 10).
is congruent to
(mod 10) =
.
is congruent to
(mod 10).