OFFSET
0,2
COMMENTS
FORMULA
G.f.: G(t,z) = (1+z)(1+z-tz+z^2-tz^2+z^3-tz^3)/(1-tz-z^2+tz^3-z^3+tz^4-z^4).
EXAMPLE
T(5,1)=2 because we have 00001 and 10000; T(7,2)=3 because we have 0000010, 0100000, and 1000001.
Triangle starts:
1;
2;
3;
5;
7,1;
10,2,1;
15,3,2,1;
22,6,3,2,1;
MAPLE
G := (1+z)*(1+z-t*z+z^2-t*z^2+z^3-t*z^3)/(1-t*z-z^2+t*z^3-z^3+t*z^4-z^4): Gser := simplify(series(G, z = 0, 18)): for n from 0 to 15 do P[n] := sort(coeff(Gser, z, n)) end do: 1; 2; 3; for n from 3 to 15 do seq(coeff(P[n], t, k), k = 0 .. n-3) end do; # yields sequence in triangular form
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Emeric Deutsch, Feb 15 2010
STATUS
approved