%I #24 Oct 22 2021 11:34:15
%S 5,13,17,25,29,37,41,61,53,65,65,85,73,85,89,101,113,97,109,125,145,
%T 145,149,137,181,157,173,197,185,169,221,185,193,205,229,257,265,205,
%U 221,233,241,269,313,265,293,325,277,317,281,365,289,305,305,365,401
%N Square root of second term of a triple of squares in arithmetic progression that is not a multiple of another triple in (A198384, A198385, A198386).
%C This sequence gives the hypotenuses of primitive Pythagorean triangles (with multiplicities) ordered according to nondecreasing values of the leg sums x+y (called w in the Zumkeller link, given by A198441). See the comment on the equivalence to primitive Pythagorean triangles in A198441. For the values of these hypotenuses ordered nondecreasingly see A020882. See also the triangle version A222946. - _Wolfdieter Lang_, May 23 2013
%H Ray Chandler, <a href="/A198440/b198440.txt">Table of n, a(n) for n = 1..10000</a>
%H Keith Conrad, <a href="http://www.math.uconn.edu/~kconrad/blurbs/ugradnumthy/3squarearithprog.pdf">Arithmetic progressions of three squares</a>
%H Reinhard Zumkeller, <a href="/A198435/a198435.txt">Table of initial values</a>
%F A198436(n) = a(n)^2; a(n) = A198389(A198409(n)).
%e From _Wolfdieter Lang_, May 22 2013: (Start)
%e Primitive Pythagorean triangle (x,y,z), even y, connection:
%e a(8) = 61 because the leg sum x+y = A198441(8) = 71 and due to A198439(8) = 49 one has y = (71+49)/2 = 60 is even, hence x = (71-49)/2 = 11 and z = sqrt(11^2 + 60^2) = 61. (End)
%t wmax = 1000;
%t triples[w_] := Reap[Module[{u, v}, For[u = 1, u < w, u++, If[IntegerQ[v = Sqrt[(u^2 + w^2)/2]], Sow[{u, v, w}]]]]][[2]];
%t tt = Flatten[DeleteCases[triples /@ Range[wmax], {}], 2];
%t DeleteCases[tt, t_List /; GCD@@t > 1 && MemberQ[tt, t/GCD@@t]][[All, 2]] (* _Jean-François Alcover_, Oct 22 2021 *)
%o (Haskell)
%o a198440 n = a198440_list !! (n-1)
%o a198440_list = map a198389 a198409_list
%Y Cf. A020882, A222946.
%K nonn
%O 1,1
%A _Reinhard Zumkeller_, Oct 25 2011
|