Difference between revisions of "2022 AMC 12A Problems/Problem 16"
Line 31: | Line 31: | ||
~Steven Chen (Professor Chen Education Palace, www.professorchenedu.com) | ~Steven Chen (Professor Chen Education Palace, www.professorchenedu.com) | ||
+ | |||
+ | |||
+ | ==Solution 2 (Bash)== | ||
+ | |||
+ | As mentioned above, <math>t_n = \frac{n (n+1)}{2}</math>. If <math>t_n</math> is a perfect square, one of two things must occur when the fraction is split into a product. Either <math>\frac{n}{2}</math> and <math>n+1</math> must both be squares, or <math>n</math> and <math>\frac{n+1}{2}</math> must both be squares, and thus the search for the next perfect square triangular number can be narrowed down by testing values of <math>n</math> that are close to or are perfect squares. After some work, we reach <math>n = 288</math>, <math>1</math> less than <math>289</math>, and <math>t_288 = \frac{288\cdot289}{2} = 144 * 289 = 41616</math>. This product is a perfect square, and thus the sum of the digits of the fourth smallest perfect square triangular number is therefore <math>4+1+6+1+6=\boxed{\textbf{(D) 18}}</math>. | ||
+ | |||
== See Also == | == See Also == |
Revision as of 21:00, 12 November 2022
Problem
A is a positive integer that can be expressed in the form , for some positive integer . The three smallest triangular numbers that are also perfect squares are , , and . What is the sum of the digits of the fourth smallest triangular number that is also a perfect square?
Solution
We have . If is a perfect square, then it can be written as , where is a positive integer.
Thus, . Rearranging, we get , a Pell equation. So must be a truncation of the continued fraction for :
Therefore, , so the answer is .
- Steven Chen (Professor Chen Education Palace, www.professorchenedu.com)
Edited by wzs26843545602
Video Solution
~Steven Chen (Professor Chen Education Palace, www.professorchenedu.com)
Solution 2 (Bash)
As mentioned above, . If is a perfect square, one of two things must occur when the fraction is split into a product. Either and must both be squares, or and must both be squares, and thus the search for the next perfect square triangular number can be narrowed down by testing values of that are close to or are perfect squares. After some work, we reach , less than , and . This product is a perfect square, and thus the sum of the digits of the fourth smallest perfect square triangular number is therefore .
See Also
2022 AMC 12A (Problems • Answer Key • Resources) | |
Preceded by Problem 15 |
Followed by Problem 17 |
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.