OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (7, -19, 25, -16, 4).
FORMULA
G.f.: (-1 - 10*x^4 + 6*x^3 - x^2 + 2*x)/((2*x-1)^2*(x-1)^3). - Maksym Voznyy (voznyy(AT)mail.ru), Aug 14 2009
a(n) = 7*a(n-1) - 19*a(n-2) + 25*a(n-3) - 16*a(n-4) + 4*a(n-5); a(0)=1, a(1)=5, a(2)=17, a(3)=43, a(4)=97. - Harvey P. Dale, Dec 06 2012
MATHEMATICA
Table[n 2^n+2n^2+1, {n, 0, 30}] (* or *) LinearRecurrence[{7, -19, 25, -16, 4}, {1, 5, 17, 43, 97}, 30] (* Harvey P. Dale, Dec 06 2012 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved