edit this statistic or download as text // json
Identifier
Values
=>
[+,+]=>0 [-,+]=>2 [+,-]=>4 [-,-]=>6 [2,1]=>3 [+,+,+]=>0 [-,+,+]=>3 [+,-,+]=>6 [+,+,-]=>9 [-,-,+]=>9 [-,+,-]=>12 [+,-,-]=>15 [-,-,-]=>18 [+,3,2]=>7 [-,3,2]=>10 [2,1,+]=>4 [2,1,-]=>13 [2,3,1]=>6 [3,1,2]=>12 [3,+,1]=>7 [3,-,1]=>13 [+,+,+,+]=>0 [-,+,+,+]=>4 [+,-,+,+]=>8 [+,+,-,+]=>12 [+,+,+,-]=>16 [-,-,+,+]=>12 [-,+,-,+]=>16 [-,+,+,-]=>20 [+,-,-,+]=>20 [+,-,+,-]=>24 [+,+,-,-]=>28 [-,-,-,+]=>24 [-,-,+,-]=>28 [-,+,-,-]=>32 [+,-,-,-]=>36 [-,-,-,-]=>40 [+,+,4,3]=>13 [-,+,4,3]=>17 [+,-,4,3]=>21 [-,-,4,3]=>25 [+,3,2,+]=>9 [-,3,2,+]=>13 [+,3,2,-]=>25 [-,3,2,-]=>29 [+,3,4,2]=>11 [-,3,4,2]=>15 [+,4,2,3]=>23 [-,4,2,3]=>27 [+,4,+,2]=>12 [-,4,+,2]=>16 [+,4,-,2]=>24 [-,4,-,2]=>28 [2,1,+,+]=>5 [2,1,-,+]=>17 [2,1,+,-]=>21 [2,1,-,-]=>33 [2,1,4,3]=>18 [2,3,1,+]=>7 [2,3,1,-]=>23 [2,3,4,1]=>10 [2,4,1,3]=>21 [2,4,+,1]=>11 [2,4,-,1]=>23 [3,1,2,+]=>15 [3,1,2,-]=>31 [3,1,4,2]=>17 [3,+,1,+]=>8 [3,-,1,+]=>16 [3,+,1,-]=>24 [3,-,1,-]=>32 [3,+,4,1]=>11 [3,-,4,1]=>19 [3,4,1,2]=>20 [3,4,2,1]=>21 [4,1,2,3]=>30 [4,1,+,2]=>19 [4,1,-,2]=>31 [4,+,1,3]=>23 [4,-,1,3]=>31 [4,+,+,1]=>13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]=>32 [4,5,1,2,3]=>45 [4,5,1,3,2]=>46 [4,5,2,1,3]=>46 [4,5,2,3,1]=>48 [4,5,+,1,2]=>33 [4,5,-,1,2]=>48 [4,5,+,2,1]=>34 [4,5,-,2,1]=>49 [5,1,2,3,4]=>60 [5,1,2,+,3]=>41 [5,1,2,-,3]=>61 [5,1,+,2,4]=>46 [5,1,-,2,4]=>61 [5,1,+,+,2]=>28 [5,1,-,+,2]=>43 [5,1,+,-,2]=>48 [5,1,-,-,2]=>63 [5,1,4,2,3]=>43 [5,1,4,3,2]=>44 [5,+,1,3,4]=>51 [5,-,1,3,4]=>61 [5,+,1,+,3]=>32 [5,-,1,+,3]=>42 [5,+,1,-,3]=>52 [5,-,1,-,3]=>62 [5,+,+,1,4]=>38 [5,-,+,1,4]=>48 [5,+,-,1,4]=>53 [5,-,-,1,4]=>63 [5,+,+,+,1]=>21 [5,-,+,+,1]=>31 [5,+,-,+,1]=>36 [5,+,+,-,1]=>41 [5,-,-,+,1]=>46 [5,-,+,-,1]=>51 [5,+,-,-,1]=>56 [5,-,-,-,1]=>66 [5,+,4,1,3]=>35 [5,-,4,1,3]=>45 [5,+,4,3,1]=>37 [5,-,4,3,1]=>47 [5,3,1,2,4]=>48 [5,3,1,+,2]=>30 [5,3,1,-,2]=>50 [5,3,2,1,4]=>49 [5,3,2,+,1]=>32 [5,3,2,-,1]=>52 [5,3,4,1,2]=>33 [5,3,4,2,1]=>34 [5,4,1,2,3]=>46 [5,4,1,3,2]=>47 [5,4,2,1,3]=>47 [5,4,2,3,1]=>49 [5,4,+,1,2]=>34 [5,4,-,1,2]=>49 [5,4,+,2,1]=>35 [5,4,-,2,1]=>50
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
click to show known generating functions       
Description
The sum of all indices from every element of the Grassmann necklace.
Here, we use Postnikov's map (p.59) from decorated permutations to Grassmann necklaces.
References
[1] A. Postnikov, Total positivity, Grassmannians, and networks. 27 Sep 2006. Postnikov, A. Total positivity, Grassmannians, and networks arXiv:math/0609764
Code
def dectoneck(pi):
    tau=list(pi)
    n=len(tau)
    perm=[]
    neck=[ [] for _ in range(n) ]
    
    for j in range(0,n):
        if tau[j]<0:
            for k in range(0,n):
                neck[k].append(abs(tau[j]))
        perm.append(abs(tau[j]))

    perminv=Permutation(perm).inverse()
   
    for el in range(1,n+1):
        adjust_index=[]
        adjust_perminv=[]
        for m in range(0,n):
            if el>(m+1):
                adjust_index.append(m+1+n)
            else:
                adjust_index.append(m+1)

            if el>perminv[m]:
                adjust_perminv.append(perminv[m]+n)
            else:
                adjust_perminv.append(perminv[m])
            
        for x in range(0,n):
            if adjust_index[x] < adjust_perminv[x]:
                neck[el-1].append(x+1)
   
    for y in range(0,n):
        neck[y].sort()
    
    return neck

def statistic(pi):
    tau=dectoneck(pi)
    sum=0
    k=len(tau[0])
    for i in range(0,len(tau)):
        for j in range(0,k):
            sum = sum + tau[i][j]
    return sum
Created
May 14, 2020 at 20:41 by Danny Luecke
Updated
May 14, 2020 at 20:41 by Danny Luecke