login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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
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.
a(n) ~ n! * (152*exp(1)-63)*n. - Vaclav Kotesovec, Sep 12 2013
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
Column k=6 of A229001.
Sequence in context: A056468 A027785 A271757 * A196789 A284283 A168123
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Sep 10 2013
STATUS
approved