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.

A106236 Triangle of the numbers of different forests with m rooted trees having distinct orders.

This page as a plain text file.
%I A106236 #18 Dec 24 2015 02:45:55
%S A106236 1,1,0,2,1,0,4,2,0,0,9,6,0,0,0,20,13,2,0,0,0,48,37,4,0,0,0,0,115,86,
%T A106236 17,0,0,0,0,0,286,239,46,0,0,0,0,0,0,719,577,142,8,0,0,0,0,0,0,1842,
%U A106236 1607,367,18,0,0,0,0,0,0,0,4766,4025,1136,76,0,0,0,0,0,0,0,0,12486,11185,2945,248,0,0,0,0,0,0,0,0,0
%N A106236 Triangle of the numbers of different forests with m rooted trees having distinct orders.
%C A106236 a(n) = 0 if and only if n < m + (((1+m)*m - 1)^2 -1)/8, where m is the number of trees in the forests counted by a(n).
%H A106236 Alois P. Heinz, <a href="/A106236/b106236.txt">Rows n = 1..141, flattened</a>
%F A106236 a(n) = sum over the partitions of N: 1K1 + 2K2 + ... + NKN, with exactly m distinct parts, of Product_{i=1..N}binomial(A000081(i)+Ki-1, Ki). Because all the multiplicities of the parts of the considered partitions are 1, or 0, we can simplify the formula to a(n)= sum over the partitions of N with exactly m distinct parts, of Product_{i=1..N}A000081(i). (Naturally, we do not consider the parts with multiplicity 0.)
%F A106236 G.f.: Product_{k>0} (1 + y*A000081(k)*x^k). - _Vladeta Jovovic_, May 14 2005
%e A106236 a(3) = 0 because m = 2 and (see comments) 3 < (2 + 3).
%e A106236 a(4) > 0 because m = 1. Note that (((1+m)*m - 1)^2 -1)/8 = 0, if m = 1. It is clear that n >= m.
%p A106236 with(numtheory):
%p A106236 g:= proc(n) option remember; `if`(n<=1, n, (add(add(
%p A106236       d*g(d), d=divisors(j))*g(n-j), j=1..n-1))/(n-1))
%p A106236     end:
%p A106236 b:= proc(n, i) option remember; `if`(n=0, 1, `if`(i<1, 0,
%p A106236       expand(add(x^j*b(n-i*j, i-1)*binomial(g(i)+j-1, j),
%p A106236       j=0..min(1, n/i)))))
%p A106236     end:
%p A106236 T:= n-> (p-> seq(coeff(p, x, i), i=1..n))(b(n$2)):
%p A106236 seq(T(n), n=1..14);  # _Alois P. Heinz_, Jun 25 2014
%t A106236 g[n_] := g[n] = If[n <= 1, n, (Sum[Sum[d*g[d], {d, Divisors[j]}]*g[n-j], {j, 1, n-1}])/(n-1)]; b[n_, i_] := b[n, i] = If[n == 0, 1, If[i<1, 0, Expand[Sum[x^j*b[n - i*j, i-1]*Binomial[g[i]+j-1, j], {j, 0,Min[1, n/i]}]]]]; T[n_] := Function[{p}, Table[Coefficient[p, x, i], {i, 1, n}]][b[n, n]]; Table[T[n], {n, 1, 14}] // Flatten (* _Jean-François Alcover_, Feb 23 2015, after _Alois P. Heinz_ *)
%Y A106236 Cf. A000081, A106234.
%K A106236 nonn,tabl
%O A106236 1,4
%A A106236 _Washington Bomfim_, Apr 28 2005