Identifier
- St001956: Dyck paths ⟶ ℤ
Values
[1,0] => 0
[1,0,1,0] => 0
[1,1,0,0] => 1
[1,0,1,0,1,0] => 1
[1,0,1,1,0,0] => 2
[1,1,0,0,1,0] => 2
[1,1,0,1,0,0] => 3
[1,1,1,0,0,0] => 0
[1,0,1,0,1,0,1,0] => 3
[1,0,1,0,1,1,0,0] => 2
[1,0,1,1,0,0,1,0] => 3
[1,0,1,1,0,1,0,0] => 4
[1,0,1,1,1,0,0,0] => 4
[1,1,0,0,1,0,1,0] => 4
[1,1,0,0,1,1,0,0] => 5
[1,1,0,1,0,0,1,0] => 5
[1,1,0,1,0,1,0,0] => 6
[1,1,0,1,1,0,0,0] => 3
[1,1,1,0,0,0,1,0] => 0
[1,1,1,0,0,1,0,0] => 1
[1,1,1,0,1,0,0,0] => 1
[1,1,1,1,0,0,0,0] => 2
[1,0,1,0,1,0,1,0,1,0] => 6
[1,0,1,0,1,0,1,1,0,0] => 5
[1,0,1,0,1,1,0,0,1,0] => 3
[1,0,1,0,1,1,0,1,0,0] => 4
[1,0,1,0,1,1,1,0,0,0] => 4
[1,0,1,1,0,0,1,0,1,0] => 5
[1,0,1,1,0,0,1,1,0,0] => 6
[1,0,1,1,0,1,0,0,1,0] => 6
[1,0,1,1,0,1,0,1,0,0] => 7
[1,0,1,1,0,1,1,0,0,0] => 7
[1,0,1,1,1,0,0,0,1,0] => 6
[1,0,1,1,1,0,0,1,0,0] => 7
[1,0,1,1,1,0,1,0,0,0] => 7
[1,0,1,1,1,1,0,0,0,0] => 4
[1,1,0,0,1,0,1,0,1,0] => 7
[1,1,0,0,1,0,1,1,0,0] => 6
[1,1,0,0,1,1,0,0,1,0] => 7
[1,1,0,0,1,1,0,1,0,0] => 8
[1,1,0,0,1,1,1,0,0,0] => 8
[1,1,0,1,0,0,1,0,1,0] => 8
[1,1,0,1,0,0,1,1,0,0] => 9
[1,1,0,1,0,1,0,0,1,0] => 9
[1,1,0,1,0,1,0,1,0,0] => 10
[1,1,0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,1,1,0,1,0,0,1,0,1,0] => 9
[1,0,1,1,0,1,0,0,1,1,0,0] => 10
[1,0,1,1,0,1,0,1,0,0,1,0] => 10
[1,0,1,1,0,1,0,1,0,1,0,0] => 11
[1,0,1,1,0,1,0,1,1,0,0,0] => 11
[1,0,1,1,0,1,1,0,0,0,1,0] => 10
[1,0,1,1,0,1,1,0,0,1,0,0] => 11
[1,0,1,1,0,1,1,0,1,0,0,0] => 11
[1,0,1,1,0,1,1,1,0,0,0,0] => 8
[1,0,1,1,1,0,0,0,1,0,1,0] => 9
[1,0,1,1,1,0,0,0,1,1,0,0] => 10
[1,0,1,1,1,0,0,1,0,0,1,0] => 10
[1,0,1,1,1,0,0,1,0,1,0,0] => 11
[1,0,1,1,1,0,0,1,1,0,0,0] => 11
[1,0,1,1,1,0,1,0,0,0,1,0] => 10
[1,0,1,1,1,0,1,0,0,1,0,0] => 11
[1,0,1,1,1,0,1,0,1,0,0,0] => 11
[1,0,1,1,1,0,1,1,0,0,0,0] => 8
>>> Load all 1200 entries. <<<[1,0,1,1,1,1,0,0,0,0,1,0] => 5
[1,0,1,1,1,1,0,0,0,1,0,0] => 6
[1,0,1,1,1,1,0,0,1,0,0,0] => 6
[1,0,1,1,1,1,0,1,0,0,0,0] => 7
[1,0,1,1,1,1,1,0,0,0,0,0] => 7
[1,1,0,0,1,0,1,0,1,0,1,0] => 11
[1,1,0,0,1,0,1,0,1,1,0,0] => 10
[1,1,0,0,1,0,1,1,0,0,1,0] => 8
[1,1,0,0,1,0,1,1,0,1,0,0] => 9
[1,1,0,0,1,0,1,1,1,0,0,0] => 9
[1,1,0,0,1,1,0,0,1,0,1,0] => 10
[1,1,0,0,1,1,0,0,1,1,0,0] => 11
[1,1,0,0,1,1,0,1,0,0,1,0] => 11
[1,1,0,0,1,1,0,1,0,1,0,0] => 12
[1,1,0,0,1,1,0,1,1,0,0,0] => 12
[1,1,0,0,1,1,1,0,0,0,1,0] => 11
[1,1,0,0,1,1,1,0,0,1,0,0] =>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,1,0,0,1,0,0,0] => 17
[1,1,0,0,1,1,1,1,0,1,0,1,0,0,0,0] => 18
[1,1,0,0,1,1,1,1,0,1,1,0,0,0,0,0] => 18
[1,1,0,0,1,1,1,1,1,0,0,0,0,0,1,0] => 16
[1,1,0,0,1,1,1,1,1,0,0,0,0,1,0,0] => 17
[1,1,0,0,1,1,1,1,1,0,0,0,1,0,0,0] => 17
[1,1,0,0,1,1,1,1,1,0,0,1,0,0,0,0] => 18
[1,1,0,0,1,1,1,1,1,0,1,0,0,0,0,0] => 18
[1,1,0,0,1,1,1,1,1,1,0,0,0,0,0,0] => 13
[1,1,0,1,0,0,1,0,1,0,1,0,1,0,1,0] => 23
[1,1,0,1,0,0,1,0,1,0,1,0,1,1,0,0] => 22
[1,1,0,1,0,0,1,0,1,0,1,1,0,0,1,0] => 20
[1,1,0,1,0,0,1,0,1,0,1,1,0,1,0,0] => 21
[1,1,0,1,0,0,1,0,1,0,1,1,1,0,0,0] => 21
[1,1,0,1,0,0,1,0,1,1,0,0,1,0,1,0] => 18
[1,1,0,1,0,0,1,0,1,1,0,0,1,1,0,0] => 19
[1,1,0,1,0,0,1,0,1,1,0,1,0,0,1,0] => 19
[1,1,0,1,0,0,1,0,1,1,0,1,0,1,0,0] => 20
[1,1,0,1,0,0,1,0,1,1,0,1,1,0,0,0] => 20
[1,1,0,1,0,0,1,0,1,1,1,0,0,0,1,0] => 19
[1,1,0,1,0,0,1,0,1,1,1,0,0,1,0,0] => 20
[1,1,0,1,0,0,1,0,1,1,1,0,1,0,0,0] => 20
[1,1,0,1,0,0,1,0,1,1,1,1,0,0,0,0] => 17
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
Generating function
click to show known generating functions
Search the OEIS for these generating functions
Search the Online Encyclopedia of Integer
Sequences for the coefficients of a few of the
first generating functions, in the case at hand:
1,1 1,1,2,1 1,2,2,3,3,2,1 1,1,3,7,6,5,6,7,3,2,1 1,2,3,5,7,12,19,17,15,12,12,14,7,3,2,1 1,1,3,8,11,15,19,25,30,40,52,46,40,33,25,25,28,14,7,3,2,1
$F_{1} = 1$
$F_{2} = 1 + q$
$F_{3} = 1 + q + 2\ q^{2} + q^{3}$
$F_{4} = 1 + 2\ q + 2\ q^{2} + 3\ q^{3} + 3\ q^{4} + 2\ q^{5} + q^{6}$
$F_{5} = 1 + q + 3\ q^{2} + 7\ q^{3} + 6\ q^{4} + 5\ q^{5} + 6\ q^{6} + 7\ q^{7} + 3\ q^{8} + 2\ q^{9} + q^{10}$
$F_{6} = 1 + 2\ q + 3\ q^{2} + 5\ q^{3} + 7\ q^{4} + 12\ q^{5} + 19\ q^{6} + 17\ q^{7} + 15\ q^{8} + 12\ q^{9} + 12\ q^{10} + 14\ q^{11} + 7\ q^{12} + 3\ q^{13} + 2\ q^{14} + q^{15}$
$F_{7} = 1 + q + 3\ q^{2} + 8\ q^{3} + 11\ q^{4} + 15\ q^{5} + 19\ q^{6} + 25\ q^{7} + 30\ q^{8} + 40\ q^{9} + 52\ q^{10} + 46\ q^{11} + 40\ q^{12} + 33\ q^{13} + 25\ q^{14} + 25\ q^{15} + 28\ q^{16} + 14\ q^{17} + 7\ q^{18} + 3\ q^{19} + 2\ q^{20} + q^{21}$
Description
The comajor index for set-valued two-row standard Young tableaux.
The comajorindex is the sum $\sum_k (n+1-k)$ over all natural descents $k$.
Bijections via bicolored Motzkin paths (with two restrictions, see [1]) give the following for Dyck paths.
Let $j$ be smallest integer such that $2j$ is a down step.
Then $k$ is a natural descent if
The comajorindex is the sum $\sum_k (n+1-k)$ over all natural descents $k$.
Bijections via bicolored Motzkin paths (with two restrictions, see [1]) give the following for Dyck paths.
Let $j$ be smallest integer such that $2j$ is a down step.
Then $k$ is a natural descent if
- $k-2\ge j$ and positions $2(k-1)-1,2(k-1)$ are a valley i.e. [0,1], or
- $k-2\ge j$ and positions $2(k-1)-1,2(k-1)$ are a peak i.e. [1,0], or
- $k-1\ge j$ and positions $2(k-1),2k-1,2k$ form [0,1,1], or
- $k=j$ and positions $2k-1,2k$ are double down i.e. [0,0], or
- $k < j$ and positions $2k-1,2k$ are a valley i.e. [0,1].
References
[1] Alexander Lazar and Svante Linusson, "Two-row Set-Valued Tableaux: Catalan$^+k$ Combinatorics", Extended abstract at FPSAC 2024.
Code
def natural_descents(D):
for j in range(1, D.semilength()+1):
if D[2*j-1] == 0:
break
else:
raise ValueError
des = []
for k in range(1, len(D)+2):
if k-2 >= j and D[2*(k-1)-2:2*(k-1)] == [0,1]:
des.append(k)
elif k-2 >= j and D[2*(k-1)-2:2*(k-1)] == [1,0]:
des.append(k)
elif k-1 >= j and D[2*(k-1)-1:2*k] == [0,1,1]:
des.append(k)
elif k == j and D[2*k-2:2*k] == [0,0]:
des.append(k)
elif k < j and D[2*k-2:2*k] == [0,1]:
des.append(k)
return des
def statistic(D):
n = D.semilength()
return sum(n+1-k for k in natural_descents(D))
Created
Jul 25, 2024 at 23:26 by Martin Rubey
Updated
Jul 25, 2024 at 23:26 by Martin Rubey
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!