A229159 Smallest integer areas of integer-sided triangles where at least one side is of length prime(n).
0, 6, 6, 42, 66, 24, 36, 114, 966, 60, 930, 114, 126, 1290, 4230, 90, 1770, 330, 2814, 14910, 216, 4740, 1494, 420, 420, 510, 6180, 4494, 840, 570, 8382, 11790, 630, 9174, 210, 4530, 840, 2934, 45090, 3276, 22554, 1260, 24066, 336, 1386, 16716, 26586, 52182
Offset: 1
Keywords
Crossrefs
Cf. A226453.
Programs
-
Maple
with(numtheory):nn:=500: for m from 2 to 40 do: q:=ithprime(m):ii:=0:for a from 1 to nn while(ii=0) do: for b from a to nn while(ii=0) do: for c from b to nn while(ii=0) do: p:=(a+b+c)/2 : x:=p*(p-a)*(p-b)*(p-c): if x>0 then x0:= sqrt(x):else fi:if (x0=floor(x0) and a=q) or (x0=floor(x0) and b=q) or (x0=floor(x0) and c=q)then ii:=1: printf ( "%d %d %d %d %d \n",q,x0,a,b,c): :else fi:od:od:od:od:
Comments