TwoByTwoSquareCount
The cells of the shape whose neighbors to the right, below and below to the right are also in it.
✓ checked against that system · ! checked, with disagreements (hover a chip)FindStat
St001596via SkewPartition✓TwoByTwoSquareCount(shape)The cells of the shape whose neighbors to the right, below and below to the right are also in it.Typed signatures
| Type | Package | Applies |
|---|---|---|
(skew_partition) -> number | combinatorics | always |
Details
- Defined over
SkewPartitionas an expression in_x, evaluated by compute-engine — the definition IS the implementation. - Takes a
SkewPartitionand nothing else — it reads values against their positions, or walks the orbits, so it needs the bijection. Applying it to a bare list is a type error, not a wrong answer. - FindStat's St001596. A cell (i, j) with the cell (i + 1, j + 1) also in the shape is the top left of a square, so row i counts the columns from μᵢ to λᵢ₊₁ - 2. The empty shape gives 0.
Definition
Epsil, as the implementation runs it.
on SkewPartition, over _x
0 if Length(_x[1]) == 0 else Apply((lam: list<integer>) => Apply((raw: list<integer>) => Apply(
(mu: list<integer>) => Max(Sum(Map(
Function(0 if i == Length(lam) else Max(lam[i + 1] -
1 -
mu[i], 0), i),
Range(1, Length(lam)),
)), 0),
Map(
Function(raw[i] if i <= Length(raw) else 0, i),
Range(1, Length(lam)),
),
), _x[2]), _x[1])Examples
Properties #
About
| Examples | 4 |
|---|---|
| Crosswalk | FindStat |