OFFSET
2,1
EXAMPLE
Not 5 because 7 and 13 are prime, but 6 because neither 9 nor 15 are primes.
MATHEMATICA
Select[Range[200], NoneTrue[2#+{3, -3}, PrimeQ]&] (* The program uses the NoneTrue function from Mathematica version 10 *) (* Harvey P. Dale, Nov 12 2014 *)
PROG
(PARI) isok(n) = !isprime(2*n-3) && !isprime(2*n+3) \\ Michel Marcus, Jul 11 2013
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
W. Neville Holmes, Jul 11 2007
EXTENSIONS
Missing term 24 added by Michel Marcus, Jul 11 2013
STATUS
approved