OFFSET
1,16
COMMENTS
No such triangles with odd perimeter exist.
LINKS
Frank M Jackson, Table of n, a(n) for n = 1..10000
Alan F. Beardon and Paul Stephenson, The Heron parameters of a triangle, Mathematical Gazette, Vol. 99, No. 545 (2015), pp. 205-212.
EXAMPLE
a(18) = 4 because there are 4 triangles that have integer sides and area (Heronian triangles) with perimeter 36. They are (9, 10, 17), (9, 12, 15), (10, 10, 16), (10, 13, 13) and their areas are 36, 54, 48, 60 respectively.
MATHEMATICA
gettriples[k_] := Select[IntegerPartitions[k, {3}], IntegerQ@Sqrt[Total@#*#[[1]]*#[[2]]*#[[3]]] &]; Table[Length@gettriples[k], {k, 1, 107}] (* Frank M Jackson, Jan 21 2026 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved
