OFFSET
0,4
COMMENTS
Number of partitions of n into parts 1, 3, 7, and 11. - Joerg Arndt, May 19 2014
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,0,1,-1,0,0,1,-1,0,-1,2,-1,0,-1,1,0,0,-1,1,0,1,-1).
MATHEMATICA
CoefficientList[Series[1/((1-x)(1-x^3)(1-x^7)(1-x^11)), {x, 0, 90}], x] (* Jinyuan Wang, Mar 24 2020 *)
LinearRecurrence[{1, 0, 1, -1, 0, 0, 1, -1, 0, -1, 2, -1, 0, -1, 1, 0, 0, -1, 1, 0, 1, -1}, {1, 1, 1, 2, 2, 2, 3, 4, 4, 5, 6, 7, 8, 9, 11, 12, 13, 15, 17, 18, 20, 23}, 60] (* Harvey P. Dale, Aug 28 2022 *)
PROG
(PARI) a(n)=floor((n^3+33*n^2+318*n+1494)/1386+[2, 1, -1, 0, 1, -1, -2][n%7+1]/7) \\ Tani Akinari, May 18 2014
(PARI) Vec(1/((1-x)*(1-x^3)*(1-x^7)*(1-x^11))+O(x^100)) \\ Michel Marcus, May 19 2014
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved