login
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