OFFSET
0,9
LINKS
Antti Karttunen, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (0, 1, 0, 0, 0, 0, 0, 1, 0, -1, 1, 0, -1, 0, 0, 0, 0, 0, -1, 0, 1).
MATHEMATICA
CoefficientList[Series[1/((1-x^2)(1-x^8)(1-x^11)), {x, 0, 80}], x] (* or *) LinearRecurrence[ {0, 1, 0, 0, 0, 0, 0, 1, 0, -1, 1, 0, -1, 0, 0, 0, 0, 0, -1, 0, 1}, {1, 0, 1, 0, 1, 0, 1, 0, 2, 0, 2, 1, 2, 1, 2, 1, 3, 1, 3, 2, 3}, 80] (* Harvey P. Dale, Jan 05 2023 *)
PROG
(PARI)
up_to = 10000;
A025822list(up_to_n) = { default(seriesprecision, 2+up_to_n); my(s=Ser(1/((1-x^2)*(1-x^8)*(1-x^11))), v=vector(1+up_to_n)); for(n=1, #v, v[n] = polcoeff(s, n-1)); (v); };
v025822 = A025822list(up_to);
A025822(n) = v025822[1+n]; \\ Antti Karttunen, Nov 27 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved