Interactive · 9 questions
Modulo Arithmetic : Last digit analysis (Part )
In the last part, we talked about last digit analysis. We'll continue this topic by investigating its application on some problems.
Firstly, an easy exercise :
Find the last digit of .
Recall the pattern we attained in the last part for the cycle of . It's
This means that, if the power is odd, the answer is
and if it's even, the answer is
Now, is even or odd?
So, since is odd, the answer is .
If you still didn't get the hang of it, here's another problem :
Find the last digit of .
Great job if you get this problem! This problem is slightly harder than the previous one, as it involve two powers. But, as we shall see, this problem is not as hard as it seems.
Now, what is the pattern for the last digits of powers of ?
Great job if you still remember, or if you derive it. In any case, the pattern is .
The way to proceed is clear: We need to find the remainder when is divided by .
How do we get ? We'll make use of negative numbers :
. So indeed the remainder is .
What does all this mean? What is the final answer?
That's right. Since the remainder of the exponent is when divided by , the last digit of the original is the rd in the cycle of last digits for powers of .
So, the answer we've been looking for is .