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!)
A318861 Number of rooted trees with n nodes such that four equals the maximal number of isomorphic subtrees extending from the same node. 2

%I #5 Sep 05 2018 10:09:15

%S 0,1,1,3,8,23,61,167,461,1285,3587,10069,28350,80101,226861,644064,

%T 1832113,5221138,14902620,42597586,121917123,349343846,1002080752,

%U 2877234480,8268665140,23782254063,68454314588,197176382059,568320901793,1639070974728,4729877188814

%N Number of rooted trees with n nodes such that four equals the maximal number of isomorphic subtrees extending from the same node.

%H Alois P. Heinz, <a href="/A318861/b318861.txt">Table of n, a(n) for n = 4..2143</a>

%p h:= proc(n, m, t, k) option remember; `if`(m=0, binomial(n+t, t),

%p `if`(n=0, 0, add(h(n-1, m-j, t+1, k), j=1..min(k, m))))

%p end:

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

%p add(b(n-i*j, i-1, k)*h(A(i, k), j, 0, k), j=0..n/i)))

%p end:

%p A:= (n, k)-> `if`(n<2, n, b(n-1$2, k)):

%p a:= n-> (k-> A(n, k)-A(n, k-1))(4):

%p seq(a(n), n=4..34);

%Y Column k=4 of A318758.

%K nonn

%O 4,4

%A _Alois P. Heinz_, Sep 04 2018

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 May 5 13:34 EDT 2024. Contains 372275 sequences. (Running on oeis4.)