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]=>3 [4,5,1,2,3]=>6 [4,5,1,3,2]=>6 [4,5,2,1,3]=>6 [4,5,2,3,1]=>6 [4,5,+,1,2]=>3 [4,5,-,1,2]=>6 [4,5,+,2,1]=>3 [4,5,-,2,1]=>6 [5,1,2,3,4]=>10 [5,1,2,+,3]=>6 [5,1,2,-,3]=>10 [5,1,+,2,4]=>7 [5,1,-,2,4]=>10 [5,1,+,+,2]=>3 [5,1,-,+,2]=>6 [5,1,+,-,2]=>7 [5,1,-,-,2]=>10 [5,1,4,2,3]=>6 [5,1,4,3,2]=>6 [5,+,1,3,4]=>8 [5,-,1,3,4]=>10 [5,+,1,+,3]=>4 [5,-,1,+,3]=>6 [5,+,1,-,3]=>8 [5,-,1,-,3]=>10 [5,+,+,1,4]=>5 [5,-,+,1,4]=>7 [5,+,-,1,4]=>8 [5,-,-,1,4]=>10 [5,+,+,+,1]=>1 [5,-,+,+,1]=>3 [5,+,-,+,1]=>4 [5,+,+,-,1]=>5 [5,-,-,+,1]=>6 [5,-,+,-,1]=>7 [5,+,-,-,1]=>8 [5,-,-,-,1]=>10 [5,+,4,1,3]=>4 [5,-,4,1,3]=>6 [5,+,4,3,1]=>4 [5,-,4,3,1]=>6 [5,3,1,2,4]=>7 [5,3,1,+,2]=>3 [5,3,1,-,2]=>7 [5,3,2,1,4]=>7 [5,3,2,+,1]=>3 [5,3,2,-,1]=>7 [5,3,4,1,2]=>3 [5,3,4,2,1]=>3 [5,4,1,2,3]=>6 [5,4,1,3,2]=>6 [5,4,2,1,3]=>6 [5,4,2,3,1]=>6 [5,4,+,1,2]=>3 [5,4,-,1,2]=>6 [5,4,+,2,1]=>3 [5,4,-,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
click to show known generating functions       
Description
The sum of the indices of the first term of the associated 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
    for i in range(0,len(tau[0])):
        sum = sum + tau[0][i]
    return sum
Created
May 14, 2020 at 20:46 by Danny Luecke
Updated
May 14, 2020 at 22:05 by Danny Luecke