Identifier
- St001430: Signed permutations ⟶ ℤ
Values
=>
[1]=>1
[-1]=>0
[1,2]=>2
[1,-2]=>1
[-1,2]=>1
[-1,-2]=>0
[2,1]=>2
[2,-1]=>1
[-2,1]=>1
[-2,-1]=>0
[1,2,3]=>3
[1,2,-3]=>2
[1,-2,3]=>2
[1,-2,-3]=>1
[-1,2,3]=>2
[-1,2,-3]=>1
[-1,-2,3]=>1
[-1,-2,-3]=>0
[1,3,2]=>3
[1,3,-2]=>2
[1,-3,2]=>2
[1,-3,-2]=>1
[-1,3,2]=>2
[-1,3,-2]=>1
[-1,-3,2]=>1
[-1,-3,-2]=>0
[2,1,3]=>3
[2,1,-3]=>2
[2,-1,3]=>2
[2,-1,-3]=>1
[-2,1,3]=>2
[-2,1,-3]=>1
[-2,-1,3]=>1
[-2,-1,-3]=>0
[2,3,1]=>3
[2,3,-1]=>2
[2,-3,1]=>2
[2,-3,-1]=>1
[-2,3,1]=>2
[-2,3,-1]=>1
[-2,-3,1]=>1
[-2,-3,-1]=>0
[3,1,2]=>3
[3,1,-2]=>2
[3,-1,2]=>2
[3,-1,-2]=>1
[-3,1,2]=>2
[-3,1,-2]=>1
[-3,-1,2]=>1
[-3,-1,-2]=>0
[3,2,1]=>3
[3,2,-1]=>2
[3,-2,1]=>2
[3,-2,-1]=>1
[-3,2,1]=>2
[-3,2,-1]=>1
[-3,-2,1]=>1
[-3,-2,-1]=>0
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 number of positive entries in a signed permutation.
Code
def statistic(pi): return sum(1 for a in pi if a > 0)
Created
Jun 21, 2019 at 13:48 by Christian Stump
Updated
Jun 21, 2019 at 13:48 by Christian Stump
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!