login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A097146 Total sum of maximum list sizes in all sets of lists of n-set, cf. A000262. 3

%I #13 Nov 05 2020 06:41:05

%S 0,1,5,31,217,1781,16501,172915,1998641,25468777,352751941,5292123431,

%T 85297925065,1472161501981,27039872306357,527253067633531,

%U 10865963240550241,236088078855319505,5390956470528548101,129102989125943058607,3234053809095307670201,84596120521251178630981,2305894874979300173268085

%N Total sum of maximum list sizes in all sets of lists of n-set, cf. A000262.

%H Alois P. Heinz, <a href="/A097146/b097146.txt">Table of n, a(n) for n = 0..444</a>

%F E.g.f.: exp(x/(1-x))*Sum_{k>0} (1-exp(x^k/(x-1))).

%e For n=4 we have 73 sets of lists (cf. A000262): (1234) (24 ways), (123)(4) (6*4 ways), (12)(34) (3*4 ways), (12)(3)(4) (6*2 ways), (1)(2)(3)(4) (1 way); so a(4)= 24*4+24*3+12*2+12*2+1*1 = 217.

%p b:= proc(n, m) option remember; `if`(n=0, m, add(j!*

%p b(n-j, max(m, j))*binomial(n-1, j-1), j=1..n))

%p end:

%p a:= n-> b(n, 0):

%p seq(a(n), n=0..25); # _Alois P. Heinz_, May 10 2016

%t b[n_, m_] := b[n, m] = If[n == 0, m, Sum[j! b[n-j, Max[m, j]] Binomial[n-1, j-1], {j, 1, n}]];

%t a[n_] := b[n, 0];

%t a /@ Range[0, 25] (* _Jean-François Alcover_, Nov 05 2020, after _Alois P. Heinz_ *)

%o (PARI)

%o N=50; x='x+O('x^N);

%o egf=exp(x/(1-x))*sum(k=1,N, (1-exp(x^k/(x-1))) );

%o Vec( serlaplace(egf) ) /* show terms */

%Y Cf. A028417, A028418, A046746, A006128, A097145, A097147, A097148.

%K easy,nonn

%O 0,3

%A _Vladeta Jovovic_, Jul 27 2004

%E a(0)=0 prepended by _Alois P. Heinz_, May 10 2016

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 5 14:14 EDT 2024. Contains 375699 sequences. (Running on oeis4.)