OFFSET
0,3
REFERENCES
D. E. Knuth, The Art of Computer Programming, Vol. 4A, Section 7.1.4.
LINKS
Paolo Xausa, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (3,-3,1,0,1).
FORMULA
G.f.: x*(x-1) / (x^5+x^3-3*x^2+3*x-1). - Colin Barker, Jan 23 2013
MATHEMATICA
LinearRecurrence[{3, -3, 1, 0, 1}, Range[0, 4], 50] (* Paolo Xausa, Mar 17 2024 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Don Knuth, Apr 11 2008
STATUS
approved