A238368 Integer area A of triangles having their side lengths in the commutative ring Z[phi] where phi is the golden ratio.
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 15, 16, 18, 20, 22, 24, 25, 27, 28, 29, 30, 32, 33, 34, 35, 36, 38, 40, 42, 44, 45, 48, 49, 50, 54, 55, 56, 58, 60, 62, 63, 64, 66, 68, 70, 72, 75, 76, 77, 78, 80, 81, 84, 88, 90, 95, 96, 98, 99, 100, 108, 110, 112, 114, 116
Offset: 1
Keywords
Links
- Eric Weisstein's World of Mathematics, Ring
Crossrefs
Cf. A188158.
Programs
-
Mathematica
err=1/10^10;nn=40;q=(Sqrt[5]+1)/2;lst={};lst1={};Do[If[u+q*v>0,lst=Union[lst,{u+q*v}]],{u,nn,-nn,-1},{v,nn,-nn,-1}];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