The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A105270 Integer part of the area of consecutive prime sided tetragons with one right angle. 0
11, 25, 64, 122, 205, 300, 442, 605, 854, 1140, 1402, 1737, 2070, 2471, 2960, 3549, 4105, 4578, 52, 16, 5796, 6487, 7465, 8442, 9444, 10374, 10998, 11634, 12870, 14191, 15975, 17764, 19234, 2063, 7, 22115, 23950, 25350, 27146, 28979, 30550, 32673 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The area of the right triangle is a rational number = p1*p2/2. Forming the right triangle and the diagonal d is the only way we can analytically determine the area of an irregular tetragon knowing just the sides.
LINKS
FORMULA
Let p1, p2, p3, p4 be the consecutive prime sides of a tetragon with p1, p2 forming a right angle. Then the diagonal d, connecting the end points of p1 and p2 divides the tetragon into right triangle p1, p2, d and triangle p3, p4, d. The sum of the areas of these triangles is the area of the right tetragon. Let s1, s2 = semiperimeters of the right triangle and the other triangle. Then s1 = (p1+p2+d)/2, s2=(p3+p4+d)/2. Since p1, p2, d is a right triangle, d can be determined as d = sqrt(p1^2+p2^2). Then knowing d we know all sides of the two triangles forming the tetragon and can therefore determine their area together which is the area of the tetragon. AreaQ = sqrt(s1(s1-p1)(s1-p2)(s1-d)) + sqrt(s2(s2-p3)(s2-p4)(s2-d)).
PROG
(PARI) \prime sided quadrilaterals with 2 smallest primes the rays of a right angle. quadlatpr(n) = { local(x, d, area, s1, s2, a1, a2, p2, p3, p4); for(x=1, n, p1=prime(x); p2=prime(x+1); p3=prime(x+2); p4=prime(x+3); if(p1+p2+p3 > p4, d=sqrt(p1^2+p2^2); s1 = (p1+p2+d)/2; s2 = (p3+p4+d)/2; a1 = p1*p2/2; a2 = sqrt(s2*(s2-p3)*(s2-p4)*(s2-d)); area = a1+a2; ); print1(floor(area)", ") ) }
CROSSREFS
Sequence in context: A328560 A118648 A262105 * A039337 A043160 A043940
KEYWORD
easy,nonn
AUTHOR
Cino Hilliard, Apr 16 2005
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 6 18:15 EDT 2024. Contains 373134 sequences. (Running on oeis4.)