1,1

Complement of A062729.

Table of n, a(n) for n=1..71.

36 is included because 36 is divisible by 3 and 3+2 is a prime.

(PARI) isok(n) = {my(f = factor(n)); for (i=1, #f~, p = f[i, 1]; if (isprime(p-2) || isprime(p+2), return (1)); ); return (0); } \\ Michel Marcus, May 20 2014

Sequence in context: A057716 A138591 A136492 * A308468 A213199 A184987

Adjacent sequences: A062503 A062504 A062505 * A062507 A062508 A062509

nonn

Leroy Quet, Jul 09 2001

Offset changed to 1 by Michel Marcus, May 20 2014

approved