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 (2,-1,2,-2,0,-1).
FORMULA
G.f.: (x^2+1)/(x^3+x-1)^2. - R. J. Mathar, Nov 30 2011
a(n) = Sum_{i=0..floor((n+1)/2)} (n+1-2i) * C(n+1-2i,i). - Wesley Ivan Hurt, Nov 17 2017
MATHEMATICA
LinearRecurrence[{2, -1, 2, -2, 0, -1}, {14, 24, 41, 68, 111, 180}, 50] (* G. C. Greubel, Sep 19 2017 *)
PROG
(PARI) x='x+O('x^50); Vec((x^2+1)/(x^3+x-1)^2) \\ G. C. Greubel, Sep 19 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
R. H. Hardin, Aug 14 2009
EXTENSIONS
Edited by Alois P. Heinz, Oct 27 2017
STATUS
approved