OFFSET
1,1
COMMENTS
A174915 gives lesser of twin primes in this sequence.
Values of p+2*q are in A094105. [Zak Seidov, Sep 07 2012]
LINKS
Zak Seidov, Table of n, a(n) for n = 1..1000
EXAMPLE
3 and 5 are consecutive primes, and 3+2*5 = 13 is prime. Hence 3 is in the sequence.
59 and 61 are consecutive primes, and 59+2*61 = 181 is prime. Hence 59 is in the sequence.
MATHEMATICA
p = 3; Reap[Do[q = NextPrime[p]; If[PrimeQ[p + 2 q], Sow[p]]; p = q, {10^3}]][[2, 1]] (* Zak Seidov, Oct 14 2012 *)
PROG
(Magma) [p: p in PrimesUpTo(1200) | IsPrime(p+2*NextPrime(p))]; // Klaus Brockhaus, Dec 06 2010
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Dec 05 2010
STATUS
approved