cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A229002 Total sum of the n-th powers of lengths of ascending runs in all permutations of [n].

This page as a plain text file.
%I A229002 #9 Sep 11 2013 20:19:44
%S A229002 0,1,6,66,1110,25620,765506,28544040,1293790126,69860663220,
%T A229002 4422094936842,323816329558128,27127369640967206,2575241880204602700,
%U A229002 274755427187762475922,32708158728316937527944,4316964980670466411606110,628131523035069583394938980
%N A229002 Total sum of the n-th powers of lengths of ascending runs in all permutations of [n].
%H A229002 Alois P. Heinz, <a href="/A229002/b229002.txt">Table of n, a(n) for n = 0..200</a>
%F A229002 a(n) = Sum_{k=1..n} k^n * A122843(n,k).
%p A229002 a:= n-> add(`if`(n=k, 1, n!/(k+1)!*(k*(n-k+1)+1
%p A229002         -((k+1)*(n-k)+1)/(k+2)))*k^n, k=1..n):
%p A229002 seq(a(n), n=1..20);
%Y A229002 Main diagonal of A229001.
%K A229002 nonn
%O A229002 0,3
%A A229002 _Alois P. Heinz_, Sep 10 2013