OFFSET
0,3
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (1,2,-1,-2,-1,3,0,-3,1,2,1,-2,-1,1).
FORMULA
G.f.: 1/((1-x)*(1-x^2)^2*(1-x^3)*(1-x^6)).
a(n) = a(n-1) + 2*a(n-2) - a(n-3) - 2*a(n-4) - a(n-5) + 3*a(n-6) - 3*a(n-8) + a(n-9) + 2*a(n-10) + a(n-11) - 2*a(n-12) - a(n-13) + a(n-14). - Wesley Ivan Hurt, May 24 2024
MATHEMATICA
CoefficientList[Series[1/((1-x)(1-x^3)(1-x^6)(1-x^2)^2), {x, 0, 100}], x] (* Jinyuan Wang, Mar 15 2020 *)
PROG
(PARI) a(n) = polcoeff(1/((1-x)*(1-x^2)^2*(1-x^3)*(1-x^6)+x*O(x^n)), n);
(Magma)
R<x>:=PowerSeriesRing(Integers(), 60); Coefficients(R!( 1/((1-x)*(1-x^2)^2*(1-x^3)*(1-x^6)) )); // G. C. Greubel, May 26 2024
(Sage)
def A069183_list(prec):
P.<x> = PowerSeriesRing(ZZ, prec)
return P( 1/((1-x)*(1-x^2)^2*(1-x^3)*(1-x^6)) ).list()
A069183_list(60) # G. C. Greubel, May 26 2024
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Rick L. Shepherd, Apr 10 2002
STATUS
approved