%I #29 Nov 16 2019 04:10:00
%S 2,3,5,4,7,7,5,9,6,7,9,11,11,7,8,9,11,13,8,13,15,13,9,10,11,12,15,10,
%T 17,11,12,15,13,17,19,11,17,13,19,17,19,12,13,14,21,15,19,16,21,13,14,
%U 23,19,16,23,17,21,14,25,23,16,17,25,21,23,15,19,16,17,18,23,27,25,19,20,16,17,23,18
%N Numerator of the fraction (hypotenuse - difference of legs) / (sum of legs - hypotenuse) of the n-th primitive Pythagorean triangle.
%C a(n) / A328972(n) should contain all reduced fractions between 1 and sqrt(2) + 1 without duplicates.
%C a(n) is built from the difference between the length of the hypotenuse (A020882) and the difference between the two legs (A120682) of the n-th primitive Pythagorean triangle.
%C A328972(n) (denominators) is built from the difference between the sum of the length of the legs (A120681) and the hypotenuse of the n-th primitive Pythagorean triangle.
%C Then both numbers are divided by their GCD to get the reduced fraction.
%C All primitive Pythagorean triangles are sorted first on hypotenuse, then on long leg.
%H S. Brunner, <a href="/A328971/b328971.txt">Table of n, a(n) for n = 1..10000</a>
%H S. Brunner, <a href="https://pastebin.com/6BbfTGAh">List for n = 0..5000 together with the primitive Pythagorean triangles </a>
%e For n=2 we need the 2nd primitive Pythagorean triangle:
%e 5,12,13
%e ^ ^ We calculate the difference between the two small numbers: 12-5=7.
%e ^ And to get our numerator we subtract 7 from the hypotenuse length: 13-7=6.
%e ^ ^ Then we calculate the sum of the two small numbers: 5+12=17.
%e ^ We subtract 13 from this sum to get the denominator: 17-13=4.
%e This gives us the fraction 6/4, and in reduced form 3/2.
%Y Denominators: A328972.
%K frac,nonn
%O 1,1
%A _S. Brunner_, Nov 01 2019
|