|
|
A017848
|
|
Expansion of 1/(1-x^6-x^7-x^8).
|
|
1
|
|
|
1, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 2, 3, 2, 1, 0, 1, 3, 6, 7, 6, 3, 2, 4, 10, 16, 19, 16, 11, 9, 16, 30, 45, 51, 46, 36, 36, 55, 91, 126, 142, 133, 118, 127, 182, 272, 359, 401, 393, 378, 427, 581, 813, 1032, 1153, 1172
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,14
|
|
COMMENTS
|
Number of compositions of n into parts 6, 7, and 8. [Joerg Arndt, Jun 27 2013]
|
|
LINKS
|
|
|
FORMULA
|
|
|
MATHEMATICA
|
CoefficientList[Series[1 / (1 - Total[x^Range[6, 8]]), {x, 0, 60}], x] (* Vincenzo Librandi, Jun 27 2013 *)
|
|
PROG
|
(Magma) m:=70; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!(1/(1-x^6-x^7-x^8))); /* or */ I:=[1, 0, 0, 0, 0, 0, 1, 1]; [n le 8 select I[n] else Self(n-6)+Self(n-7)+Self(n-8): n in [1..70]]; // Vincenzo Librandi, Jun 27 2013
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|