RajchgotIndex
The sum over positions i of n - i less the longest increasing subsequence of the larger entries after p(i).
✓ checked against that system · ! checked, with disagreements (hover a chip)FindStat
St001759via Permutation✓RajchgotIndex(p)The sum over positions i of n - i less the longest increasing subsequence of the larger entries after p(i).Typed signatures
| Type | Package | Applies |
|---|---|---|
(list<integer> | permutation) -> number | combinatorics | always |
Details
- Defined over
Permutationas an expression in_x, evaluated by compute-engine — the definition IS the implementation. - Takes a
Permutation, and also a bare list of integers: this reading compares entries with each other rather than with their positions, so it stands on any sequence. - The degree of the Grothendieck polynomial, after Pechenik, Speyer and Weigandt.
Definition
Epsil, as the implementation runs it.
on Permutation, over _x
0 if Length(_x) < 1 else Max(Sum(Map(Function(Length(_x) - i - Apply(
(v: list<integer>) => Count(Fold(Function(Apply(
Function(Join(a, [b]) if k > Count(a) else ReplaceAt(a, k, b), k),
Count(Filter(a, Function(t < b, t))) +
1,
), a, b), [], v)),
Map(
Function(_x[j], j),
Filter(
Range(1, Length(_x)),
Function(j > i &&
_x[j] > _x[i], j),
),
),
), i), Range(1, Length(_x)))), 0)Examples
Basic #
Properties #
About
| Examples | 6 |
|---|---|
| Crosswalk | FindStat |