OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (2,0,-1,1).
FORMULA
a(n) = 2*a(n-1) - a(n-3) + a(n-4).
G.f.: (1-2x^2+x^3)/(1-2x+x^3-x^4). - Ralf Stephan, Mar 11 2003
Asymptotic to b*c^n, with b=0.617072414.., c=1.8667604.. - Ralf Stephan, Mar 11 2003
MATHEMATICA
LinearRecurrence[{2, 0, -1, 1}, {1, 2, 2, 4}, 40] (* Harvey P. Dale, Sep 03 2018 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved