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!)
A035056 Number of asymmetric forests with n nodes. 4

%I #29 Jul 20 2020 06:44:43

%S 1,1,0,0,0,0,0,1,2,4,9,21,44,96,206,450,981,2159,4757,10571,23563,

%T 52835,118939,269047,610878,1392677,3186001,7313882,16842202,38900699,

%U 90098260,209229601,487077685,1136549747,2657859059,6228447488,14624515804,34402798404

%N Number of asymmetric forests with n nodes.

%D S. R. Finch, Mathematical Constants, Cambridge, 2003, p. 301 and 562.

%H Alois P. Heinz, <a href="/A035056/b035056.txt">Table of n, a(n) for n = 0..1000</a>

%H N. J. A. Sloane, <a href="/transforms.txt">Transforms</a>

%H <a href="/index/Fo#forests">Index entries for sequences related to forests</a>

%F Weigh transform of A000220.

%F a(n) ~ c * d^n / n^(5/2), where d = A246169 = 2.51754035263200389079535..., c = 0.421943694962576031011358... . - _Vaclav Kotesovec_, Aug 25 2014

%p b:= proc(n, i) option remember; `if`(n=0, 1, `if`(i<1, 0,

%p add(binomial(b((i-1)$2), j)*b(n-i*j, i-1), j=0..n/i)))

%p end:

%p g:= n-> b((n-1)$2):

%p h:= proc(n) option remember; g(n)-add(g(i)*g(n-i), i=0..n)/2

%p -`if`(irem(n, 2)=1, 0, g(n/2))/2

%p end:

%p f:= proc(n, i) option remember; `if`(n=0, 1, `if`(i<1, 0,

%p add(binomial(h(i), j)*f(n-i*j, i-1), j=0..n/i)))

%p end:

%p a:= n-> f(n, n):

%p seq(a(n), n=0..40); # _Alois P. Heinz_, May 20 2013

%t b[n_, i_] := b[n, i] = If[n==0, 1, If[i<1, 0, Sum[Binomial[b[i-1, i-1], j]*b[n-i*j, i-1], {j, 0, n/i}]]]; g[n_] := b[n-1, n-1]; h[n_] := h[n] = g[n] - Sum[g[i]*g[n-i], {i, 0, n}]/2 - If[Mod[n, 2]==1, 0, g[n/2]]/2; f[n_, i_] := f[n, i] = If[n==0, 1, If[i<1, 0, Sum[Binomial[h[i], j]*f[n - i*j, i-1], {j, 0, n/i}]]]; a[n_] := f[n, n]; Table[a[n], {n, 0, 40}] (* _Jean-François Alcover_, Feb 21 2016, after _Alois P. Heinz_ *)

%Y Cf. A000220, A004111, A005195, A246169.

%K nonn

%O 0,9

%A _Christian G. Bower_, Oct 15 1998

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 April 24 00:30 EDT 2024. Contains 371917 sequences. (Running on oeis4.)