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.
For us to be able to identify the units digit of a product, we only have to look at the units digit of the product of the units digit of the factors. (To demonstrate this, if I have 2 5 × 2 5 , I will only have to look at the units digit of the factors, 5 × 5 , which will give me 2 5 with a last digit of 5 . If we check on the sample problem, 2 5 × 2 5 , we would arrive at 6 2 5 , which confirms our finding that 5 is the last digit.) Let us group our set of odd numbers from 1 to 7 9 into five sets according to their units digit. Each of these five subsets have eight elements each:
S 1 : { 1 , 1 1 , 2 1 , 3 1 , 4 1 , 5 1 , 6 1 , 7 1 } S 3 : { 3 , 1 3 , 2 3 , 3 3 , 4 3 , 5 3 , 6 3 , 7 3 } S 5 : { 5 , 1 5 , 2 5 , 3 5 , 4 5 , 5 5 , 6 5 , 7 5 } S 7 : { 7 , 1 7 , 2 7 , 3 7 , 4 7 , 5 7 , 6 7 , 7 7 } S 9 : { 9 , 1 9 , 2 9 , 3 9 , 4 9 , 5 9 , 6 9 , 7 9 }
Let us observe the patterns done by the units digit of all these numbers as the exponent grows to 7 9 .
For S 1 :
If we multiply any number with a last digit of 1 by itself, no matter how many times, we will have 1 in the units digit. This means that the 7 9 t h power of any number that belongs to S 1 is 1 . The units digit of the sum of all elements in S 1 is 1 × 8 = 8 .
For S 3 :
We will only use 3 as our calculations with this number can represent the whole set. The units digit of product of the sole factor 3 is 3 . Multiplying it with 3 (for which we will have 3 2 ) will give us a units digit of 9 . Multiplying it once more with 3 will give us 2 7 . If we continue this until the fifth iteration...
...we would end up back to a unit digit of 3 . We have a loop in the series of last digits; if we continue to multiply with 3 , we will just go back and forth with the numbers { 3 , 9 , 7 , 1 } . The loop repeats every four iterations. If we continue multiplying until the 7 9 t h term, we will have a 7 as our last digit and this is true for any number in S 3 . The units digit of the sum of all elements in S 3 is 7 × 8 = 5 6 .
For S 5 :
Just like the elements of s 1 , if we multiply any number with a last digit of 5 by itself, no matter how many times, we will (always) have 5 in the units digit, even after seventy-nine iterations. The units digit of the sum of all elements in S 5 is 5 × 8 = 4 0 .
For S 7 :
The elements in S 7 show a pretty similar behavior with the elements on S 3 :
The loop also repeats every four iterations. If we continue multiplying until the 7 9 t h term, we will have a 3 as our last digit and this is true for any number in S 7 . The units digit of the sum of all elements in S 7 is 3 × 8 = 2 4 .
Lastly, S 9 :
Unlike S 3 and S 7 , the loop starts early with S 9 :
The loop repeats only at every two iterations with odd-numbered iterations, including the 7 9 t h iteration, having a last digit of 9 . The units digit of the sum of all elements in S 9 is 9 × 8 = 7 2 .
Thus, the units digit of the sum of all of the units digits of all subsets is 8 + 6 + 0 + 4 + 2 ≡ 0 ( m o d 1 0 ) .