login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons 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

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

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 * A109850 A008749 A029000

Adjacent sequences:  A118953 A118954 A118955 * A118957 A118958 A118959

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 8 04:16 EDT 2020. Contains 335504 sequences. (Running on oeis4.)