Answer: 8
=========================================================
Step-by-step explanation:
Let's list out a few numbers of the form 2^n where n is some positive integer.
- 2^1 = 2
- 2^2 = 4
- 2^3 = 8
- 2^4 = 16
- 2^5 = 32
- 2^6 = 64
- 2^7 = 128
- 2^8 = 256
- 2^9 = 512
Then focus solely on the units digit of each result:
2, 4, 8, 6, 2, 4, 8, 6, 2, ...
We see the pattern is "2,4,8,6" and that pattern repeats forever. The reason why is because once we reach 6, we get back to 2 and it restarts the cycle. The pattern repeats itself every 4 values.
------------------
So we'll divide the exponent by 4 and look at the remainder (see note at the end)
2019/4 = 504 remainder 3
The remainder 3 tells us to look at the 3rd slot of the list {2,4,8,6}
That third item is 8
Therefore units digit of 2^2019 is 8.
------------------
Side note: if you get a remainder of 0, then look at slot 4. This works because 4/4 = 1 remainder 0.
In other words, think of "remainder 0" as "remainder 4".