A283446 Integer areas of triangles with side lengths A001223(m), A001223(m+1) and A001223(m+2) for some m.
24, 96, 120, 144, 168, 216, 240, 264, 336, 360, 384, 432, 456, 480, 504, 528, 576, 600, 624, 672, 720, 792, 816, 840, 864, 936, 960, 1008, 1056, 1080, 1176, 1200, 1224, 1296, 1320, 1344, 1440, 1512, 1536, 1560, 1584, 1680, 1728, 1824, 1848, 1920, 1944, 2016
Offset: 1
Keywords
Examples
24 is in the sequence because, for the smallest value m = 123, we obtain the triangle of sides (A001223(123), A001223(124), A001223(125)) = (6, 8, 10) and the area is given by Heron's formula with s = 12 and A = sqrt(12(12-6)(12-8)(12-10)) = 24. The set of the others values m > 123 giving the same area A = 24 starts with 127, 192, 269, 304, 417, 420, ...
Programs
-
Mathematica
nn=10^5;lst={};Do[u=Prime[a+1]-Prime[a];v=Prime[a+2]-Prime[a+1]; w=Prime[a+3]-Prime[a+2];s=(u+v+w)/2;If[IntegerQ[s],area2=s (s-u)(s-v)(s-w);If[area2>0&&IntegerQ[Sqrt[area2]],AppendTo[lst,Sqrt[area2]]]],{a,nn}];Union[lst]
Extensions
Missing terms 1200 and 1584 from Giovanni Resta, Mar 08 2017
Comments