login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A118958 Primes that cannot be written as 2^k + p with p prime < 2^k. 5
2, 3, 5, 17, 31, 41, 47, 53, 59, 73, 79, 89, 97, 103, 109, 113, 127, 137, 149, 163, 167, 173, 179, 191, 193, 197, 223, 227, 233, 239, 251, 257, 271, 277, 281, 283, 307, 311, 313, 331, 337, 347, 349, 367, 373, 379, 389, 397, 401, 409, 421, 431, 433, 439, 443 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
A118953(A049084(a(n))) = 0; A065381 is a subsequence.
LINKS
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
Sequence in context: A349678 A029972 A077498 * A259596 A189536 A163588
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, May 07 2006
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 17 08:05 EDT 2024. Contains 371756 sequences. (Running on oeis4.)