|
|
A228996
|
|
Total sum of the 6th powers of lengths of ascending runs in all permutations of [n].
|
|
3
|
|
|
0, 1, 66, 992, 9846, 86782, 765506, 7112202, 71000398, 766053422, 8931231882, 112221527986, 1514394506102, 21867699419238, 336675784490002, 5508056657818442, 95455624774115166, 1747299831395273182, 33693372749353108058, 682771622138237836962
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
LINKS
|
|
|
FORMULA
|
E.g.f.: (exp(x)*(30*x^4+60*x^3+60*x^2-60*x+62)-x-62)/(x-1)^2.
|
|
MAPLE
|
a:= proc(n) option remember; `if`(n<3, [0, 1, 66][n+1],
((30*n^5-225*n^4+690*n^3-975*n^2+512*n+31)*a(n-1)
-(n-1)*(15*n^5-90*n^4+255*n^3-330*n^2+121*n+62)*a(n-2)
+(15*n^6-105*n^5+315*n^4-525*n^3+511*n^2-273*n+62)*a(n-3))/
(15*n^4-120*n^3+375*n^2-540*n+301))
end:
seq(a(n), n=0..30);
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|