OFFSET
0,3
COMMENTS
Conjecture: g.f. = (x+2*x^2-3*x^3)/(1-2*x+x^3-x^4) - Harvey P. Dale, Jun 15 2019
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
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); 4 initial terms required.
MATHEMATICA
LinearRecurrence[{2, 0, -1, 1}, {0, 1, 4, 5}, 50] (* Harvey P. Dale, Jun 15 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved