OFFSET
0,10
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..3528
Index entries for linear recurrences with constant coefficients, signature (8,-28,56,-70,56,-28,8,-1,1).
FORMULA
G.f.: (1-x)^7/((1-x)^8 - x^9).
a(n) = 8*a(n-1) - 28*a(n-2) + 56*a(n-3) - 70*a(n-4) + 56*a(n-5) - 28*a(n-6) + 8*a(n-7) - a(n-8) + a(n-9) for n > 8.
a(n) = A017867(8*n).
MATHEMATICA
a[n_] := Sum[Binomial[k, 8*(n-k)], {k, 0, n}]; Array[a, 38, 0] (* Amiram Eldar, Jun 21 2021 *)
PROG
(PARI) {a(n) = sum(k=0, n, binomial(k, 8*(n-k)))}
(PARI) N=66; x='x+O('x^N); Vec((1-x)^7/((1-x)^8-x^9))
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Mar 07 2019
STATUS
approved