Numbers k such that 2*k^2 + 14*k + 25 is a square. - James R. Buddenhagen, Jul 19 2008
If k satisfies the previous condition, i.e., P(k) = 2*k^2 + 14*k + 25 is a square, then there exists an integer m such that (k+3)^2 + (k+4)^2 = m^2; finding such numbers k is equivalent to finding Pythagorean triples (X,X+1,Z) with X in A001652 (1st formula). For k >= 0, P(k) = A001844(k+3), and the successive values of P(k) that are squares are in A008844. - Bernard Schott, Mar 24 2019
REFERENCES
Albert H. Beiler, Recreations in the Theory of Numbers, Dover, New-York, 1964, pp. 122-124.