A277534 Least hypotenuse, c, of a Primitive Pythagorean Triangle (PPT) such that the difference between it, c, and its greater leg, b, is n; or 0 if no such PPT exists.
5, 17, 0, 0, 65, 0, 0, 29, 65, 185, 0, 0, 169, 0, 0, 0, 221, 333, 0, 0, 273, 0, 0, 0, 157, 481, 0, 0, 1189, 0, 0, 641, 1353, 629, 0, 0, 1517, 0, 0, 425, 1681, 777, 0, 0, 1845, 0, 0, 0, 205, 925, 0, 0, 2173, 0, 0, 0, 2337, 1073, 0, 0, 2501, 0, 0, 0, 2665, 1221, 0, 0, 2829, 0, 0, 1405, 2993, 1369, 0
Offset: 1
Examples
a(1) is 5 since the PPT (3,4,5) satisfies the first stated criterion; a(2) is 17 since the PPT (8,15,17) satisfies the first stated criterion; a(3) = 0 since there exists no PPT that satisfies the stated criteria; etc.
Links
- Ron Knott and Robert G. Wilson v, Table of n, a(n) for n = 1..10000
- Ron Knott, Pythagorean Triples and Online Calculators
Programs
-
Mathematica
f[n_] := FindInstance[ a^2 + b^2 == c^2 && Mod[c, 4] == 1 && 0 < a < b < c && c - b == n, {a, b, c}, Integers][[1, 3, 2, 1, 1, 3]] + 1 /. 1 + {}[[1, 3, 2, 1, 1, 3]] -> 0; f[1] = 5; Array[f, 75]
Comments