OFFSET
1,1
COMMENTS
Here a primitive Heronian triangle has integer sides a,b,c with GCD(a,b,c) = 1 and integral area. The perimeter is always even. Cheney's article contains many theorems about these triangles.
LINKS
Peter Kagey and Giovanni Resta, Table of n, a(n) for n = 1..10000 (first 1000 terms from Peter Kagey)
Wm. Fitch Cheney, Jr., Heronian Triangles, Amer. Math. Monthly, Vol. 36, No. 1 (Jan 1929), 22-28.
Eric Weisstein's World of Mathematics, Heronian Triangle
EXAMPLE
12 is on this list because the triangle with sides 3, 4, 5 has integral area and perimeter 12.
MATHEMATICA
nn=150; lst={}; Do[s=(a+b+c)/2; If[IntegerQ[s] && GCD[a, b, c]==1, area2=s(s-a)(s-b)(s-c); If[area2>0 && IntegerQ[Sqrt[area2]], AppendTo[lst, 2s]]], {a, nn}, {b, a}, {c, b}]; Union[lst]
CROSSREFS
KEYWORD
nonn
AUTHOR
T. D. Noe, Jun 22 2004
EXTENSIONS
Name changed by Wesley Ivan Hurt, May 17 2020
STATUS
approved