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!)
A118956 Numbers that cannot be written as 2^k + p with p prime < 2^k. 3
1, 2, 3, 4, 5, 8, 9, 12, 14, 16, 17, 20, 22, 24, 25, 26, 28, 30, 31, 32, 33, 36, 38, 40, 41, 42, 44, 46, 47, 48, 50, 52, 53, 54, 56, 57, 58, 59, 60, 62, 64, 65, 68, 70, 72, 73, 74, 76, 78, 79, 80, 82, 84, 85, 86, 88, 89, 90, 91, 92, 94, 96, 97, 98, 99, 100, 102, 103, 104, 106 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
A118952(a(n)) = 0, complement of A118957;
A118954 is a subsequence.
LINKS
MATHEMATICA
nn=15; Complement[Range[nn^2], Flatten[Table[c=2^n; c+Prime[ Range[ PrimePi[ c]]], {n, 2, nn}]]] (* Harvey P. Dale, Sep 14 2012 *)
CROSSREFS
Sequence in context: A242175 A325662 A275771 * A372586 A109850 A008749
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 August 25 12:12 EDT 2024. Contains 375439 sequences. (Running on oeis4.)