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!)
A167393 Characteristic function of the range of A000009. 4

%I #7 Nov 03 2015 17:03:10

%S 0,1,1,1,1,1,1,0,1,0,1,0,1,0,0,1,0,0,1,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,

%T 0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,

%U 0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1

%N Characteristic function of the range of A000009.

%C a(A000009(n)) = 1; a(A167377(n)) = 0.

%H Reinhard Zumkeller, <a href="/A167393/b167393.txt">Table of n, a(n) for n = 0..10000</a>

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

%o (Haskell)

%o import Data.List.Ordered (member)

%o a167393 = fromEnum . flip member a000009_list

%o -- _Reinhard Zumkeller_, Nov 03 2015

%Y Cf. A000009, A167377, A167392.

%K nonn

%O 0,1

%A _Reinhard Zumkeller_, Nov 03 2009

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 24 04:14 EDT 2024. Contains 371918 sequences. (Running on oeis4.)