OFFSET
1,1
COMMENTS
Conjecture: For all primes p <= n there is always a lower twin prime L less than n such that p+L+1 is prime.
EXAMPLE
29 is the 9th odd prime. 29+3+1, 29+5+1 are not prime. 29+11+1 is prime, so a(9) = 11 the smallest lower twin prime satisfying the definition for prime 29.
PROG
(PARI) g(n) = ct=0; for(x=2, n, p1=prime(x); for(y=1, n, p2=twinl(y); z=p1+p2+1;
if(isprime(z), ct++; print1(p2", "); break))); ct
CROSSREFS
KEYWORD
nonn
AUTHOR
Cino Hilliard, Nov 21 2008
STATUS
approved