Skip to main content

2022 AMC 12A Problem 16

Problem 16 of 25IntermediateAlgebraNumber Theory

A triangular number is a positive integer that can be expressed in the form tn=1+2+3++n,t_n=1+2+3+\cdots+n, for some positive integer n.n. The three smallest triangular numbers that are also perfect squares are t1=1=12,t_1=1=1^2, t8=36=62,t_8=36=6^2, and t49=1225=352.t_{49}=1225=35^2. What is the sum of the digits of the fourth smallest triangular number that is also a perfect square?

Answer choices

Show solution

Solution

If tn=y2,t_n=y^2, then n(n+1)2=y2,\frac{n(n+1)}{2}=y^2, or (2n+1)28y2=1.(2n+1)^2-8y^2=1. The positive Pell solutions occur successively by multiplying (2n+1)+y8(2n+1)+y\sqrt8 by 3+8.3+\sqrt8. Starting from (2n+1,y)=(3,1),(2n+1,y)=(3,1), this gives (17,6),(17,6), (99,35),(99,35), and then (577,204).(577,204). Thus the fourth value has n=288n=288 and equals 2042=41616.204^2=41616. The sum of its digits is 4+1+6+1+6=18.4+1+6+1+6=18. Thus, the correct answer is D.

More practice

Concepts: triangular number · perfect square · recursion

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