OFFSET
1,7
REFERENCES
G. E. Andrews, The Theory of Partitions, Addison-Wesley, 1976 (pp. 27-28).
G. E. Andrews and K. Eriksson, Integer Partitions, Cambridge Univ. Press, 2004 (pp. 75-78).
LINKS
Alois P. Heinz, Rows n = 1..141, flattened
FORMULA
G.f.: Sum_(q^(k^2)/Product_((1-q^j)(1-(t*q)^j), j=1..k), k=1..infinity).
EXAMPLE
T(6,2) = 3 because we have [4,1,1], [2,2,2] and [2,2,1,1] (the bottom tails are [1,1], [2] and [1,1], respectively, each being a partition of 2).
MAPLE
g:=sum(z^(k^2)/product((1-z^j), j=1..k)/product((1-(t*z)^i), i=1..k), k=1..20): gserz:=simplify(series(g, z=0, 30)): for n from 1 to 14 do P[n]:=coeff(gserz, z^n) od: for n from 1 to 14 do seq(coeff(t*P[n], t^j), j=1..n) od; # yields sequence in triangular form
# second Maple program:
b:= proc(n, i) option remember;
`if`(n=0, 1, `if`(i<1, 0, b(n, i-1)+`if`(i>n, 0, b(n-i, i))))
end:
T:= (n, k)-> add(b(k, d)*b(n-d^2-k, d), d=0..floor(sqrt(n))):
seq(seq(T(n, k), k=0..n-1), n=1..20); # Alois P. Heinz, Apr 09 2012
MATHEMATICA
b[n_, i_] := b[n, i] = If[n == 0, 1, If[i<1, 0, b[n, i-1] + If[i>n, 0, b[n-i, i]]] ]; T[n_, k_] := Sum[b[k, d]*b[n-d^2-k, d], {d, 0, Floor[Sqrt[n]]}]; Table[Table[ T[n, k], {k, 0, n-1}], {n, 1, 20}] // Flatten (* Jean-François Alcover, Feb 19 2015, after Alois P. Heinz *)
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Emeric Deutsch, Feb 12 2006
STATUS
approved