OFFSET
0,4
REFERENCES
Maribel Díaz Noguera [Maribel Del Carmen Díaz Noguera], Rigoberto Flores, Jose L. Ramirez, and Martha Romero Rojas, Catalan identities for generalized Fibonacci polynomials, Fib. Q., 62:2 (2024), 100-111. See Table 3.
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (3,-3,4).
FORMULA
G.f.: (1-2*x+x^2)/(1-3*x+3*x^2-4*x^3).
a(n) = 3*a(n-1) - 3*a(n-2) + 4*a(n-3).
a(n) = Sum_{k=0..floor(n/3)} binomial(n, 3k) * 3^k.
MATHEMATICA
CoefficientList[Series[(1-x)^2/((1-x)^3-3x^3), {x, 0, 40}], x]
PROG
(PARI) a(n) = sum(k=0, n\3, binomial(n, 3*k) * 3^k); \\ Michel Marcus, Oct 11 2021
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Jul 25 2004
STATUS
approved