AMC 10 Step by Step

2008 AMC 10A Problem 24

P21-25~4 minPrint

Let k=20082+22008k={2008}^{2}+{2}^{2008} . What is the units digit of k2+2kk^2+2^k ?

Log in to save your progress.
Show solution without answering

Key insight

k and its square end in 0. Powers of 2 end in 2, 4, 8, 6 repeating. Since k is a multiple of 4, 2^k ends in 6.

Solution

Only last digits matter, so track those.

  1. Last digits of powers of 22. Write out a few:
212^1222^2232^3242^4252^5262^6272^7282^8
224488161632326464128128256256

The last digits go 2,4,8,62, 4, 8, 6 and then repeat. So when the exponent is a multiple of 44, the power of 22 ends in 66.
2. Last digit of kk. 200822008^2 ends like 82=648^2 = 64, so in 44. The exponent 20082008 is a multiple of 44, so 220082^{2008} ends in 66. Then kk ends like 4+6=104 + 6 = 10, so kk ends in 00.
3. Last digit of k2k^2. A number ending in 00 squared still ends in 00.
4. Last digit of 2k2^k. Here the last digit of kk does not help; we need to know where kk falls in the repeating block of 44. Is kk a multiple of 44?
- 20082008 is a multiple of 44, so 200822008^2 is too.
- 220082^{2008} is 2×2×⋯2 \times 2 \times \cdots, certainly a multiple of 44.

So kk is a multiple of 44, and by step 1, 2k2^k ends in 66.
5. Add. k2+2kk^2 + 2^k ends like 0+60 + 6, so in 66.

The answer is (D) 6\boxed{\textbf{(D)}\ 6}.

Why this works

The last digit of a sum or product depends only on the last digits of its parts. For a power, though, the exponent works differently: last digits of powers of 22 repeat in blocks of 44, so you need the exponent's remainder when divided by 44, not its last digit. Keep those two ideas separate and giant numbers become easy.

Concise solution

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

Units digit of kk. 200822008^2 ends in the units digit of 82=648^2 = 64, namely 44. Powers of 22 end in 2,4,8,62, 4, 8, 6 repeating with period 44; since 20082008 is a multiple of 44, 220082^{2008} ends in 66. So kk ends in 4+6=104 + 6 = 10, i.e. in 00.

Units digit of k2k^2. A number ending in 00 has a square ending in 00.

Units digit of 2k2^k. This depends on k mod 4k \bmod 4, not on its units digit. Both 200822008^2 and 220082^{2008} are multiples of 44, so k≡0(mod4)k \equiv 0 \pmod 4, and 2k2^k ends in 66 (the last entry of the cycle 2,4,8,62, 4, 8, 6).

Combine. k2+2kk^2 + 2^k ends in 0+6=60 + 6 = 6.

The answer is (D) 6\boxed{\textbf{(D)}\ 6}.

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.