OFFSET
0,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (7,-21,35,-35,21,-7,1).
FORMULA
G.f.: (42-120*x+135*x^2-70*x^3+14*x^4)/(1-x)^7.
a(n)=A115127(n+5, 5), n>=1.
MATHEMATICA
Accumulate[LinearRecurrence[{6, -15, 20, -15, 6, -1}, {42, 132, 297, 572, 1001, 1638}, 40]] (* or *) LinearRecurrence[{7, -21, 35, -35, 21, -7, 1}, {42, 174, 471, 1043, 2044, 3682, 6230}, 40] (* Harvey P. Dale, Feb 22 2024 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Wolfdieter Lang, Jan 13 2006
STATUS
approved