OFFSET
0,8
COMMENTS
Run length transform of Narayana's cows sequence (A000930).
LINKS
Chai Wah Wu, Table of n, a(n) for n = 0..10000
Chai Wah Wu, Sums of products of binomial coefficients mod 2 and run length transforms of sequences, arXiv:1610.06166 [math.CO], 2016.
PROG
(PARI) a(n) = sum(k=0, n, (binomial(n-k, 6*k)*binomial(n, k)) % 2); \\ Michel Marcus, Feb 08 2020
(Python)
def A329720(n): return sum(int(not (~(n-k) & 6*k) | (~n & k)) for k in range(n+1)) # Chai Wah Wu, Sep 28 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Chai Wah Wu, Nov 19 2019
STATUS
approved