OFFSET
0,5
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (0,1,0,1,1,-1,-1,0,-1,0,1,1,0,-1,0,-1,-1,1,1,0,1,0,-1).
FORMULA
MAPLE
M := Matrix(23, (i, j)-> if (i=j-1) or (j=1 and member(i, [2, 4, 5, 11, 12, 18, 19, 21])) then 1 elif j=1 and member(i, [6, 7, 9, 14, 16, 17, 23]) then -1 else 0 fi); a := n -> (M^(n))[1, 1]; seq (a(n), n=0..70); # Alois P. Heinz, Jul 25 2008
MATHEMATICA
CoefficientList[Series[1/((1-x^2)(1-x^4)(1-x^5)(1-x^12)), {x, 0, 70}], x] (* Harvey P. Dale, May 31 2012 *)
PROG
(PARI) a(n)=if(n<-22, -a(-23-n), polcoeff(1/((1-x^2)*(1-x^4)*(1-x^5)*(1-x^12))+x*O(x^n), n))
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved