OFFSET
1,2
COMMENTS
Odd n such that for all 2^k < n the numbers n + 2^k and n - 2^k are composite.
PROG
(Magma) lst:=[]; for n in [1..27437 by 2] do t:=0; k:=0; while 2^k lt n do if IsPrime(n-2^k) or IsPrime(n+2^k) then t:=1; break; end if; k+:=1; end while; if IsZero(t) then Append(~lst, n); end if; end for; lst;
CROSSREFS
KEYWORD
nonn
AUTHOR
Arkadiusz Wesolowski, Mar 12 2015
STATUS
approved