SkewPartitions
Reduced skew shapes with cells — no empty row or column — as a lazy indexed family.
SageMath
SkewPartitions(n)SkewPartitions(size)the reduced skew shapes with size cells total ().Typed signatures
| Type | Package | Applies |
|---|---|---|
(integer<0..>) -> indexed_collection<list<list<integer>>> | combinatorics | always |
Details
- A lazy indexed collection with no closed form, following Sage's
SkewPartitions(n): the count is a table over the last row of a shape and the cells left (exact, until it passes at , where the count is unknown), and a place in the order is found by walking that table, soAtis quick at sizes whose whole list is far too long. - Each element packs both partitions as
[λ, μ]; "reduced" means every row of strictly exceeds the matching row of (no empty row) and every column is covered by some row's cells (no empty column). has no zero parts:[[2, 1], [1, 0]]is not an element,[[2, 1], [1]]is. - Unranked lexicographically, by first, then by .
Enumeration
Examples
1 more kept as data, checked against the oraclesAbout
| Examples | 3 |
|---|---|
| Crosswalk | SageMath |
See also: IntegerPartitions, Count, At