Skip to main content

2023 AMC 12A Problem 20

Problem 20 of 25HarderAlgebraNumber Theory

Rows 1,1, 2,2, 3,3, 4,4, and 55 of a triangular array of integers are shown below. 1111311551171171\begin{array}{ccccccccc} &&&&1&&&&\\ &&&1&&1&&&\\ &&1&&3&&1&&\\ &1&&5&&5&&1&\\ 1&&7&&11&&7&&1 \end{array} Each row after the first row is formed by placing a 11 at each end of the row, and each interior entry is 11 greater than the sum of the two numbers diagonally above it in the previous row. What is the units digit of the sum of the 20232023 numbers in the 20232023rd row?

Answer choices

Show solution

Solution

Let SnS_n be the sum of row n.n. Each interior entry is 11 more than the sum of the two entries above it, and summing over the row gives the recurrence Sn=2Sn1+(n2). S_n=2S_{n-1}+(n-2). With S1=1,S_1=1, this solves to Sn=2nnS_n=2^n-n (check: S5=325=27S_5=32-5=27 =1+7+11+7+1=1+7+11+7+1). So S2023=220232023.S_{2023}=2^{2023}-2023. Since powers of 22 cycle with units digits 2,4,8,62,4,8,6 and 20233(mod4),2023\equiv 3\pmod 4, 220232^{2023} ends in 8.8. Then 83=58-3=5 gives units digit 5.5. Thus, the correct answer is C.

More practice

Concepts: recursion · units digit

Problem text and solution from the LIVE past-contest archive. See also the AoPS wiki page for community solutions.