Problem 712: (2021 AIME I, 5)
Call a three-term strictly increasing arithmetic sequence of integers special if the sum of the squares of the three terms equals the product of the middle term and the square of the common difference. Find the sum of the third terms of all special sequences.
- With terms $a-d,a,a+d$ ($d>0$): $3a^2+2d^2=ad^2$, a quadratic in $a$ with discriminant $d^4-24d^2$, which must be a square: $d^2-24=k^2$.
- $(d-k)(d+k)=24$ with equal parity: $(2,12)$ gives $d=7$; $(4,6)$ gives $d=5$.
- For $d=5$, $a=\frac{25\pm5}6$, so $a=5$, giving $0,5,10$. For $d=7$, $a=\frac{49\pm35}6$, so $a=14$, giving $7,14,21$. The sum of the third terms is $31$.
- The answer is $\boxed{031}$.
Call a three-term strictly increasing arithmetic sequence of integers special if the sum of the squares of the three terms equals the product of the first term and the square of the common difference. Find the sum of the third terms of all special sequences.