OFFSET
0,2
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..2500 (first 500 terms from R. H. Hardin)
Index entries for linear recurrences with constant coefficients, signature (2,0,-1,-1,1).
FORMULA
G.f.: (x^5-x^3-1)/((x^3+x^2-1)*(x-1)^2). - R. J. Mathar, Jan 19 2011
MATHEMATICA
LinearRecurrence[{2, 0, -1, -1, 1}, {1, 2, 4, 8, 13, 20}, 44] (* Harvey P. Dale, Apr 13 2016; amended for offset 0 by Georg Fischer, Apr 03 2019 *)
PROG
(PARI) x='x+O('x^44); Vec((x^5-x^3-1)/((x^3+x^2-1)*(x-1)^2)) \\ Georg Fischer, Apr 03 2019
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
R. H. Hardin, Aug 14 2009
EXTENSIONS
Edited by Alois P. Heinz, Oct 27 2017
STATUS
approved