%I #14 Jun 26 2017 16:09:54
%S 5,13,17,25,41,29,37,61,65,85,53,113,65,101,145,73,85,89,181,145,221,
%T 97,125,109,197,265,149,313,257,173,137,365,185,157,325,421,229,169,
%U 481,205,185,193,401,269,545,293
%N Hypotenuse of primitive Pythagorean triangles sorted on area (A024406), then on hypotenuse.
%C Complete triple (X,Y,Z), with X>Y>Z is given by X=a(n),Y=A121728(n),Z=A121729(n).
%o (PARI) v=vector(M=10^4); for(a=1, M, v[a] = []; fordiv(2*a, x, if(x<(y=2*a/x) && issquare(x^2+y^2, &z) && 1==gcd([x,y,z]), v[a] = concat(z, v[a])))); concat(v) /* _Michael Somos_, Dec 21 2016 */
%K nonn
%O 1,1
%A _Lekraj Beedassy_, Aug 17 2006
%E a(20)=145 corrected by _Philippe Guglielmetti_, Dec 14 2016
%E a(43)=401 inserted by _Michael Somos_, Dec 21 2016
|