login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A118952 Characteristic function of numbers that can be written as p+2^k, where p is prime and p less than 2^k (A118957). 4
0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

0 <= a(n) <= 1, a(n) <= A109925(n);

a(A118956(n)) = 0, a(A118957(n)) = 1;

A118953(n) = a(A000040(n)).

LINKS

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

Index entries for characteristic functions

CROSSREFS

Sequence in context: A288665 A011759 A316345 * A011668 A236192 A011670

Adjacent sequences:  A118949 A118950 A118951 * A118953 A118954 A118955

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 November 21 12:11 EST 2019. Contains 329370 sequences. (Running on oeis4.)