OFFSET
0,3
COMMENTS
Gives the even terms, all the odd terms are 0.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (2,4,8,32).
FORMULA
G.f.: (12*x^4+6*x^3+2*x^2+2*x-1) / ((4*x-1) * (2*x+1) * (4*x^2+1)).
MATHEMATICA
CoefficientList[Series[(12*x^4+6*x^3+2*x^2+2*x-1)/((4*x-1)*(2*x+1)*(4*x^2+1)), {x, 0, 40}], x] (* Vincenzo Librandi, Oct 11 2025 *)
PROG
(Magma) m:=35; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!( (12*x^4+6*x^3+2*x^2+2*x-1) / ((4*x-1) * (2*x+1) * (4*x^2+1)))); // Vincenzo Librandi, Oct 11 2025
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Sean A. Irvine, Nov 09 2024
STATUS
approved
