OFFSET
1,1
COMMENTS
Conjecture: The triples (3,5,11), (5,11,17), (11,17,31) are the only consecutive PIP triples that cannot form a triangle.
FORMULA
A prime index is the numerical position of a prime number in the sequence of prime numbers. A Prime-Indexed Prime (PIP) is a prime number whose index is also prime. A Prime-Indexed Prime triangle is a triangle whose sides are Prime-Indexed Primes.
EXAMPLE
The first set of consecutive PIPs that produces a triangle, 17, 31 and 41, produces the 17 X 31 X 41 unit triangle whose area is 240.462... square units.
MATHEMATICA
ar[n_]:=Module[{a=First[n], b=n[[2]], c=Last[n], s}, s=Total[{a, b, c}]/2; Sqrt[s(s-a)(s-b)(s-c)]]; Floor[ar[#]]&/@Partition[Select[Prime[ Range[6, 200]], PrimeQ[PrimePi[#]]&], 3, 1] (* Harvey P. Dale, Jun 29 2011 *)
PROG
(PARI) area(n) = for(x=1, n, a=prime(prime(x)); b=prime(prime(x+1)); c=prime(prime(x+2)); if(a+b<=c, p=a+b+c; y =1/4*sqrt(p*(p-2*a)*(p-2*b)*(p-2*c)); print1(floor(y)", ")))
CROSSREFS
KEYWORD
nonn
AUTHOR
Cino Hilliard, Jul 28 2006
STATUS
approved