OFFSET
0,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (5, -10, 10, -5, 1).
FORMULA
a(n)=A008488(n+1). [From R. J. Mathar, Aug 07 2008]
a(0)=6, a(1)=21, a(2)=56, a(3)=126, a(4)=252, a(n)=5a(n-1)-10a(n-2)+ 10a(n-3)-5a(n-4)+a(n-5) [From Harvey P. Dale, May 04 2011]
G.f.: (-6 + 9 x - 11 x^2 + 4 x^3 - 2 x^4)/(-1 + x)^5 [From Harvey P. Dale, May 04 2011]
MAPLE
[seq(binomial(n+6, 5)-binomial(n, 5), n=0..45)];
MATHEMATICA
Table[Binomial[n+6, 5]-Binomial[n, 5], {n, 0, 40}] (* or *) LinearRecurrence[ {5, -10, 10, -5, 1}, {6, 21, 56, 126, 252}, 40] (* Harvey P. Dale, May 04 2011 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Zerinvary Lajos, Jul 21 2006
STATUS
approved