StandardRibbonTableauCount
Standard fillings of the ribbon whose rows have these lengths: the permutations of 1 .. n with these partial sums as their descents.
✓ checked against that system · ! checked, with disagreements (hover a chip)FindStat
St000277via IntegerComposition✓StandardRibbonTableauCount(composition)Standard fillings of the ribbon whose rows have these lengths: the permutations of 1 .. n with these partial sums as their descents.Typed signatures
| Type | Package | Applies |
|---|---|---|
(composition) -> number | combinatorics | always |
Details
- Defined over
IntegerCompositionas an expression in_x, evaluated by compute-engine — the definition IS the implementation. - Takes a
IntegerCompositionand 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. - Stanley, Enumerative Combinatorics, volume 1, section 1.4: Proposition 1.4.1 counts permutations whose descents lie in a set, and inclusion-exclusion over it gives this count. FindStat cites the formula as section 14.4.
Definition
Epsil, as the implementation runs it.
on IntegerComposition, over _x
1 if Length(_x) < 1 else Last(Fold(Function(Join(
a,
[Sum(Map(Function((-1) ^ (b -
j) *
a[j] /
Product(Range(
1,
Sum(Map(
Function(_x[u], u),
Filter(
Range(1, Length(_x)),
Function(u <
b + 1, u),
),
)) -
Sum(Map(
Function(_x[u], u),
Filter(
Range(1, Length(_x)),
Function(u <
j - 1 +
1, u),
),
)),
)), j), Range(1, b)))],
), a, b), [Product(Range(
1,
Sum(_x),
))], Range(1, Length(_x))))Examples
Properties #
About
| Examples | 4 |
|---|---|
| Crosswalk | FindStat |