What is the last digit of 7 9 8 2 5 1 7 1 5 8 ?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
How and why are we taking mod 4 at the exponent?
Log in to reply
Good question. The last digit of the powers of every one-digit number repeats in cycles of 4 . For powers of 7 , for instance, the cycle is 7 , 9 , 3 , 1 . Knowing this, a shortcut to finding the last digit of a power is to raise the power to the m o d 4 of the exponent. If it is 1 , raise it to the 1 s t ; 2 , raise it to the 2 n d ; 3 , raise it to the 3 r d . The one caveat to this shortcut is this: if the exponent m o d 4 , however, is 0 , you must raise the power to the 4 t h , not only because raising it to 0 would make the last digit 1 every time, but also because if 4 divides the exponent, then it simply means that the power's last digit is the 4 t h number in its cycle of last digits.
Now why am I only taking the m o d 4 of the exponent's last two numbers? Because every multiple of 1 0 0 , 1 0 0 0 , 1 0 0 0 0 . . . 1 0 n ∀ n ≥ 2 is perfectly divisible by 4 . Think about it. Let's take the number 6 3 9 . 6 3 9 = 6 0 0 + 3 9 , and because 6 0 0 is a multiple of 1 0 0 − itself a multiple of 4 − then 6 3 9 m o d 4 ≡ 3 9 m o d 4 ≡ 3 . Thus, it is much faster to simply take the m o d 4 of the last two digits of the exponent rather than the whole exponent itself − a shortcut especially useful for large numbers.
We know that 7^1=7, 7^2 = 49, 7^3 = 343, 7^4 = 2401 and 7^5 = 16807. The period is 4 by 4. If the exponent is divisible by 1 the final is 7, divisible by 2 is 9, by 3 is 3, and by 4 is 1. Then 982517158 is divisible by 2, not by 4. Therefore the final is 9.
The exponent is of the form 2(2n + 1), so we have 7^(2n +1) squared. A simple check shows that odd powers of 7 end in 7 or 3, so their squares end in 9.
7 1 = 7
7 2 = 4 9
7 3 = 3 4 3
7 4 = 2 4 0 1
7 5 = 1 6 8 0 7
Observed that the units digit repeats in every cycle of 4 , so we divide the exponent by 4 and we get a remainder of 2 . Therefore, the the units digit is 9 .
Problem Loading...
Note Loading...
Set Loading...
7 9 8 2 5 1 7 1 5 8 m o d 4 = 7 5 8 m o d 4 = 7 2 = 4 9
The last digit is 9 .