I'm working on a problem for school where I have to evaluate by hand $(6619255^{19} + 6619255^5) mod 10$.
I'm really lost and not really sure how to go about this. I've done the following:
$(6619255^{19}mod10 + 6619255^5mod10) mod 10$ $((6619255 mod 10)^{19} + (6619255 mod 10)^5) mod 10$
Is this right? And how do I move on from here. I'm so confused and disheartened...
Hint: $$(10a+b)^n \equiv b^n \mod{10}.$$