|
|
A135923
|
|
(n^8 - 60*n^6 + 90*n^5 + 1160*n^4 - 3204*n^3 - 5349*n^2 + 26586*n - 23760)/24.
|
|
1
|
|
|
0, 35, 1430, 13941, 75205, 289800, 897165, 2379300, 5620846, 12135825, 24377000, 46145495, 83119995, 143526526, 238971495, 385462350, 604641900, 925264015, 1384940106, 2032187465, 2928812225, 4152661380, 5800779985, 7993011336, 10876079610, 14628196125
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
3,2
|
|
LINKS
|
|
|
FORMULA
|
a(n) = (n-3)*(n+6)*(n^6-3*n^5-33*n^4+135*n^3+161*n^2-1257*n+1320)/24 .
a(n)=9*a(n-1)-36*a(n-2)+ 84*a(n-3)-126*a(n-4)+126*a(n-5)-84*a(n-6)+36*a(n-7)-9*a(n-8)+a(n-9), n>=12 [Harvey P. Dale, Oct 20 2011]
G.f.: x^4*(-10*x^7 +279*x^6 -1071*x^5 +879*x^4 +1724*x^3 -2331*x^2 -1115*x - 35)/(x-1)^9 [Harvey P. Dale, Oct 20 2011]
|
|
MATHEMATICA
|
Table[(n^8-60n^6+90n^5+1160n^4-3204n^3-5349n^2+26586n-23760)/24, {n, 3, 30}] (* or *) LinearRecurrence[{9, -36, 84, -126, 126, -84, 36, -9, 1}, {0, 35, 1430, 13941, 75205, 289800, 897165, 2379300, 5620846}, 30] (* Harvey P. Dale, Oct 20 2011 *)
|
|
PROG
|
(Python)
from itertools import islice
....m = [1680, -840, -1380, -240, 641, 393, -209, -10, 0]
....yield m[-1]
....while True:
........for i in range(8):
............m[i+1]+= m[i]
........yield m[-1]
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|