Find the last digit of the integer $n = 29583^{206}$

equivalence-relationsmodular arithmeticnumber theory

Find the last digit of the integer $n = 29583^{206}$

I understand a couple of methods of doing this such as the brute force of finding the pattern of the last digit but what I really need to know is has to do this using modular arithmetic for a large number. I can't really work out what the trick is to do this with such a large number.

Best Answer

Hint:

Working in modulo $10$,

$$29583 \equiv 3$$

Thus,

$$(29583)^2 \equiv 9 \equiv -1$$

Related Question