OFFSET
1,2
EXAMPLE
136, 10 and 6 are triangular numbers and 136 = 10^2 + 6^2 so 136 is a term.
820, 28 and 6 are triangular numbers and 820 = 28^2 + 6^2 so 820 is a term.
MATHEMATICA
m = 50; t = Accumulate[Range[0, m]]; Select[Union[Plus @@@ Subsets[t^2, {2}]], # <= t[[-1]]^2 && IntegerQ @ Sqrt[8*# + 1] &] (* Amiram Eldar, Jul 16 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Metin Sariyar, Jul 14 2021
STATUS
approved