OFFSET
0,3
COMMENTS
Column k=3 of A238888.
Also the number of compositions of n into m sorts of k's, where m=1 if k=1,2,3, m=2 if k>6 and m=3 if k=4,5,6. - Beimar Naranjo, Mar 05 2024
LINKS
Joerg Arndt and Alois P. Heinz, Table of n, a(n) for n = 0..1000
FORMULA
G.f.: -(x-1)/(x^7-2*x^4-2*x+1).
MAPLE
gf:= -(x-1)/(x^7-2*x^4-2*x+1):
a:= n-> coeff(series(gf, x, n+1), x, n):
seq(a(n), n=0..40);
MATHEMATICA
CoefficientList[Series[(1 - x)/(x^7 - 2 x^4 - 2 x + 1), {x, 0, 50}], x] (* Vincenzo Librandi, Mar 12 2014 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Joerg Arndt and Alois P. Heinz, Mar 10 2014
STATUS
approved