OFFSET
1,1
EXAMPLE
610 is in A249667: the least prime>610 is 613, and 610+613=1223 is prime; the largest prime<610 is 607, and 610+607=1217 is prime. Also, 613-610=610-607=3, then 610 is in the current sequence.
PROG
(PARI) {for(i=3, 2*10^4, m=nextprime(i+1); k=i+m; n=precprime(i-1); q=i+n; if(isprime(k)&&isprime(q)&&m-i==i-n, print1(i, ", ")))}
CROSSREFS
KEYWORD
nonn
AUTHOR
Antonio Roldán, Dec 03 2014
STATUS
approved