OFFSET
0,13
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (0,0,1,0,1,0,0,-1,0,0,0,1,0,0,-1,0,-1,0,0,1).
MAPLE
seq(coeff(series(1/((1-x^3)*(1-x^5)*(1-x^12)), x, n+1), x, n), n = 0..100); # G. C. Greubel, Oct 13 2019
MATHEMATICA
CoefficientList[Series[1/((1 - x^3) (1 - x^5) (1 - x^12)), {x, 0, 100}], x] (* Wesley Ivan Hurt, Apr 25 2017 *)
PROG
(PARI) my(x='x+O('x^100)); Vec(1/((1-x^3)*(1-x^5)*(1-x^12))) \\ G. C. Greubel, Oct 13 2019
(Magma) R<x>:=PowerSeriesRing(Integers(), 100); Coefficients(R!( 1/((1-x^3)*(1-x^5)*(1-x^12)) )); // G. C. Greubel, Oct 13 2019
(Sage)
def A025840_list(prec):
P.<x> = PowerSeriesRing(ZZ, prec)
return P(1/((1-x^3)*(1-x^5)*(1-x^12))).list()
A025840_list(100) # G. C. Greubel, Oct 13 2019
(GAP) a:=[1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 2, 1, 1, 3, 1, 2, 3, 1];; for n in [21..100] do a[n]:=a[n-3]+a[n-5]-a[n-8]+a[n-12]-a[n-15]-a[n-17]+a[n-20]; od; a; # G. C. Greubel, Oct 13 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved