OFFSET
1,1
FORMULA
An ordered 2 prime sided prime triangle is 3 consecutive primes arranged in a triangle of the form p(3n-2) p(3n-1) p(3n ) n=1, 2, .. and sides s1 = p(3n-2) p(3n-1) s2 = p(3n-1) p(3n ) s3 = p(3n-2) p(3n )
EXAMPLE
The first 2 prime sided prime triangle is
2
3 5
sum of sides = (2+3) + (3+5) + (2+5) = 20 the first entry.
PROG
(PARI) sumsidestri3x3(n) = { local(x, j, s); forstep(x=1, n, 3, s = prime(x)+prime(x+1)+prime(x+2); print1(2*s", ") ) }
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Cino Hilliard, Apr 07 2005
STATUS
approved