%I #5 Sep 04 2018 17:24:13
%S 0,1,1,2,4,9,20,47,113,281,706,1807,4671,12223,32245,85777,229670,
%T 618732,1675523,4559000,12456756,34166545,94034740,259621512,
%U 718846854,1995610386,5553500697,15489256677,43290763753,121226491459,340079258393,955634312429
%N Number of rooted trees with n nodes such that no more than five isomorphic subtrees extend from the same node.
%H Alois P. Heinz, <a href="/A318852/b318852.txt">Table of n, a(n) for n = 0..2138</a>
%p h:= proc(n, m, t) option remember; `if`(m=0, binomial(n+t, t),
%p `if`(n=0, 0, add(h(n-1, m-j, t+1), j=1..min(5, m))))
%p end:
%p b:= proc(n, i) option remember; `if`(n=0, 1, `if`(i<1, 0,
%p add(b(n-i*j, i-1)*h(a(i), j, 0), j=0..n/i)))
%p end:
%p a:= n-> `if`(n<2, n, b(n-1$2)):
%p seq(a(n), n=0..35);
%Y Column k=5 of A318757.
%K nonn
%O 0,4
%A _Alois P. Heinz_, Sep 04 2018
|