cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A316796 Number of unlabeled rooted trees with n nodes where the multiplicities in the multiset of branches under any given node are distinct.

This page as a plain text file.
%I A316796 #9 Feb 08 2020 20:41:42
%S A316796 1,1,2,3,6,11,21,40,75,139,263,498,932,1761,3322,6244,11775,22204,
%T A316796 41810,78795,148458,279690,527006,993033,1870881,3525109,6641904,
%U A316796 12514243,23578708,44426222,83705148,157713617,297156310,559886943,1054911312,1987613556
%N A316796 Number of unlabeled rooted trees with n nodes where the multiplicities in the multiset of branches under any given node are distinct.
%H A316796 Andrew Howroyd, <a href="/A316796/b316796.txt">Table of n, a(n) for n = 1..100</a>
%e A316796 The a(6) = 11 trees:
%e A316796 (((((o)))))
%e A316796 ((((oo))))
%e A316796 (((ooo)))
%e A316796 (((o)(o)))
%e A316796 ((oo(o)))
%e A316796 ((oooo))
%e A316796 (oo((o)))
%e A316796 (oo(oo))
%e A316796 (o(o)(o))
%e A316796 (ooo(o))
%e A316796 (ooooo)
%t A316796 strut[n_]:=strut[n]=If[n===1,{{}},Select[Join@@Function[c,Union[Sort/@Tuples[strut/@c]]]/@IntegerPartitions[n-1],UnsameQ@@Length/@Split[#]&]];
%t A316796 Table[Length[strut[n]],{n,10}]
%o A316796 (PARI)
%o A316796 C(v,n)={my(recurse(r,b,p,k)=if(!r, 1, sum(m=1, r, if(!bittest(b,m), sum(i=1, min(r\m, p), my(f=if(i==p, k+1, 1)); if(v[i]>=f, (v[i]-f+1)*self()(r-m*i, bitor(b, 1<<m), i, f)/f)))))); recurse(n, 0, #v, 0)}
%o A316796 seq(n)={my(v=vector(n)); v[1]=1; for(n=2, #v, v[n]=C(v[1..n-1], n-1)); v} \\ _Andrew Howroyd_, Feb 08 2020
%Y A316796 Cf. A000081, A004111, A130091, A316793, A316794, A316795.
%K A316796 nonn
%O A316796 1,3
%A A316796 _Gus Wiseman_, Jul 14 2018
%E A316796 Terms a(26) and beyond from _Andrew Howroyd_, Feb 08 2020