What is the last digit of $38^{2011}$?

2.9k Views Asked by At

I would like to find the last digit of $38^{2011}$.

We have by Euler's therem :
$19^4\equiv 1\pmod{10}$ and $2^4\equiv 6\pmod{10}\implies 38^4\equiv 6\pmod{10}$. What can I do after this?

2

There are 2 best solutions below

3
On

No need to use big guns here ... just focus on the last digit as you keep multiplying:

8,4,2,6,8,...

OK, so it cycles with a period of 4

Since 2011 divided by 4 leaves 3, we should be looking at the third entry of this cycle, i.e. it's a 2

0
On

$19^4\equiv 1\pmod{10}$ & $2^4\equiv 6\pmod{10}\implies 38^4\equiv 6(\mod{10})$. Notice that $6^n\equiv 6\pmod{10}\ \forall n\in \mathbb{N}$. So $38^{4n}\equiv 6\pmod{10}.$ Now you should do it.