OFFSET
4,2
COMMENTS
3*a(n) is total number of parts of multiplicity 1 in all compositions of n into 3 parts. - Vladeta Jovovic, Apr 27 2006
LINKS
A. Knopfmacher and H. Prodinger, On Carlitz compositions, European Journal of Combinatorics, Vol. 19, 1998, pp. 579-589.
Index entries for linear recurrences with constant coefficients, signature (1,1,0,-1,-1,1).
FORMULA
G.f. x^4*(1+4*x^2-3*x^3+4*x^4)/((1-x^6)*(1-x)^2).
MATHEMATICA
Drop[CoefficientList[Series[x^4(1+4x^2-3x^3+4x^4)/((1-x^6)(1-x)^2), {x, 0, 60}], x], 4] (* or *) LinearRecurrence[{1, 1, 0, -1, -1, 1}, {1, 2, 7, 9, 15, 21}, 60] (* Harvey P. Dale, May 13 2018 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Christian G. Bower, Apr 29 2005
STATUS
approved