Partition in a rectangle (source code)

= Partition in a rectangle
{title2=$\lambda_1\leq w,\ \ell(\lambda)\leq h$}

= Partitions in a rectangle
{synonym}

An <integer partition> whose <Young diagram> has at most $h$ rows and at most $w$ cells per row. Zeros may pad the list of row lengths. The <partition interpretation of Gaussian binomial coefficients> counts these diagrams by their number of cells.