OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
MAPLE
filter:= proc(n) not isprime(n-2^ilog2(n)) end proc:
select(filter, [seq(ithprime(i), i=1..100)]); # Robert Israel, Jan 27 2021
MATHEMATICA
okQ[n_] := !PrimeQ[n-2^(Length[IntegerDigits[n, 2]]-1)];
Select[Prime[Range[100]], okQ] (* Jean-François Alcover, Feb 04 2023 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, May 07 2006
STATUS
approved