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”).

A145213
Integers of the form : (n plus OR minus 1 = prime) and (n plus OR minus 3 = prime) and (n plus OR minus 5 = prime) ...and (n plus OR minus 11 = prime).
1
2, 6, 14, 16, 22, 68, 1492, 1612, 1868, 3922, 5648, 88808, 122032, 165712, 191452, 223838, 266678, 284738, 326152, 347062, 363368, 402758, 418342, 421702, 626618, 661102, 783788, 855728, 911168, 914362, 959468, 997102, 1022512, 1030028
OFFSET
1,1
MATHEMATICA
lst={}; Do[If[(PrimeQ[n-1]||PrimeQ[n+1])&&(PrimeQ[n-3]||PrimeQ[n+3])&&(PrimeQ[n-5]||PrimeQ[n+5])&&(PrimeQ[n-7]||PrimeQ[n+7])&&(PrimeQ[n-9]||PrimeQ[n+9])&&(PrimeQ[n-11]||PrimeQ[n+11]), AppendTo[lst, n]], {n, 10!}]; lst
CROSSREFS
Sequence in context: A293654 A128660 A212719 * A050859 A245289 A065196
KEYWORD
nonn
AUTHOR
STATUS
approved