OFFSET
0,2
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..2000 (first 500 terms from R. H. Hardin)
Index entries for linear recurrences with constant coefficients, signature (1,0,2,1)
FORMULA
G.f.: -(x+1)*(x^2+1)^2/(x^4+2*x^3+x-1). - R. J. Mathar, Dec 01 2011
MATHEMATICA
LinearRecurrence[{1, 0, 2, 1}, {1, 2, 4, 8, 14, 25}, 50] (* G. C. Greubel, Sep 18 2017; amended for offset 0 by Georg Fischer, Apr 02 2019 *)
PROG
(PARI) x='x+O('x^50); Vec(((x+1)*(x^2+1)^2)/(1-x-2*x^3-x^4)) \\ G. C. Greubel, Sep 18 2017; amended for offset 0 by Georg Fischer, Apr 02 2019
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
R. H. Hardin, Aug 14 2009
EXTENSIONS
Edited by Alois P. Heinz, Oct 11 2017
STATUS
approved