Problem:
Answer the following two questions and justify your answers:
(1) What is the last digit of the sum ?
(2) What is the last digit of the sum ?
Problem:
Answer the following two questions and justify your answers:
(1) What is the last digit of the sum ?
(2) What is the last digit of the sum ?
Solution:
The final digit of a power of depends only on the final digit of , so there are 10 cases to consider. These are easy to work out. For ending in 1, the final digits are For ending in 2 they are , et cetera. In fact all 10 possible final digits repeat after 1, 2 or 4 steps, so in every case the final digit is back where it started every 4 steps. Since 2012 is divisible by 4, the last digit of is the same as the last digit of .
As varies, the last digits of go through a cycle of length 10: .
For part (1), if we list the last digits of the five summands, we have , whose sum has a last digit of .
For part (2), if we list the last digits of the 2012 summands, we will have 201 copies of the sequence , followed by and . Since , the last digit of the original sum is the same as the last digit of , which is .