login
A185012
Characteristic function of two.
13
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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
OFFSET
0,1
COMMENTS
The Euler transformation of this sequence is A059841.
This sequence is the first differences of A157928.
PROG
(Python)
def A185012(n): return int(n==2) # Chai Wah Wu, Feb 04 2022
CROSSREFS
Cf. A171386.
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).
Sequence in context: A056029 A204547 A072609 * A328794 A185706 A358759
KEYWORD
nonn,easy
AUTHOR
Jason Kimberley, Oct 11 2011
STATUS
approved