OFFSET
0,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (2,1,-2,-1).
FORMULA
a(n) = ((29*n+40)*F(n+1)+18*(n+1)*F(n))/5, with F(n) := A000045(n) (Fibonacci).
G.f.: (8+5*x)/(1-x-x^2)^2.
a(0)=8, a(1)=21, a(2)=50, a(3)=105, a(n) = 2*a(n-1)+a(n-2)-2*a(n-3)-a(n-4). - Harvey P. Dale, Apr 07 2012
MATHEMATICA
CoefficientList[Series[(8+5x)/(1-x-x^2)^2, {x, 0, 40}], x] (* or *) LinearRecurrence[{2, 1, -2, -1}, {8, 21, 50, 105}, 40] (* Harvey P. Dale, Apr 07 2012 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Wolfdieter Lang, Feb 15 2002
EXTENSIONS
More terms from Jason Yuen, Aug 27 2025
STATUS
approved
