k^2 is always the sum of k^2 and 0^2, but no real triangle can have a zero-length side. Thus, the Mathematica program below searches for length 41 and implicitly drops the zero-squared-plus-n-squared solution. - Harvey P. Dale, Dec 09 2010
If m is a term, then 2*m and p*m are terms where p is any prime of the form 4j+3. - Ray Chandler, Dec 30 2019