OFFSET
1,1
COMMENTS
See A198453.
The definition amounts to saying that T_a+T_b=T_c where T_i denotes a triangular number (A000217). - N. J. A. Sloane, Apr 01 2020
REFERENCES
A. H. Beiler, Recreations in the Theory of Numbers, Dover, New York, 1964, pp. 104-134.
LINKS
Ron Knott, Pythagorean Triples and Online Calculators.
J. S. Myers, R. Schroeppel, S. R. Shannon, N. J. A. Sloane, and P. Zimmermann, Three Cousins of Recaman's Sequence, arXiv:2004:14000 [math.NT], April 2020.
EXAMPLE
2*3 + 2*3 = 3*4
3*4 + 5*6 = 6*7
4*5 + 9*10 = 10*11
5*6 + 6*7 = 8*9
5*6 + 14*15 = 15*16
6*7 + 9*10 = 11*12
PROG
(True BASIC)
input k
for a = (abs(k)-k+4)/2 to 40
for b = a to (a^2+abs(k)*a+2)/2
let t = a*(a+k)+b*(b+k)
let c =int((-k+ (k^2+4*t)^.5)/2)
if c*(c+k)=t then print a; b; c,
next b
print
next a
end
CROSSREFS
KEYWORD
nonn
AUTHOR
Charlie Marion, Oct 26 2011
STATUS
approved