OFFSET
0,1
LINKS
Colin Barker, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (3,5,1).
FORMULA
a(n) = 3*a(n-1) + 5*a(n-2) + a(n-3).
From Colin Barker, May 22 2012: (Start)
a(n) = (3*(-1)^n+(2-sqrt(5))^n+(2+sqrt(5))^n).
G.f.: (5 - 14*x - 7*x^2) / ((1 + x)*(1 - 4*x - x^2)).
(End)
PROG
(PARI) Vec((5 - 14*x - 7*x^2) / ((1 + x)*(1 - 4*x - x^2)) + O(x^30)) \\ Colin Barker, May 11 2017
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Stephen G Penrice, Dec 19 1999
EXTENSIONS
More terms from James A. Sellers, Dec 20 1999
STATUS
approved