A253277 Integer area A of triangles with side lengths in the commutative ring Z[sqrt(3)].
3, 6, 9, 12, 18, 21, 24, 27, 30, 33, 36, 39, 42, 48, 49, 54, 60, 63, 66, 72, 75, 78, 81, 84, 90, 96, 99, 108, 114, 117, 120, 126, 132, 138, 144, 147, 150, 156, 162, 168, 180, 189, 192, 196, 198, 204, 210, 216, 222, 225, 227, 228, 234, 240, 243, 252, 264, 270
Offset: 1
Keywords
Links
- Eric Weisstein's World of Mathematics, Ring.
Programs
-
Mathematica
err=1/10^10;nn=10;q=Sqrt[3];lst={};lst1={};Do[If[u+q*v>0,lst=Union[lst,{u+q*v}]],{u,-nn,nn},{v,-nn,nn}];n1=Length[lst];Do[a=Part[lst,i];b=Part[lst,j];c=Part[lst,k];s=(a+b+c)/2;area2=s*(s-a)*(s-b)*(s-c);If[a*b*c !=0&&N[area2]>0&&Abs[N[Sqrt[area2]]-Round[N[Sqrt[area2]]]]
Comments