OFFSET
0,3
COMMENTS
Number of partitions of n into parts 1, 2, 6, and 7. - Michel Marcus, Oct 27 2014
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (1,1,-1,0,0,1,0,-2,0,1,0,0,-1,1,1,-1).
MATHEMATICA
CoefficientList[Series[1/((1 - x) (1 - x^2) (1 - x^6) (1 - x^7)), {x, 0, 60}], x] (* Vincenzo Librandi, Oct 27 2014 *)
PROG
(PARI) a(n)=round((n+8)*(2*n^2+32*n+83+21*(-1)^n)/1008+(1-n%3)*(1-3*(-1)^n)/18) \\ Tani Akinari, Oct 27 2014
(Magma) [Round((n+8)*(2*n^2+32*n+83+21*(-1)^n)/1008+(1-n mod 3)*(1-3*(-1)^n)/18): n in [0..60]]; // Vincenzo Librandi, Oct 27 2014
(PARI) Vec(1/((1-x)*(1-x^2)*(1-x^6)*(1-x^7)) + O(x^30)) \\ Michel Marcus, Oct 27 2014
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved