2022 SSMO Speed Round Problems/Problem 1
Problem
Let and Find the last digit of
Solution
Since the power of to an integer is always , it follows that we want to find the last digit of \begin{align*} &2^2 + 2^{20} + 2^{202} + 2^{2023} + \\ &3^2 + 3^{20} + 3^{202} + 3^{2023} \end{align*}
Since the powers of are it follows that and have the same last digit for . Similarily, and have the same last digit. (This follows as too).
The expression then has the same last digit as \[^2 + 2^{4} + 2^{2} + 2^{3} + 3^2 + 3^{4} + 3^{2} + 3^{3} \] which is just .