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
KEYWORD
nonn
AUTHOR
Thomas Curtright, Jun 08 2016
STATUS
approved