Difference between revisions of "2023 AMC 12A Problems/Problem 20"
(→Solution 4) |
(→Solution 2) |
||
(15 intermediate revisions by 3 users not shown) | |||
Line 63: | Line 63: | ||
S_{2023} &= 2S_{2022} + 2021 | S_{2023} &= 2S_{2022} + 2021 | ||
\end{align*}</cmath> | \end{align*}</cmath> | ||
+ | |||
From this we can establish: | From this we can establish: | ||
<cmath>\begin{align*} | <cmath>\begin{align*} | ||
Line 89: | Line 90: | ||
&\equiv \boxed{\textbf{(C) } 5} \pmod{10} \\ | &\equiv \boxed{\textbf{(C) } 5} \pmod{10} \\ | ||
\end{align*}</cmath> | \end{align*}</cmath> | ||
− | ~luckuso | + | |
+ | ~[https://artofproblemsolving.com/wiki/index.php/User:Cyantist luckuso] | ||
+ | |||
+ | ==Solution 2.b simpler == | ||
+ | <cmath>\begin{align*} | ||
+ | S_n &= 2S_{n-1} + n-2 \\ | ||
+ | S_n + An + B &= 2(S_{n-1} + A(n-1) + B) \\ | ||
+ | A = 1 , B = 0 \\ | ||
+ | S_n + n &= 2 (S_{n-1} + n-1) = 2^{n-1} (S_1+1) | ||
+ | \end{align*}</cmath> | ||
+ | continue with the rest from solution 2 | ||
+ | |||
+ | ~[https://artofproblemsolving.com/wiki/index.php/User:Cyantist luckuso] | ||
==Solution 3 (Recursion)== | ==Solution 3 (Recursion)== | ||
Line 171: | Line 184: | ||
For <math>\sum_{n=1}^{2020}(n \cdot 2^{(2021-n)})</math>, we can solve the sum of geometric sequence to be <math>{2^{2022} - 4 - 2020 \cdot 2}</math>, which has 0 for the unit digit. | For <math>\sum_{n=1}^{2020}(n \cdot 2^{(2021-n)})</math>, we can solve the sum of geometric sequence to be <math>{2^{2022} - 4 - 2020 \cdot 2}</math>, which has 0 for the unit digit. | ||
− | Therefore, | + | Therefore, for the sum of numbers in the 2023rd row, which is <math>2^{2022} + \sum_{n=1}^{2020}(n \cdot 2^{(2021-n)}) + 2021</math>, its unit digit is <math>4 + 0 + 1 = \boxed{\textbf{(C) } 5}</math>. |
~sqroot | ~sqroot | ||
+ | |||
+ | ==Solution 5 (mod bash)== | ||
+ | |||
+ | Observe that: | ||
+ | <math>S_n = 2{S_{n-1}} + (n-2) \\ | ||
+ | = 2{S_{n-1}} + D_{n} \\ | ||
+ | = 2{S_{n-1}} + D_{n-1} + 1 | ||
+ | </math> | ||
+ | where <math>D_1=-1</math>, and <math>D_n=D_{n-1}+1</math> for <math>n>1</math>. | ||
+ | |||
+ | Make a table of values, <math>(S_n, D_n) \mod 2</math> and <math>(S_n, D_n) \mod 5</math>, a until the cycle completes for each. (<math>\mod 2</math> has period <math>1</math>; <math>\mod 5</math> has period <math>20</math>). | ||
+ | ( In both cases, there is no "head" that is not part of the cycle.) | ||
+ | |||
+ | Mod 2: | ||
+ | <math>S_{2023} \equiv S_{2023 \mod 2} \equiv S_1 = (1\cdot 2 +0)\cdot 0 + 1 \equiv 1 \pmod 2</math> | ||
+ | |||
+ | Mod 5: | ||
+ | <math>S_{2023} \equiv S_{2023 \mod 20} \equiv S_3 \equiv (1\cdot 2 +0)\cdot 2 + 1 \equiv 5 \pmod 5</math> | ||
+ | |||
+ | Thus <math>S_{2023} \mod 10 = \boxed{\textbf{(C) } 5}</math>. | ||
==Video Solution 1 by OmegaLearn== | ==Video Solution 1 by OmegaLearn== |
Revision as of 23:06, 5 August 2024
Contents
Problem
Rows 1, 2, 3, 4, and 5 of a triangular array of integers are shown below.
Each row after the first row is formed by placing a 1 at each end of the row, and each interior entry is 1 greater than the sum of the two numbers diagonally above it in the previous row. What is the units digits of the sum of the 2023 numbers in the 2023rd row?
Solution 1
First, let be the sum of the th row. Now, with some observation and math instinct, we can guess that .
Now we try to prove it by induction,
(works for base case)
By definition from the question, the next row is always
Double the sum of last row (Imagine each number from last row branches off toward left and right to the next row), plus # of new row, minus 2 (minus leftmost and rightmost's 1)
Which gives us
Hence, proven
Last, simply substitute , we get
Last digit of is ,
~lptoggled
Solution 2
Let the sum of the numbers in row be . Let each number in row be where .
Then
From this we can establish:
Let
From this we have:
The problem requires us to find the last digit of . We can use modular arithmetic.
Solution 2.b simpler
continue with the rest from solution 2
Solution 3 (Recursion)
Let the sum of the row be .
For each of the non-1 entries in the row, they are equal to the sum of the numbers diagonally above it in the row plus . Therefore all non-1 entries in the row appear twice in the sum of the non-1 entries in the row, the two s on each end of the row only appear once in the sum of the non-1 entries in the row. Additionally, additional s are placed at each end of the row. Hence,
, . By using the recursive formula,
is a geometric sequence by a ratio of
,
The unit digit of powers of is periodic by a cycle of digits: , , , . , the unit digit of is .
Therefore, the unit digit of is
Solution 4
Consider Pascal's triangle as the starting point. In the Pascal's triangle depicted below, the sum of the numbers in the th row is . For the 2023rd row in the Pascal's triangle, the sum of numbers is .
For the triangular array of integers in the problem, 1 is added to each interior entry, which propagates to two numbers diagonally below it in the next row, making the sum of numbers in the next row to increase by 2. And the addition of 1 continues to propagate to the next row, which makes the sum of numbers in the row below the next to increase by 4.
Examine the following triangular array of 1's, which indicates the 1's being added to each position of corresponding numbers in the Pascal's triangle.
For the 3rd row, 1 is added to the original number in the same position in the Pascal's triangle. And the addition of 1 in the 3rd row makes the sum of numbers in the 4th row to increase by 2, and makes the sum of numbers in the 5th row to increase by 4, and so forth. Therefore, the addition of a 1 in the 3rd row makes the sum of numbers in the 2023rd row to increase by . And similarly, the addition of each 1 in the 4th row makes the number of numbers in the 2023rd row to increase by . The 1's being added between the 3rd and 2022nd rows impact on the sum of numbers in the 2023rd row to increase by .
Therefore, the sum of numbers in the 2023rd row is the aggregation of the sum of numbers in the 2023rd row in the Pascal's triangle, the impact of addition of 1's between the 3rd row and the 2022nd row, and the addition of 1's on 2021 interior entries in the 2023rd row, which is .
Because and will always ends with 6 as the unit digit, the unit digit of is 4.
For , we can solve the sum of geometric sequence to be , which has 0 for the unit digit.
Therefore, for the sum of numbers in the 2023rd row, which is , its unit digit is .
~sqroot
Solution 5 (mod bash)
Observe that: where , and for .
Make a table of values, and , a until the cycle completes for each. ( has period ; has period ). ( In both cases, there is no "head" that is not part of the cycle.)
Mod 2:
Mod 5:
Thus .
Video Solution 1 by OmegaLearn
Video Solution
~Steven Chen (Professor Chen Education Palace, www.professorchenedu.com)
See also
2023 AMC 12A (Problems • Answer Key • Resources) | |
Preceded by Problem 19 |
Followed by Problem 21 |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 • 16 • 17 • 18 • 19 • 20 • 21 • 22 • 23 • 24 • 25 | |
All AMC 12 Problems and Solutions |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.