OFFSET
0,3
COMMENTS
Sequence gives terms for n = 0 (mod 3), all other terms are 0.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (7,-19,189,216).
FORMULA
G.f.: (36*x^4+99*x^3-14*x^2+6*x-1) / ((8*x-1) * (x+1) * (27*x^2+1)).
a(n) = Sum_{k=0..floor(n/2)} binomial(3*n,6*k). - Seiichi Manyama, Sep 10 2025
MATHEMATICA
CoefficientList[Series[(36*x^4+99*x^3-14*x^2+6*x-1)/((8*x-1)*(x+1)*(27*x^2+1)), {x, 0, 30}], x] (* Vincenzo Librandi, Oct 09 2025 *)
PROG
(Magma) m:=30; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!( (36*x^4+99*x^3-14*x^2+6*x-1) / ((8*x-1) * (x+1) * (27*x^2+1)))); // Vincenzo Librandi, Oct 09 2025
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Sean A. Irvine, Nov 14 2024
STATUS
approved
