OFFSET
0,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (0, 5, 0, -5).
FORMULA
MATHEMATICA
CoefficientList[Series[(1+x)(1+2x)(1-x)/(1-5x^2+5x^4), {x, 0, 50}], x] (* or *) LinearRecurrence[{0, 5, 0, -5}, {1, 2, 4, 8}, 50] (* Harvey P. Dale, Jan 11 2026 *)
PROG
(PARI) Vec((1+x)*(1+2*x)*(1-x)/(1-5*x^2+5*x^4)+O(x^66)) /* Joerg Arndt, Mar 29 2013 */
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Philippe Deléham, Mar 24 2013
EXTENSIONS
Corrected name (g.f.), Joerg Arndt, Mar 29 2013
STATUS
approved
