login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A013984
Expansion of 1/(1-x^2-x^3-x^4-x^5-x^6-x^7).
4
1, 0, 1, 1, 2, 3, 5, 8, 12, 20, 31, 50, 79, 126, 200, 318, 506, 804, 1279, 2033, 3233, 5140, 8173, 12995, 20662, 32853, 52236, 83056, 132059, 209975, 333861, 530841, 844040, 1342028, 2133832, 3392804, 5394577
OFFSET
0,5
COMMENTS
Number of compositions of n into parts p where 2 <= p < = 7. [Joerg Arndt, Jun 24 2013]
MATHEMATICA
CoefficientList[Series[1 / (1 - x^2 - x^3 - x^4 - x^5 - x^6 - x^7), {x, 0, 40}], x] (* Vincenzo Librandi, Jun 23 2013 *)
PROG
(PARI) Vec(1/(1-x^2-x^3-x^4-x^5-x^6-x^7)+O(x^99)) \\ Charles R Greathouse IV, Sep 25 2012
(Magma) m:=40; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!(1/(1-x^2-x^3-x^4-x^5-x^6-x^7))); // Vincenzo Librandi, Jun 24 2013
CROSSREFS
Sequence in context: A352476 A205476 A170805 * A107479 A117761 A274376
KEYWORD
nonn,easy
AUTHOR
STATUS
approved