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!)
A000485 Number of partially labeled trees with n nodes (4 of which are labeled).
(Formerly M5008 N2156)
2

%I M5008 N2156 #42 Mar 24 2023 09:04:08

%S 16,125,680,3135,13155,51873,195821,715614,2550577,8911942,30640888,

%T 103951415,348724844,1158722880,3818514232,12493703403,40620949971,

%U 131336770375,422536529249,1353341880777,4317248276746,13722302173753

%N Number of partially labeled trees with n nodes (4 of which are labeled).

%D J. Riordan, An Introduction to Combinatorial Analysis, Wiley, 1958, p. 138.

%D N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).

%D N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

%H Vincenzo Librandi, <a href="/A000485/b000485.txt">Table of n, a(n) for n = 4..1000</a>

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

%F G.f.: A(x) = B(x)^4*(16-19*B(x)+6*B(x)^2)/(1-B(x))^5, where B(x) is g.f. for rooted trees with n nodes, cf. A000081.

%p b:= proc(n) option remember; if n<=1 then n else add(k*b(k)* s(n-1, k), k=1..n-1)/(n-1) fi end: s:= proc(n,k) option remember; add(b(n+1-j*k), j=1..iquo(n,k)) end: B:= proc(n) option remember; add(b(k)*x^k, k=1..n) end: a:= n-> coeff(series(B(n-3)^4*(16-19*B(n-3)+6*B(n-3)^2)/(1-B(n-3))^5, x=0, n+1), x,n): seq(a(n), n=4..25); # _Alois P. Heinz_, Aug 21 2008

%t b[n_] := b[n] = If[n <= 1, n, Sum[k*b[k]*s[n-1, k], {k, 1, n-1}]/(n-1)]; s[n_, k_] := s[n, k] = Sum[b[n+1-j*k], {j, 1, Quotient[n, k]}]; B[n_] := B[n] = Sum[b[k]*x^k, {k, 1, n}]; a[n_] := SeriesCoefficient[B[n-3]^4*(16-19*B[n-3] + 6*B[n-3]^2)/(1-B[n-3])^5, {x, 0, n}]; Table[a[n], {n, 4, 25}] (* _Jean-François Alcover_, Mar 20 2014, after _Alois P. Heinz_ *)

%Y Column k=4 of A034799.

%K nonn

%O 4,1

%A _N. J. A. Sloane_

%E More terms from _Vladeta Jovovic_, Oct 19 2001

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 17 20:27 EDT 2024. Contains 371767 sequences. (Running on oeis4.)