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,-2]=>6
[-4,3,-1,2]=>5
[-4,3,-1,-2]=>7
[-4,-3,1,2]=>4
[-4,-3,1,-2]=>6
[-4,-3,-1,2]=>5
[-4,-3,-1,-2]=>7
[4,3,2,1]=>4
[4,3,2,-1]=>4
[4,3,-2,1]=>5
[4,3,-2,-1]=>5
[4,-3,2,1]=>4
[4,-3,2,-1]=>4
[4,-3,-2,1]=>5
[4,-3,-2,-1]=>5
[-4,3,2,1]=>5
[-4,3,2,-1]=>5
[-4,3,-2,1]=>6
[-4,3,-2,-1]=>6
[-4,-3,2,1]=>5
[-4,-3,2,-1]=>5
[-4,-3,-2,1]=>6
[-4,-3,-2,-1]=>6
search for individual values
searching the database for the individual values of this statistic
/
search for generating function
searching the database for statistics with the same generating function
Description
The Stasinski-Voll length of a signed permutation.
The Stasinski-Voll length of a signed permutation $\sigma$ is
$$ L(\sigma) = \frac{1}{2} \#\{(i,j) ~\mid -n \leq i < j \leq n,~ i \not\equiv j \operatorname{mod} 2,~ \sigma(i) > \sigma(j)\}, $$
where $n$ is the size of $\sigma$.
The Stasinski-Voll length of a signed permutation $\sigma$ is
$$ L(\sigma) = \frac{1}{2} \#\{(i,j) ~\mid -n \leq i < j \leq n,~ i \not\equiv j \operatorname{mod} 2,~ \sigma(i) > \sigma(j)\}, $$
where $n$ is the size of $\sigma$.
References
[1] Stasinski, A., Voll, C. A new statistic on the hyperoctahedral groups arXiv:1303.0990
Code
def statistic(pi): n = pi.parent().rank() x = [-i for i in list(pi)] x.reverse() w = x + [0] + list(pi) l = sum(1 for i in range(-n,n+1) for j in range(i+1,n+1) if w[i+n] > w[j+n] and i%2 != j%2) return l/2
Created
Jul 22, 2022 at 11:45 by Dennis Jahn
Updated
Jul 22, 2022 at 11:45 by Dennis Jahn
searching the database
Sorry, this statistic was not found in the database
or
add this statistic to the database – it's very simple and we need your support!