Exercise 924
Solution
- The units digits of powers of $7$ cycle $7,9,3,1$ with period $4$ (Theorem 104). Since $2028\equiv0\pmod4$, $2027^{2028}$ ends in $1$.
- The units digits of powers of $8$ cycle $8,4,2,6$ with period $4$. Since $2027\equiv3\pmod4$, $2028^{2027}$ ends in $2$.
- So the sum ends in $1+2=\boxed{3}$.