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

A274057
Even numbers n that cannot be written as the difference of two primes, each of which is one of a pair of twin primes, and one of which is < n.
0
2, 112, 114, 116, 364, 366, 368, 394, 396, 398, 484, 486, 488, 694, 696, 698, 934, 936, 938, 1402, 1404, 1406
OFFSET
1,1
COMMENTS
There are no more terms less than 10^5.
There are no more terms less than 10^8. Probably there are no more terms; a Cramér model predicts that the chance of more terms existing is less than 1 in 10^2000. - Charles R Greathouse IV, Jun 17 2016
PROG
(PARI) is(n)=my(p=2); forprime(q=3, n+1, if(q-p!=2, p=q; next); if(isprime(n+p) && (isprime(n+p-2) || isprime(n+p+2)), return(0)); if(isprime(n+q) && (isprime(n+q-2) || isprime(n+q+2)) && q<n, return(0)); p=q); 1 \\ Charles R Greathouse IV, Jun 17 2016
CROSSREFS
Sequence in context: A079840 A231278 A117698 * A281135 A173214 A341782
KEYWORD
nonn
AUTHOR
Thomas Curtright, Jun 08 2016
STATUS
approved