OFFSET
0,3
LINKS
Harry J. Smith, Table of n, a(n) for n = 0..500
Index entries for linear recurrences with constant coefficients, signature (10, -45, 120, -210, 252, -210, 120, -45, 10, -1).
FORMULA
a(n) = (n^9 + 9*n^5 + 2*n^3 + 6*n)/18.
a(n) = 10*a(n-1) - 45*a(n-2) + 120*a(n-3) - 210*a(n-4) + 252*a(n-5) - 210*a(n-6) + 120*a(n-7) - 45*a(n-8) + 10*a(n-9) - a(n-10), a(0)=0, a(1)=1, a(2)=46, a(3)=1219, a(4)=15084, a(5)=110085, a(6)=563786, a(7)=2250311, a(8)=7472984, a(9)=21552969. - Harvey P. Dale, Nov 23 2011
G.f.: x*(1 + 36*x + 804*x^2 + 4844*x^3 + 8790*x^4 + 4844*x^5 + 804*x^6 + 36*x^7 + x^8)/(1-x)^10. - Colin Barker, Jan 29 2012
MATHEMATICA
Table[(n^9+9n^5+2n^3+6*n)/18, {n, 0, 30}] (* or *) LinearRecurrence[ {10, -45, 120, -210, 252, -210, 120, -45, 10, -1}, {0, 1, 46, 1219, 15084, 110085, 563786, 2250311, 7472984, 21552969}, 30] (* Harvey P. Dale, Nov 23 2011 *)
PROG
(PARI) a(n)={(n^9 + 9*n^5 + 2*n^3 + 6*n)/18} \\ Harry J. Smith, Jul 07 2009
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Apr 12 2001
STATUS
approved