OFFSET
1,6
COMMENTS
T(n,k) is the number of certain types of trees (see the Duke et al. reference) of height n and having k leaves. Row n contains 2^(ceiling(n/2)-1) terms. Row sums yield A000278.
LINKS
W. Duke, Stephen J. Greenfield and Eugene R. Speer, Properties of a Quadratic Fibonacci Recurrence, J. Integer Sequences, 1998, #98.1.8.
FORMULA
T(n, k) = T(n-1, k) + Sum_{j=1..k-1} T(n-2, j)*T(n-2, k-j);
T(1, 1) = T(2, 1) = 1;
T(1, k) = T(2, k) = 0 for k > 1.
EXAMPLE
P[3,t] = t^2 + t;
P[4,t] = 2t^2 + t;
P[5,t] = t^4 + 2t^3 + 3t^2 + t;
therefore T(5,1)=1, T(5,2)=3, T(5,3)=2, T(5,4)=1.
Triangle begins:
1;
1;
1, 1;
1, 2;
1, 3, 2, 1;
1, 4, 6, 5;
1, 5, 12, 18, 14, 10, 4, 1;
MAPLE
P[1]:=t:P[2]:=t:for n from 3 to 10 do P[n]:=sort(expand(P[n-1]+P[n-2]^2)) od:for n from 1 to 10 do seq(coeff(P[n], t^k), k=1..2^(ceil(n/2)-1)) od; # yields sequence in triangular form
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Emeric Deutsch, Mar 21 2005
STATUS
approved