OFFSET
1,15
EXAMPLE
a(20)=3 as there are 3 non-congruent Heronian triangles with base length of 20 whose apex lies on or within the space bounded by a semicircle of diameter 20. The integer triples are (7,15,20), (11,13,20), (12,16,20).
MATHEMATICA
gettriangles[c_] := (s=(a+b+c)/2; area2=s(s-a)(s-b)(s-c); n=0; Do[If[IntegerQ[Sqrt[area2]]&&a+b>c&&a^2+b^2<=c^2, n++], {b, 1, c}, {a, 1, b}]; n); Table[gettriangles[m], {m, 1, 200}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Frank M Jackson, Jan 28 2014
STATUS
approved