OFFSET
1,1
COMMENTS
Because it is possible to generate triangles using three consecutive odd primes (see A096377) any four consecutive primes will form a quadrilateral. If such quadrilaterals are configured to be cyclic they will have maximal area. This sequence comprises the integer part of these maximal areas.
Proof: Given 4 consecutive odd primes a, b, c, d with a < b < c < d we only have to prove that a+b+c > d for a quadrilateral to exist. However we know that 3 consecutive odd primes will form a triangle hence a+b > c and a+b+c > 2c and by Bertrand's postulate there exists a prime d such that c < d < 2c so a+b+c > d. By induction this can be extended such that n consecutive primes will always form an n-gon.
LINKS
FORMULA
The area K of a cyclic quadrilateral with sides a, b, c, d is given by Brahmagupta's formula K = sqrt((s-a)(s-b)(s-c)(s-d)) where s = (a+b+c+d)/2.
EXAMPLE
a(1)=13 because the area of the cyclic quadrilateral with sides 2,3,5,7 is (1/4)*sqrt((2+3+5-7)(2+3-5+7)(2-3+5+7)(-2+3+5+7)) = 13.699...
MATHEMATICA
lst = {}; Do[{a, b, c, d} = {Prime[n], Prime[n+1], Prime[n+2], Prime[n+3]}; s=(a+b+c+d)/2; A=Sqrt[(s-a)(s-b)(s-c)(s-d)]; AppendTo[lst, IntegerPart@A], {n, 1, 200}]; lst
CROSSREFS
KEYWORD
nonn
AUTHOR
Frank M Jackson, Nov 25 2019
STATUS
approved