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.

A318754 Number T(n,k) of rooted trees with n nodes such that k equals the maximal number of subtrees extending from the same node and having the same number of nodes; triangle T(n,k), n>=1, 0<=k<=n-1, read by rows.

This page as a plain text file.
%I A318754 #21 May 27 2019 08:57:02
%S A318754 1,0,1,0,1,1,0,2,1,1,0,3,4,1,1,0,6,9,3,1,1,0,12,22,9,3,1,1,0,25,54,23,
%T A318754 8,3,1,1,0,51,139,60,23,8,3,1,1,0,111,346,166,61,22,8,3,1,1,0,240,892,
%U A318754 447,167,61,22,8,3,1,1,0,533,2290,1219,461,168,60,22,8,3,1,1
%N A318754 Number T(n,k) of rooted trees with n nodes such that k equals the maximal number of subtrees extending from the same node and having the same number of nodes; triangle T(n,k), n>=1, 0<=k<=n-1, read by rows.
%C A318754 T(n,k) is defined for n,k >= 0.  The triangle contains only the terms with k < n.  T(n,k) = 0 for k >= n.
%H A318754 Alois P. Heinz, <a href="/A318754/b318754.txt">Rows n = 1..200, flattened</a>
%F A318754 T(n,k) = A318753(n,k) - A318753(n,k-1) for k > 0, A(n,0) = A063524(n).
%e A318754 Triangle T(n,k) begins:
%e A318754   1;
%e A318754   0,   1;
%e A318754   0,   1,   1;
%e A318754   0,   2,   1,   1;
%e A318754   0,   3,   4,   1,  1;
%e A318754   0,   6,   9,   3,  1,  1;
%e A318754   0,  12,  22,   9,  3,  1, 1;
%e A318754   0,  25,  54,  23,  8,  3, 1, 1;
%e A318754   0,  51, 139,  60, 23,  8, 3, 1, 1;
%e A318754   0, 111, 346, 166, 61, 22, 8, 3, 1, 1;
%p A318754 g:= proc(n, i, k) option remember; `if`(n=0, 1, `if`(i<1, 0, add(
%p A318754       binomial(g(i-1$2, k)+j-1, j)*g(n-i*j, i-1, k), j=0..min(k, n/i))))
%p A318754     end:
%p A318754 T:= (n, k)-> g(n-1$2, k) -`if`(k=0, 0, g(n-1$2, k-1)):
%p A318754 seq(seq(T(n, k), k=0..n-1), n=1..14);
%t A318754 g[n_, i_, k_] := g[n, i, k] = If[n == 0, 1, If[i < 1, 0, Sum[Binomial[g[i - 1, i - 1, k] + j - 1, j]*g[n - i*j, i - 1, k], {j, 0, Min[k, n/i]}]]];
%t A318754 T[n_, k_] := g[n - 1, n - 1, k] - If[k == 0, 0, g[n - 1, n - 1, k - 1]];
%t A318754 Table[T[n, k], {n, 1, 14}, {k, 0, n - 1}] // Flatten (* _Jean-François Alcover_, May 27 2019, after _Alois P. Heinz_ *)
%Y A318754 Columns k=0-10 give: A063524, A032305 (for n>1), A318817, A318818, A318819, A318820, A318821, A318822, A318823, A318824, A318825.
%Y A318754 Row sums give A000081.
%Y A318754 T(2n+2,n+1) give A255705.
%Y A318754 Cf. A318753.
%K A318754 nonn,tabl
%O A318754 1,8
%A A318754 _Alois P. Heinz_, Sep 02 2018