AMC 10 Step by Step

2023 AMC 10B Problem 8

P1-10~2 minPrint

What is the units digit of 20222023+202320222022^{2023} + 2023^{2022} ?

Log in to save your progress.
Show solution without answering

Key insight

Only the last digit of each base matters. Last digits of powers of 2 and of 3 repeat every 4 steps, so use the remainders of 2023 and 2022.

Solution

The last digit of a product depends only on the last digits of the numbers being multiplied. So 202220232022^{2023} ends in the same digit as 220232^{2023}, and 202320222023^{2022} ends in the same digit as 320223^{2022}.

1. Powers of 22. The last digits are
21=2,22=4,23=8,24=16,25=32, …2^1 = 2,\quad 2^2 = 4,\quad 2^3 = 8,\quad 2^4 = 16,\quad 2^5 = 32,\ \ldots
so the last digit goes 2,4,8,62, 4, 8, 6 and then repeats every 44 steps.
2. Where is 20232023 in that cycle? 2023=4×505+32023 = 4 \times 505 + 3, so the remainder is 33. Step 33 of the cycle is 88. So 220232^{2023} ends in 88.
3. Powers of 33. The last digits are 3,9,7,13, 9, 7, 1 (3,9,27,813, 9, 27, 81) and then repeat every 44 steps.
4. Where is 20222022 in that cycle? 2022=4×505+22022 = 4 \times 505 + 2, so the remainder is 22. Step 22 is 99. So 320223^{2022} ends in 99.
5. Add. 8+9=178 + 9 = 17, which ends in 77.

The answer is (A) 7\boxed{\textbf{(A)}\ 7}.

Why this works

When you add or multiply, the last digit of the answer depends only on the last digits you started with. So a huge power becomes a small power of a single digit, and those repeat in short cycles. Divide the exponent by the cycle length and use the remainder. Watch one detail: a remainder of 00 means the last step of the cycle, not the first.

Concise solution

A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.

The units digit of a power depends only on the units digit of the base, so we need the last digits of 220232^{2023} and 320223^{2022}.

Powers of 22 end in 2,4,8,6,2,…2, 4, 8, 6, 2, \dots with period 44. Since 2023=4⋅505+32023 = 4 \cdot 505 + 3, the exponent has remainder 33, and 220232^{2023} ends in the third entry, 88.

Powers of 33 end in 3,9,7,1,3,…3, 9, 7, 1, 3, \dots, also period 44. Since 2022=4⋅505+22022 = 4 \cdot 505 + 2, 320223^{2022} ends in the second entry, 99.

The sum ends in the units digit of 8+9=178 + 9 = 17, namely 77.

The answer is (A) 7\boxed{\textbf{(A)}\ 7}.

Review in the AoPS books

Similar problems

Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site.