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!)
A185012 Characteristic function of two. 13

%I #15 Jan 08 2023 11:32:13

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

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

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

%N Characteristic function of two.

%C The Euler transformation of this sequence is A059841.

%C This sequence is the first differences of A157928.

%o (Python)

%o def A185012(n): return int(n==2) # _Chai Wah Wu_, Feb 04 2022

%Y Cf. A171386.

%Y Characteristic function of g: A000007 (g=0), A063524 (g=1), this sequence (g=2), A185013 (g=3), A185014 (g=4), A185015 (g=5), A185016 (g=6), A185017 (g=7).

%K nonn,easy

%O 0,1

%A _Jason Kimberley_, Oct 11 2011

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 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)