1

Find the ones digit of

$$1^1+2^2+3^3+\cdots+117^{117}$$


My work:

The problem is equivalent as finding $1^1+2^2+3^3+\cdots+117^{117}$ modulo 10.

I tried Euler's theorem, finding $$a^4\equiv 1 \text{ (mod 10)}$$

However, the problem is that it only works for $a$ that is coprime with $10$. So we can't find a pattern easily this way.

Please help!

Cyh1368
  • 839

0 Answers0