AMC 12A 2022 (Problem 16)

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