OFFSET
1,1
REFERENCES
G. Balzarotti and P. P. Lava, Le sequenze di numeri interi, Hoepli, 2008, p. 47.
EXAMPLE
First primitive Pythagorean triad: 3, 4, 5
Weierstrass equation. y^2 = x*( 3^2 - x)*( 4^2 + x)
Smallest integer solution (x, y) = (4,20)
First element in the sequence x = 4
MAPLE
flag :=1; x:=0; # a, b, c primitive Pythagorean triad while flag =1 do x:=x+1; y2:= x*( a^2 - x)*(x+b^2); if ((floor(sqrt(y2)))^2=y2)then print( x); flag :=0; fi; od;
CROSSREFS
KEYWORD
nonn
AUTHOR
Giorgio Balzarotti, Paolo P. Lava, Jun 10 2006
STATUS
approved