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!)
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

%I #6 Mar 30 2012 18:50:54

%S 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,

%T 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,

%U 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

%N Characteristic function of numbers that can be written as p+2^k, where p is prime and p less than 2^k (A118957).

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

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

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

%H <a href="/index/Ch#char_fns">Index entries for characteristic functions</a>

%K nonn

%O 1,1

%A _Reinhard Zumkeller_, May 07 2006

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 March 28 22:04 EDT 2024. Contains 371254 sequences. (Running on oeis4.)