editing
approved
editing
approved
CoefficientList[Series[x (1-2x-2x^2)/((1+x)(1-2x)(1-3x)), {x, 0, 30}], x] (* or *) LinearRecurrence[{4, -1, -6}, {0, 1, 2, 5}, 40] (* Harvey P. Dale, May 10 2019 *)
approved
editing
<a href="/index/Rec#order_03">Index to sequences with entries for linear recurrences with constant coefficients</a>, signature (4,-1,-6).
editing
approved
<a href="/index/Rec#order_03">Index to sequences with linear recurrences with constant coefficients</a>, signature (4,-1,-6).
approved
editing
_Paul Barry (pbarry(AT)wit.ie), _, Apr 28 2004
Cf. A087432.
easy,nonn,new
Expansion of x(1-2x-2x^2)/((1+x)(1-2x)(1-3x)).
0, 1, 2, 5, 12, 31, 82, 225, 632, 1811, 5262, 15445, 45652, 135591, 404042, 1206665, 3609072, 10805371, 32372422, 97029885, 290914892, 872395151, 2616486402, 7848061105, 23541387112, 70618568931, 211844521982, 635511196325
0,3
Binomial transform is A085280, with leading zero.
easy,nonn
Paul Barry (pbarry(AT)wit.ie), Apr 28 2004
approved