login
Binomial row sums of triangle A191490.
2

%I #8 Mar 30 2012 18:55:30

%S 1,2,7,36,245,2071,20813,241344,3161473,46056783,737269244,

%T 12845501191,241719339485,4881205089541,105209993413879,

%U 2409362123140160,58389484394798549,1492265790284314961,40096619357257356256,1129638216589178869291

%N Binomial row sums of triangle A191490.

%H Vincenzo Librandi, <a href="/A191493/b191493.txt">Table of n, a(n) for n = 0..64</a>

%t f[n_, k_] := f[n, k] = f[n - 1, k] + (n - 1)f[n - 1, k - 1] + If[n == k, 1, 0]

%t f[_, 0] = 1;

%t f[0, _] = 0;

%t Table[Sum[Binomial[n, k]f[n, k], {k, 0, n}], {n, 0, 100}]

%o (Maxima) P[0]:1$

%o P[n]:=(1+(n-1)*q)*P[n-1]+q^n$

%o makelist(sum(binomial(n,k)*coeff(expand(P[n]),q^k),k,0,n),n,0,24);

%Y Cf. A191490.

%K nonn

%O 0,2

%A _Emanuele Munarini_, Jun 03 2011