OFFSET
0,5
COMMENTS
Number of compositions of n into parts p where 2 <= p < = 7. [Joerg Arndt, Jun 24 2013]
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (0,1,1,1,1,1,1)
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
KEYWORD
nonn,easy
AUTHOR
STATUS
approved