OFFSET
0,8
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (0,2,0,-1,1).
FORMULA
MATHEMATICA
CoefficientList[Series[(1-x^2)/((1-x^2)^2-x^5), {x, 0, 50}], x] (* Vincenzo Librandi, Jan 06 2026 *)
PROG
(PARI) my(A=1, B=1, C=A^2*B, N=1, M=50, x='x+O('x^M), X=1-A*x^2, Y=5); Vec(sum(k=0, N\2, C^k*binomial(N, 2*k)*X^(N-2*k)*x^(Y*k))/(X^2-C*x^Y)^N)
(Magma) m:=50; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!(1-x^2) / ((1-x^2)^2 - x^5)); // Vincenzo Librandi, Jan 06 2026
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Jan 04 2026
STATUS
approved
