A226453 Integer areas of integer-sided triangles where at least one side is of prime length.
6, 12, 24, 30, 36, 42, 60, 66, 72, 84, 90, 114, 120, 126, 132, 156, 180, 204, 210, 216, 234, 240, 252, 264, 270, 288, 300, 306, 330, 336, 360, 390, 396, 420, 456, 462, 504, 510, 522, 528, 546, 570, 624, 630, 660, 684, 690, 714, 720, 756, 780, 798, 840, 864
Offset: 1
Keywords
Examples
114 is in the sequence because the triangle (19, 20, 37) => semiperimeter s = (19+20+37)/2 = 38, and A = sqrt(38*(38-19)*(38-20)*(38-37)) = 114.
Links
- Giovanni Resta, Table of n, a(n) for n = 1..10000
Crossrefs
Cf. A188158.
Programs
-
Mathematica
nn=1000; lst={}; Do[s=(a+b+c)/2; If[IntegerQ[s], area2=s (s-a) (s-b) (s-c); If[0
Comments