OFFSET
1,1
COMMENTS
See A198453.
REFERENCES
A. H. Beiler, Recreations in the Theory of Numbers, Dover, New York, 1964, pp. 104-134.
LINKS
EXAMPLE
2*5 + 3*6 = 4*7
3*6 + 7*10 = 8*11
4*7 + 12*15 = 13*16
5*8 + 18*21 = 19*22
6*9 + 6*9 = 9*12
6*9 + 11*14 = 13*16
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, Nov 26 2011
STATUS
approved