OFFSET
0,3
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Olivier Carton, Jean-Michel Couvreur, Martin Delacourt, and Nicolas Ollinger, Linear Recurrence Sequence Automata and the Addition of Abstract Numeration Systems, 15th Int'l Conf. Comb. Words (WORDS 2025) Lecture Notes Comp. Sci. (LNCS Vol. 15729) 70-82. See p. 71.
Index entries for linear recurrences with constant coefficients, signature (3,-1,1).
FORMULA
G.f. : (1-x)^2/(1-3*x+x^2-x^3).
a(n) = Sum_{k=0..floor(n/2)} binomial(n+k, 3*k) * 2^k.
MATHEMATICA
CoefficientList[Series[(1 - x)^2/(1 - 3 x + x^2 - x^3), {x, 0, 50}], x] (* G. C. Greubel, Mar 03 2017 *)
PROG
(PARI) my(x='x+O(x^50)); Vec((1-x)^2/(1-3*x+x^2-x^3)) \\ G. C. Greubel, Mar 03 2017
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Aug 30 2004
STATUS
approved
