Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A105270
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A105270 Integer part of the area of consecutive prime sided tetragons with one right angle. +0
1
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; listen)
OFFSET

1,1

COMMENT

Ths 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.

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 = simi-perimeters 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)).

PROGRAM

(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: A140675 A161532 A118648 this_sequence A039337 A043160 A043940

Adjacent sequences: A105267 A105268 A105269 this_sequence A105271 A105272 A105273

KEYWORD

easy,nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), Apr 16 2005

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 29 12:46 EST 2009. Contains 167659 sequences.


AT&T Labs Research