OFFSET
0,3
COMMENTS
Same as partial sums of (A007306 with initial 1 omitted).
LINKS
Michael De Vlieger, Table of n, a(n) for n = 0..3000
Julien Leroy, Michel Rigo, and Manon Stipulanti, Behavior of Digital Sequences Through Exotic Numeration Systems, Electronic Journal of Combinatorics 24(1) (2017), #P1.44.
Julien Leroy, Michel Rigo, and Manon Stipulanti, Counting Subwords Occurrences in Base-b Expansions, arXiv:1705.10065 [math.CO], 2017.
Julien Leroy, Michel Rigo, and Manon Stipulanti, Counting Subwords Occurrences in Base-b Expansions, Integers, Electronic Journal of Combinatorial Number Theory 18A (2018), #A13.
Manon Stipulanti, Convergence of Pascal-Like Triangles in Parry-Bertrand Numeration Systems, arXiv:1801.03287 [math.CO], 2018.
MATHEMATICA
Accumulate@ Prepend[Array[Sum[Mod[Binomial[# + k - 1, 2 k], 2], {k, 0, #}] &, 53], 0] (* Michael De Vlieger, Sep 04 2018, after Jean-François Alcover at A007306 *)
PROG
(PARI) f(n) = n--; sum(k=0, n, binomial(n+k, n-k)%2);
a(n) = sum(k=0, n, f(k)); \\ Michel Marcus, Oct 29 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Mar 03 2017
STATUS
approved