OFFSET
0,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (5,-10,10,-5,1).
FORMULA
From Harvey P. Dale, May 21 2012: (Start)
a(n) = 5*a(n-1)- 10*a(n-2)+ 10*a(n-3)-5*a(n-4)+a(n-5).
G.f.: (-71*x^3-201*x^2-63*x-1)/(x-1)^5. (End)
MATHEMATICA
(* From Harvey P. Dale, May 21 2012: (Start) *)
Table[(n+1) (14 n^3+13 n^2+6 n+1), {n, 0, 30}]
LinearRecurrence[ {5, -10, 10, -5, 1}, {1, 68, 531, 2056, 5645}, 30] (* End *)
PROG
(PARI) a(n)=(n+1)*(14*n^3+13*n^2+6*n+1) \\ Charles R Greathouse IV, Oct 21 2022
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved