login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A249676
Terms k of A249667 such that k-A151799(k) = A151800(k)-k.
3
6, 30, 50, 144, 300, 560, 610, 650, 660, 714, 780, 810, 816, 870, 1120, 1176, 1190, 1806, 2130, 2470, 2490, 2550, 2922, 3030, 3240, 3330, 3390, 3480, 3600, 3620, 3840, 4266, 4368, 5796, 5850, 6270, 6786, 6954, 7074, 7710, 8280, 9400, 9990, 10146, 10350, 10380, 10530, 10660, 11064
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