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,1,1,0,-1).
FORMULA
G.f.: (x+1)*(x^2+1)/(x^5-x^3-x^2-x+1). - R. J. Mathar, Nov 28 2011
a(n) = 2^n for n<4, a(4)=14, a(5)=25, a(6)=45, a(7)=80, a(8)=142, a(n)=a(n-1)+a(n-2)+a(n-3)-a(n-5). - Harvey P. Dale, Feb 15 2013
MATHEMATICA
LinearRecurrence[{1, 1, 1, 0, -1}, {14, 25, 45, 80, 142}, 40] (* Harvey P. Dale, Feb 15 2013 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
R. H. Hardin, Aug 14 2009
EXTENSIONS
Edited by Alois P. Heinz, Oct 11 2017
STATUS
approved