OFFSET
0,5
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Pieter Moree, The formal series Witt transform, Discr. Math. no. 295 vol. 1-3 (2005) 143-160.
Index entries for linear recurrences with constant coefficients, signature (6,-15,23,-33,51,-64,63,-63,64,-51,33,-23,15,-6,1).
FORMULA
MATHEMATICA
CoefficientList[Series[3*x^4*(1-x+3*x^2-x^3+x^4)/((1-x)^9*(1+x+x^2)^3), {x, 0, 40}], x] (* Vincenzo Librandi, Dec 13 2012 *)
PROG
(Magma) R<x>:=PowerSeriesRing(Integers(), 30); [0, 0, 0, 0] cat Coefficients(R!( 3*x^4*(1-x+3*x^2-x^3+x^4)/((1-x)^9*(1+x+x^2)^3) )); // G. C. Greubel, Oct 24 2022
(SageMath)
def A147618_list(prec):
P.<x> = PowerSeriesRing(ZZ, prec)
return P( 3*x^4*(1-x+3*x^2-x^3+x^4)/((1-x)^9*(1+x+x^2)^3) ).list()
A147618_list(30) # G. C. Greubel, Oct 24 2022
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
R. J. Mathar, Nov 08 2008
STATUS
approved