There are 134 pending statistics:
Identifier
St001910:
Dyck paths
⟶ ℤ
Values
No modified entries
Description
The height of the middle non-run of a Dyck path.
A non-run of a Dyck path is a pair of steps which are not both up or both down, that is, which either form a peak or a valley. The number of non-runs is odd. This statistic returns the height of the middle non-run.
A non-run of a Dyck path is a pair of steps which are not both up or both down, that is, which either form a peak or a valley. The number of non-runs is odd. This statistic returns the height of the middle non-run.
Code
def statistic(D):
H = D.heights()
T = [H[i+1] for i in range(len(D)-1) if D[i] != D[i+1]]
return T[(len(T)-1)//2]
Diff Code
def statistic(D): H = D.heights() T:= [H[i+1] for i in range(len(D)-1) if D[i] != D[i+1]] return T[(len(T)-1)//2]
Created
Aug 07, 2023 at 18:04 by Martin Rubey
Updated
Jul 31, 2026 at 12:25 by Nupur Jain
Identifier
St000082:
Binary trees
⟶ ℤ
Values
No modified entries
Description
The number of elements smaller than a binary tree in Tamari order.
References
[1] Chatel, Grégory, Pons, V. Counting smaller trees in the Tamari order MathSciNet:3091011
Code
@cached_function def _level_tuples(n): return [tuple(B.tamari_sorting_tuple()[0]) for B in BinaryTrees(n)] def statistic(tree): n = tree.node_number() if n <= 1: # C_0 = C_1 = 1; the tree is alone on its level return 1 target = tuple(tree.tamari_sorting_tuple()[0]) level = _level_tuples(n) return sum(1 for row in level if all(a <= b for a, b in zip(row, target)))
Diff Code
def statistic(tree): return@cached_function def _level_tuples(n): return [tuple(B.tamari_sorting_tuple()[0]) for B in BinaryTrees(n)] def statistic(tree): n = tree.node_number() if n <= 1: # C_0 = C_1 = 1; the tree is alone on its level return 1 target = tuplen(tree.tamari_smaller())orting_tuple()[0]) level = _level_tuples(n) return sum(1 for row in level if all(a <= b for a, b in zip(row, target)))
Created
Jun 13, 2013 at 09:55 by Viviane Pons
Updated
Jul 29, 2026 at 13:07 by Nupur Jain
Identifier
St000132:
Binary trees
⟶ ℤ
Values
No modified entries
Description
The number of occurrences of the contiguous pattern [[.,.],[.,[[.,.],.]]] in a binary tree.
oeis:A159773 counts binary trees avoiding this pattern.
oeis:A159773 counts binary trees avoiding this pattern.
Diff Description
The number of occurrences of the contiguous pattern {{{[[.,.],[.,[[.,.],.]]]}}} in a binary tree.
[[oeis:A159773]] counts binary trees avoiding this pattern.
[[oeis:A159773]] counts binary trees avoiding this pattern.
References
[1] Rowland, E. S. Pattern avoidance in binary trees MathSciNet:2645188 arXiv:0809.0488
Code
_PATTERN = BinaryTree('[[.,.],[.,[[.,.],.]]]')
def _occ(t, p):
# A leaf '.' in the pattern is a wildcard; internal nodes must match
# the left/right branching exactly and contiguously.
if p.is_empty():
return True
if t.is_empty():
return False
return _occ(t[0], p[0]) and _occ(t[1], p[1])
def statistic(t):
# Count the nodes of t at which the pattern sits contiguously.
if t.is_empty():
return 0
return (1 if _occ(t, _PATTERN) else 0) + statistic(t[0]) + statistic(t[1])
# (* in Mathematica *)
# tree = {{{{}, {}}, {{}, {}}}, {{{}, {}}, {{}, {}}}};
# Count[tree, {{{___}, {___}}, {{___}, {{{___}, {___}}, {___}}}}, {0, Infinity}]
Diff Code
#CodeLanguage:_PATTERN = BinaryTree('[[.,.],[.,[[.,.],.]]]') def _occ(t, p): # A leaf '.' in the pattern is a wildcard; internal nodes must match # the left/right branching exactly and contiguously. if p.is_empty(): return True if t.is_empty(): return False return _occ(t[0], p[0]) and _occ(t[1], p[1]) def statistic(t): # Count the nodes of t at which the pattern sits contiguously. if t.is_empty(): return 0 return (1 if _occ(t, _PATTERN) else 0) + statistic(t[0]) + statistic(t[1]) # (* in Mathematica*) # tree = {{{{}, {}}, {{}, {}}}, {{{}, {}}, {{}, {}}}}; # Count[tree, {{{___}, {___}}, {{___}, {{{___}, {___}}, {___}}}}, {0, Infinity}]
Created
Jun 18, 2013 at 19:02 by Eric Rowland
Updated
Jul 24, 2026 at 19:50 by Nupur Jain
Identifier
St000131:
Binary trees
⟶ ℤ
Values
No modified entries
Description
The number of occurrences of the contiguous pattern [.,[[[[.,.],.],.],.]] in a binary tree.
oeis:A159772 counts binary trees avoiding this pattern.
oeis:A159772 counts binary trees avoiding this pattern.
Diff Description
The number of occurrences of the contiguous pattern {{{[.,[[[[.,.],.],.],.]]}}} in a binary tree.
[[oeis:A159772]] counts binary trees avoiding this pattern.
[[oeis:A159772]] counts binary trees avoiding this pattern.
References
[1] Rowland, E. S. Pattern avoidance in binary trees MathSciNet:2645188 arXiv:0809.0488
Code
_PATTERN = BinaryTree('[.,[[[[.,.],.],.],.]]')
def _occ(t, p):
# A leaf '.' in the pattern is a wildcard; internal nodes must match
# the left/right branching exactly and contiguously.
if p.is_empty():
return True
if t.is_empty():
return False
return _occ(t[0], p[0]) and _occ(t[1], p[1])
def statistic(t):
# Count the nodes of t at which the pattern sits contiguously.
if t.is_empty():
return 0
return (1 if _occ(t, _PATTERN) else 0) + statistic(t[0]) + statistic(t[1])
# (* in Mathematica *)
# tree = {{{{}, {}}, {{}, {}}}, {{{}, {}}, {{}, {}}}};
# Count[tree, {{___}, {{{{{___}, {___}}, {___}}, {___}}, {___}}}, {0, Infinity}]
Diff Code
_PATTERN = BinaryTree('[.,[[[[.,.],.],.],.]]')
def _occ(t, p):
# A leaf '.' in the pattern is a wildcard; internal nodes must match
# the left/right branching exactly and contiguously.
if p.is_empty():
return True
if t.is_empty():
return False
return _occ(t[0], p[0]) and _occ(t[1], p[1])
def statistic(t):
# Count the nodes of t at which the pattern sits contiguously.
if t.is_empty():
return 0
return (1 if _occ(t, _PATTERN) else 0) + statistic(t[0]) + statistic(t[1])
# (* in Mathematica *)
# tree = {{{{}, {}}, {{}, {}}}, {{{}, {}}, {{}, {}}}};
# Count[tree, {{___}, {{{{{___}, {___}}, {___}}, {___}}, {___}}}, {0, Infinity}]
Created
Jun 18, 2013 at 18:58 by Eric Rowland
Updated
Jul 24, 2026 at 19:49 by Nupur Jain
Identifier
St000130:
Binary trees
⟶ ℤ
Values
No modified entries
Description
The number of occurrences of the contiguous pattern [.,[[.,.],[[.,.],.]]] in a binary tree.
oeis:A159771 counts binary trees avoiding this pattern.
oeis:A159771 counts binary trees avoiding this pattern.
Diff Description
The number of occurrences of the contiguous pattern {{{[.,[[.,.],[[.,.],.]]]}}} in a binary tree.
[[oeis:A159771]] counts binary trees avoiding this pattern.
[[oeis:A159771]] counts binary trees avoiding this pattern.
References
[1] Rowland, E. S. Pattern avoidance in binary trees MathSciNet:2645188 arXiv:0809.0488
Code
_PATTERN = BinaryTree('[.,[[.,.],[[.,.],.]]]')
def _occ(t, p):
# A leaf '.' in the pattern is a wildcard; internal nodes must match
# the left/right branching exactly and contiguously.
if p.is_empty():
return True
if t.is_empty():
return False
return _occ(t[0], p[0]) and _occ(t[1], p[1])
def statistic(t):
# Count the nodes of t at which the pattern sits contiguously.
if t.is_empty():
return 0
return (1 if _occ(t, _PATTERN) else 0) + statistic(t[0]) + statistic(t[1])
# (* in Mathematica *)
# tree = {{{{}, {}}, {{}, {}}}, {{{}, {}}, {{}, {}}}};
# Count[tree, {{___}, {{{___}, {___}}, {{{___}, {___}}, {___}}}}, {0, Infinity}]
Diff Code
_PATTERN = BinaryTree('[.,[[.,.],[[.,.],.]]]')
def _occ(t, p):
# A leaf '.' in the pattern is a wildcard; internal nodes must match
# the left/right branching exactly and contiguously.
if p.is_empty():
return True
if t.is_empty():
return False
return _occ(t[0], p[0]) and _occ(t[1], p[1])
def statistic(t):
# Count the nodes of t at which the pattern sits contiguously.
if t.is_empty():
return 0
return (1 if _occ(t, _PATTERN) else 0) + statistic(t[0]) + statistic(t[1])
# (* in Mathematica *)
# tree = {{{{}, {}}, {{}, {}}}, {{{}, {}}, {{}, {}}}};
# Count[tree, {{___}, {{{___}, {___}}, {{{___}, {___}}, {___}}}}, {0, Infinity}]
Created
Jun 18, 2013 at 18:57 by Eric Rowland
Updated
Jul 24, 2026 at 19:47 by Nupur Jain
Identifier
St000129:
Binary trees
⟶ ℤ
Values
No modified entries
Description
The number of occurrences of the contiguous pattern [.,[.,[[[.,.],.],.]]] in a binary tree.
oeis:A159770 counts binary trees avoiding this pattern.
oeis:A159770 counts binary trees avoiding this pattern.
Diff Description
The number of occurrences of the contiguous pattern {{{[.,[.,[[[.,.],.],.]]]}}} in a binary tree.
[[oeis:A159770]] counts binary trees avoiding this pattern.
[[oeis:A159770]] counts binary trees avoiding this pattern.
References
[1] Rowland, E. S. Pattern avoidance in binary trees MathSciNet:2645188 arXiv:0809.0488
Code
_PATTERN = BinaryTree('[.,[.,[[[.,.],.],.]]]')
def _occ(t, p):
# A leaf '.' in the pattern is a wildcard; internal nodes must match
# the left/right branching exactly and contiguously.
if p.is_empty():
return True
if t.is_empty():
return False
return _occ(t[0], p[0]) and _occ(t[1], p[1])
def statistic(t):
# Count the nodes of t at which the pattern sits contiguously.
if t.is_empty():
return 0
return (1 if _occ(t, _PATTERN) else 0) + statistic(t[0]) + statistic(t[1])
# (* in Mathematica *)
# tree = {{{{}, {}}, {{}, {}}}, {{{}, {}}, {{}, {}}}};
# Count[tree, {{___}, {{___}, {{{{___}, {___}}, {___}}, {___}}}}, {0, Infinity}]
Diff Code
_PATTERN = BinaryTree('[.,[.,[[[.,.],.],.]]]')
def _occ(t, p):
# A leaf '.' in the pattern is a wildcard; internal nodes must match
# the left/right branching exactly and contiguously.
if p.is_empty():
return True
if t.is_empty():
return False
return _occ(t[0], p[0]) and _occ(t[1], p[1])
def statistic(t):
# Count the nodes of t at which the pattern sits contiguously.
if t.is_empty():
return 0
return (1 if _occ(t, _PATTERN) else 0) + statistic(t[0]) + statistic(t[1])
# (* in Mathematica *)
# tree = {{{{}, {}}, {{}, {}}}, {{{}, {}}, {{}, {}}}};
# Count[tree, {{___}, {{___}, {{{{___}, {___}}, {___}}, {___}}}}, {0, Infinity}]
Created
Jun 18, 2013 at 18:55 by Eric Rowland
Updated
Jul 24, 2026 at 19:40 by Nupur Jain
Identifier
St000128:
Binary trees
⟶ ℤ
Values
No modified entries
Description
The number of occurrences of the contiguous pattern [.,[.,[[.,[.,.]],.]]] in a binary tree.
oeis:A159769 counts binary trees avoiding this pattern.
oeis:A159769 counts binary trees avoiding this pattern.
Diff Description
The number of occurrences of the contiguous pattern {{{[.,[.,[[.,[.,.]],.]]]}}} in a binary tree.
[[oeis:A159769]] counts binary trees avoiding this pattern.
[[oeis:A159769]] counts binary trees avoiding this pattern.
References
[1] Rowland, E. S. Pattern avoidance in binary trees MathSciNet:2645188 arXiv:0809.0488
Code
_PATTERN = BinaryTree('[.,[.,[[.,[.,.]],.]]]')
def _occ(t, p):
# A leaf '.' in the pattern is a wildcard; internal nodes must match
# the left/right branching exactly and contiguously.
if p.is_empty():
return True
if t.is_empty():
return False
return _occ(t[0], p[0]) and _occ(t[1], p[1])
def statistic(t):
# Count the nodes of t at which the pattern sits contiguously.
if t.is_empty():
return 0
return (1 if _occ(t, _PATTERN) else 0) + statistic(t[0]) + statistic(t[1])
# --- original FindStat Code (Mathematica), commented out ---
# (* in Mathematica *)
# tree = {{{{}, {}}, {{}, {}}}, {{{}, {}}, {{}, {}}}};
# Count[tree, {{___}, {{___}, {{{___}, {{___}, {___}}}, {___}}}}, {0, Infinity}]
Diff Code
_PATTERN = BinaryTree('[.,[.,[[.,[.,.]],.]]]')
def _occ(t, p):
# A leaf '.' in the pattern is a wildcard; internal nodes must match
# the left/right branching exactly and contiguously.
if p.is_empty():
return True
if t.is_empty():
return False
return _occ(t[0], p[0]) and _occ(t[1], p[1])
def statistic(t):
# Count the nodes of t at which the pattern sits contiguously.
if t.is_empty():
return 0
return (1 if _occ(t, _PATTERN) else 0) + statistic(t[0]) + statistic(t[1])
# --- original FindStat Code (Mathematica), commented out ---
# (* in Mathematica *)
# tree = {{{{}, {}}, {{}, {}}}, {{{}, {}}, {{}, {}}}};
# Count[tree, {{___}, {{___}, {{{___}, {{___}, {___}}}, {___}}}}, {0, Infinity}]
Created
Jun 18, 2013 at 18:53 by Eric Rowland
Updated
Jul 24, 2026 at 19:38 by Nupur Jain
Identifier
St000127:
Binary trees
⟶ ℤ
Values
No modified entries
Description
The number of occurrences of the contiguous pattern [.,[.,[.,[[.,.],.]]]] in a binary tree.
oeis:A159768 counts binary trees avoiding this pattern.
oeis:A159768 counts binary trees avoiding this pattern.
Diff Description
The number of occurrences of the contiguous pattern {{{[.,[.,[.,[[.,.],.]]]]}}} in a binary tree.
[[oeis:A159768]] counts binary trees avoiding this pattern.
[[oeis:A159768]] counts binary trees avoiding this pattern.
References
[1] Rowland, E. S. Pattern avoidance in binary trees MathSciNet:2645188 arXiv:0809.0488
Code
_PATTERN = BinaryTree('[.,[.,[.,[[.,.],.]]]]')
def _occ(t, p):
# A leaf '.' in the pattern is a wildcard; internal nodes must match
# the left/right branching exactly and contiguously.
if p.is_empty():
return True
if t.is_empty():
return False
return _occ(t[0], p[0]) and _occ(t[1], p[1])
def statistic(t):
# Count the nodes of t at which the pattern sits contiguously.
if t.is_empty():
return 0
return (1 if _occ(t, _PATTERN) else 0) + statistic(t[0]) + statistic(t[1])
# --- original FindStat Code (Mathematica), commented out ---
# (* in Mathematica *)
# tree = {{{{}, {}}, {{}, {}}}, {{{}, {}}, {{}, {}}}};
# Count[tree, {{___}, {{___}, {{___}, {{{___}, {___}}, {___}}}}}, {0, Infinity}]
Diff Code
_PATTERN = BinaryTree('[.,[.,[.,[[.,.],.]]]]')
def _occ(t, p):
# A leaf '.' in the pattern is a wildcard; internal nodes must match
# the left/right branching exactly and contiguously.
if p.is_empty():
return True
if t.is_empty():
return False
return _occ(t[0], p[0]) and _occ(t[1], p[1])
def statistic(t):
# Count the nodes of t at which the pattern sits contiguously.
if t.is_empty():
return 0
return (1 if _occ(t, _PATTERN) else 0) + statistic(t[0]) + statistic(t[1])
# --- original FindStat Code (Mathematica), commented out ---
# (* in Mathematica *)
# tree = {{{{}, {}}, {{}, {}}}, {{{}, {}}, {{}, {}}}};
# Count[tree, {{___}, {{___}, {{___}, {{{___}, {___}}, {___}}}}}, {0, Infinity}]
Created
Jun 18, 2013 at 18:50 by Eric Rowland
Updated
Jul 24, 2026 at 19:37 by Nupur Jain
Identifier
St000126:
Binary trees
⟶ ℤ
Values
No modified entries
Description
The number of occurrences of the contiguous pattern [.,[.,[.,[.,[.,.]]]]] in a binary tree.
oeis:A036766 counts binary trees avoiding this pattern.
oeis:A036766 counts binary trees avoiding this pattern.
Diff Description
The number of occurrences of the contiguous pattern {{{[.,[.,[.,[.,[.,.]]]]]}}} in a binary tree.
[[oeis:A036766]] counts binary trees avoiding this pattern.
[[oeis:A036766]] counts binary trees avoiding this pattern.
References
[1] Rowland, E. S. Pattern avoidance in binary trees MathSciNet:2645188 arXiv:0809.0488
Code
_PATTERN = BinaryTree('[.,[.,[.,[.,[.,.]]]]]')
def _occ(t, p):
# A leaf '.' in the pattern is a wildcard; internal nodes must match
# the left/right branching exactly and contiguously.
if p.is_empty():
return True
if t.is_empty():
return False
return _occ(t[0], p[0]) and _occ(t[1], p[1])
def statistic(t):
# Count the nodes of t at which the pattern sits contiguously.
if t.is_empty():
return 0
return (1 if _occ(t, _PATTERN) else 0) + statistic(t[0]) + statistic(t[1])
# (* in Mathematica *)
# tree = {{{{}, {}}, {{}, {}}}, {{{}, {}}, {{}, {}}}};
# Count[tree, {{___}, {{___}, {{___}, {{___}, {{___}, {___}}}}}}, {0, Infinity}]
Diff Code
_PATTERN = BinaryTree('[.,[.,[.,[.,[.,.]]]]]')
def _occ(t, p):
# A leaf '.' in the pattern is a wildcard; internal nodes must match
# the left/right branching exactly and contiguously.
if p.is_empty():
return True
if t.is_empty():
return False
return _occ(t[0], p[0]) and _occ(t[1], p[1])
def statistic(t):
# Count the nodes of t at which the pattern sits contiguously.
if t.is_empty():
return 0
return (1 if _occ(t, _PATTERN) else 0) + statistic(t[0]) + statistic(t[1])
# (* in Mathematica *)
# tree = {{{{}, {}}, {{}, {}}}, {{{}, {}}, {{}, {}}}};
# Count[tree, {{___}, {{___}, {{___}, {{___}, {{___}, {___}}}}}}, {0, Infinity}]
Created
Jun 18, 2013 at 18:45 by Eric Rowland
Updated
Jul 24, 2026 at 19:36 by Nupur Jain
Identifier
St000125:
Binary trees
⟶ ℤ
Values
No modified entries
Description
The number of occurrences of the contiguous pattern [.,[[[.,.],.],.]] in a binary tree.
oeis:A005773 counts binary trees avoiding this pattern.
oeis:A005773 counts binary trees avoiding this pattern.
Diff Description
The number of occurrences of the contiguous pattern {{{[.,[[[.,.],.],.]]}}} in a binary tree.
[[oeis:A005773]] counts binary trees avoiding this pattern.
[[oeis:A005773]] counts binary trees avoiding this pattern.
References
[1] Rowland, E. S. Pattern avoidance in binary trees MathSciNet:2645188 arXiv:0809.0488
Code
_PATTERN = BinaryTree('[.,[[[.,.],.],.]]')
def _occ(t, p):
# A leaf '.' in the pattern is a wildcard; internal nodes must match
# the left/right branching exactly and contiguously.
if p.is_empty():
return True
if t.is_empty():
return False
return _occ(t[0], p[0]) and _occ(t[1], p[1])
def statistic(t):
# Count the nodes of t at which the pattern sits contiguously.
if t.is_empty():
return 0
return (1 if _occ(t, _PATTERN) else 0) + statistic(t[0]) + statistic(t[1])
# (* in Mathematica *)
# tree = {{{{}, {}}, {{}, {}}}, {{{}, {}}, {{}, {}}}};
# Count[tree, {{___}, {{{{___}, {___}}, {___}}, {___}}}, {0, Infinity}]
Diff Code
_PATTERN = BinaryTree('[.,[[[.,.],.],.]]')
def _occ(t, p):
# A leaf '.' in the pattern is a wildcard; internal nodes must match
# the left/right branching exactly and contiguously.
if p.is_empty():
return True
if t.is_empty():
return False
return _occ(t[0], p[0]) and _occ(t[1], p[1])
def statistic(t):
# Count the nodes of t at which the pattern sits contiguously.
if t.is_empty():
return 0
return (1 if _occ(t, _PATTERN) else 0) + statistic(t[0]) + statistic(t[1])
# (* in Mathematica *)
# tree = {{{{}, {}}, {{}, {}}}, {{{}, {}}, {{}, {}}}};
# Count[tree, {{___}, {{{{___}, {___}}, {___}}, {___}}}, {0, Infinity}]
Created
Jun 18, 2013 at 18:14 by Eric Rowland
Updated
Jul 24, 2026 at 19:35 by Nupur Jain
Identifier
St000122:
Binary trees
⟶ ℤ
Values
No modified entries
Description
The number of occurrences of the contiguous pattern [.,[.,[[.,.],.]]] in a binary tree.
oeis:A086581 counts binary trees avoiding this pattern.
oeis:A086581 counts binary trees avoiding this pattern.
Diff Description
The number of occurrences of the contiguous pattern {{{[.,[.,[[.,.],.]]]}}} in a binary tree.
[[oeis:A086581]] counts binary trees avoiding this pattern.
[[oeis:A086581]] counts binary trees avoiding this pattern.
References
[1] Rowland, E. S. Pattern avoidance in binary trees MathSciNet:2645188 arXiv:0809.0488
Code
_PATTERN = BinaryTree('[.,[.,[[.,.],.]]]')
def _occ(t, p):
# A leaf '.' in the pattern is a wildcard; internal nodes must match
# the left/right branching exactly and contiguously.
if p.is_empty():
return True
if t.is_empty():
return False
return _occ(t[0], p[0]) and _occ(t[1], p[1])
def statistic(t):
# Count the nodes of t at which the pattern sits contiguously.
if t.is_empty():
return 0
return (1 if _occ(t, _PATTERN) else 0) + statistic(t[0]) + statistic(t[1])
# (* in Mathematica *)
# tree = {{{{}, {}}, {{}, {}}}, {{{}, {}}, {{}, {}}}};
# Count[tree, {{___}, {{___}, {{{___}, {___}}, {___}}}}, {0, Infinity}]
Diff Code
_PATTERN = BinaryTree('[.,[.,[[.,.],.]]]')
def _occ(t, p):
# A leaf '.' in the pattern is a wildcard; internal nodes must match
# the left/right branching exactly and contiguously.
if p.is_empty():
return True
if t.is_empty():
return False
return _occ(t[0], p[0]) and _occ(t[1], p[1])
def statistic(t):
# Count the nodes of t at which the pattern sits contiguously.
if t.is_empty():
return 0
return (1 if _occ(t, _PATTERN) else 0) + statistic(t[0]) + statistic(t[1])
# (* in Mathematica *)
# tree = {{{{}, {}}, {{}, {}}}, {{{}, {}}, {{}, {}}}};
# Count[tree, {{___}, {{___}, {{{___}, {___}}, {___}}}}, {0, Infinity}]
Created
Jun 18, 2013 at 17:54 by Eric Rowland
Updated
Jul 24, 2026 at 19:34 by Nupur Jain
Identifier
St000121:
Binary trees
⟶ ℤ
Values
No modified entries
Description
The number of occurrences of the contiguous pattern [.,[.,[.,[.,.]]]] in a binary tree.
oeis:A036765 counts binary trees avoiding this pattern.
oeis:A036765 counts binary trees avoiding this pattern.
Diff Description
The number of occurrences of the contiguous pattern {{{[.,[.,[.,[.,.]]]]}}} in a binary tree.
[[oeis:A036765]] counts binary trees avoiding this pattern.
[[oeis:A036765]] counts binary trees avoiding this pattern.
References
[1] Rowland, E. S. Pattern avoidance in binary trees MathSciNet:2645188 arXiv:0809.0488
Code
_PATTERN = BinaryTree('[.,[.,[.,[.,.]]]]')
def _occ(t, p):
# A leaf '.' in the pattern is a wildcard; internal nodes must match
# the left/right branching exactly and contiguously.
if p.is_empty():
return True
if t.is_empty():
return False
return _occ(t[0], p[0]) and _occ(t[1], p[1])
def statistic(t):
# Count the nodes of t at which the pattern sits contiguously.
if t.is_empty():
return 0
return (1 if _occ(t, _PATTERN) else 0) + statistic(t[0]) + statistic(t[1])
# (* in Mathematica *)
# tree = {{{{}, {}}, {{}, {}}}, {{{}, {}}, {{}, {}}}};
# Count[tree, {{___}, {{___}, {{___}, {{___}, {___}}}}}, {0, Infinity}]
Diff Code
_PATTERN = BinaryTree('[.,[.,[.,[.,.]]]]')
def _occ(t, p):
# A leaf '.' in the pattern is a wildcard; internal nodes must match
# the left/right branching exactly and contiguously.
if p.is_empty():
return True
if t.is_empty():
return False
return _occ(t[0], p[0]) and _occ(t[1], p[1])
def statistic(t):
# Count the nodes of t at which the pattern sits contiguously.
if t.is_empty():
return 0
return (1 if _occ(t, _PATTERN) else 0) + statistic(t[0]) + statistic(t[1])
# (* in Mathematica *)
# tree = {{{{}, {}}, {{}, {}}}, {{{}, {}}, {{}, {}}}};
# Count[tree, {{___}, {{___}, {{___}, {{___}, {___}}}}}, {0, Infinity}]
Created
Jun 18, 2013 at 17:47 by Eric Rowland
Updated
Jul 24, 2026 at 19:31 by Nupur Jain
Identifier
St000118:
Binary trees
⟶ ℤ
Values
No modified entries
Description
The number of occurrences of the contiguous pattern [.,[.,[.,.]]] in a binary tree.
oeis:A001006 counts binary trees avoiding this pattern.
oeis:A001006 counts binary trees avoiding this pattern.
Diff Description
The number of occurrences of the contiguous pattern {{{[.,[.,[.,.]]]}}} in a binary tree.
[[oeis:A001006]] counts binary trees avoiding this pattern.
[[oeis:A001006]] counts binary trees avoiding this pattern.
References
[1] Donaghey, R., Shapiro, L. W. Motzkin numbers MathSciNet:0505544
[2] Rowland, E. S. Pattern avoidance in binary trees MathSciNet:2645188 arXiv:0809.0488
[2] Rowland, E. S. Pattern avoidance in binary trees MathSciNet:2645188 arXiv:0809.0488
Code
_PATTERN = BinaryTree('[.,[.,[.,.]]]')
def _occ(t, p):
# A leaf '.' in the pattern is a wildcard; internal nodes must match
# the left/right branching exactly and contiguously.
if p.is_empty():
return True
if t.is_empty():
return False
return _occ(t[0], p[0]) and _occ(t[1], p[1])
def statistic(t):
# Count the nodes of t at which the pattern sits contiguously.
if t.is_empty():
return 0
return (1 if _occ(t, _PATTERN) else 0) + statistic(t[0]) + statistic(t[1])
# (* in Mathematica *)
# tree = {{{{}, {}}, {{}, {}}}, {{{}, {}}, {{}, {}}}};
# Count[tree, {{___}, {{___}, {{___}, {___}}}}, {0, Infinity}]
Diff Code
_PATTERN = BinaryTree('[.,[.,[.,.]]]')
def _occ(t, p):
# A leaf '.' in the pattern is a wildcard; internal nodes must match
# the left/right branching exactly and contiguously.
if p.is_empty():
return True
if t.is_empty():
return False
return _occ(t[0], p[0]) and _occ(t[1], p[1])
def statistic(t):
# Count the nodes of t at which the pattern sits contiguously.
if t.is_empty():
return 0
return (1 if _occ(t, _PATTERN) else 0) + statistic(t[0]) + statistic(t[1])
# (* in Mathematica *)
# tree = {{{{}, {}}, {{}, {}}}, {{{}, {}}, {{}, {}}}};
# Count[tree, {{___}, {{___}, {{___}, {___}}}}, {0, Infinity}]
Created
Jun 18, 2013 at 16:59 by Eric Rowland
Updated
Jul 24, 2026 at 19:30 by Nupur Jain
Identifier
St001144:
Finite Cartan types
⟶ ℤ
Values
No modified entries
Description
The largest mu-coefficient of the Kazhdan Lusztig polynomial occurring in the Weyl group of given type.
The $\mu$-coefficient of the Kazhdan-Lusztig polynomial $P_{u,w}(q)$ is the coefficient of $q^{\frac{l(w)-l(u)-1}{2}}$ in $P_{u,w}(q)$.
The $\mu$-coefficient of the Kazhdan-Lusztig polynomial $P_{u,w}(q)$ is the coefficient of $q^{\frac{l(w)-l(u)-1}{2}}$ in $P_{u,w}(q)$.
References
[1] Warrington, G. S. Equivalence classes for the µ-coefficient of Kazhdan-Lusztig polynomials in $S_n$ MathSciNet:2859901
Code
def statistic(C):
W = CoxeterGroup(C, implementation='coxeter3')
r = []
for u in W:
U = (W(v) for v in W.bruhat_interval(u, W.long_element()))
next(U)
for v in U:
ldiff = v.length()-u.length()-1
if is_even(ldiff):
p = W.kazhdan_lusztig_polynomial(u, v)
r.append(p[ldiff//2])
return max(r)
Diff Code
def statistic(C): W = CoxeterGroup(C, implementation='coxeter3') r = [] for u in W:U = (W(v) for v in W.bruhat_interval(u, W.long_element())) next(U) for v in U: ldiff = v.length()-u.length()-1 if is_even(ldiff): p = W.kazhdan_lusztig_polynomial(u, v) r.append(p[ldiff//2]) return max(r)
Created
Apr 18, 2018 at 22:49 by Martin Rubey
Updated
Jul 20, 2026 at 16:58 by Nupur Jain
Identifier
St001143:
Finite Cartan types
⟶ ℤ
Values
No modified entries
Description
The number of pairs in the Weyl group of given type with mu-coefficient of the Kazhdan Lusztig polynomial being non-zero.
The $\mu$-coefficient of the Kazhdan-Lusztig polynomial $P_{u,w}(q)$ is the coefficient of $q^{\frac{l(w)-l(u)-1}{2}}$ in $P_{u,w}(q)$.
The $\mu$-coefficient of the Kazhdan-Lusztig polynomial $P_{u,w}(q)$ is the coefficient of $q^{\frac{l(w)-l(u)-1}{2}}$ in $P_{u,w}(q)$.
Diff Description
The number of pairs in the Weyl group of given type with mu-coefficient of the Kazhdan Lusztig polynomial being non-zero.
The \mu-coefficient of the Kazhdan-Lusztig polynomial P_{u,w}(q) is the coefficient of q^{\frac{l(w)-l(u)-1}{2}} in P_{u,w}(q).
The \mu-coefficient of the Kazhdan-Lusztig polynomial P_{u,w}(q) is the coefficient of q^{\frac{l(w)-l(u)-1}{2}} in P_{u,w}(q).
References
[1] Vogan, D. Number of pairs of permutation in $S_n$ whose µ-coefficient (of their Kazhdan Lusztig polynomial) is non-zero MathOverflow:298028
[2] Warrington, G. S. Equivalence classes for the µ-coefficient of Kazhdan-Lusztig polynomials in $S_n$ MathSciNet:2859901
[2] Warrington, G. S. Equivalence classes for the µ-coefficient of Kazhdan-Lusztig polynomials in $S_n$ MathSciNet:2859901
Code
def statistic(C):
"""
sage: statistic(CartanType(["A", 4]))
482
"""
W = CoxeterGroup(C, implementation='coxeter3')
r = 0
for u in W:
U = (W(v) for v in W.bruhat_interval(u, W.long_element()))
next(U)
for v in U:
ldiff = v.length()-u.length()-1
if is_even(ldiff):
p = W.kazhdan_lusztig_polynomial(u, v)
if p[ldiff//2] != 0:
r += 1
return r
Diff Code
def statistic(C): """ sage: statistic(CartanType(["A", 4])) 482 """ W = CoxeterGroup(C, implementation='coxeter3') r = 0 for u in W:U = (W(v) for v in W.bruhat_interval(u, W.long_element()))next(U)for v in U: ldiff = v.length()-u.length()-1 if is_even(ldiff):p = W.kazhdan_lusztig_polynomial(u, v)if p[ldiff//2] != 0: r += 1 return r
Created
Apr 18, 2018 at 22:32 by Martin Rubey
Updated
Jul 20, 2026 at 16:57 by Nupur Jain
Values
No modified entries
Description
The proper pathwidth of a graph.
The proper pathwidth $\operatorname{ppw}(G)$ was introduced in [1] as the minimum width of a proper-path-decomposition. Barioli et al. [2] showed that if $G$ has at least one edge, then $\operatorname{ppw}(G)$ is the minimum $k$ for which $G$ is a minor of the Cartesian product $K_k \square P$ of a complete graph on $k$ vertices with a path; and further that $\operatorname{ppw}(G)$ is the minor monotone floor $\lfloor \operatorname{Z} \rfloor(G) := \min\{\operatorname{Z}(H) \mid G \preceq H\}$ of the zero forcing number $\operatorname{Z}(G)$. It can be shown [3, Corollary 9.130] that only the spanning supergraphs need to be considered for $H$ in this definition, i.e. $\lfloor \operatorname{Z} \rfloor(G) = \min\{\operatorname{Z}(H) \mid G \le H,\; V(H) = V(G)\}$.
The minimum degree $\delta$, treewidth $\operatorname{tw}$, and pathwidth $\operatorname{pw}$ satisfy
$$\delta \le \operatorname{tw} \le \operatorname{pw} \le \operatorname{ppw} = \lfloor \operatorname{Z} \rfloor \le \operatorname{pw} + 1.$$
Note that [4] uses a different notion of proper pathwidth, which is equal to bandwidth.
The proper pathwidth $\operatorname{ppw}(G)$ was introduced in [1] as the minimum width of a proper-path-decomposition. Barioli et al. [2] showed that if $G$ has at least one edge, then $\operatorname{ppw}(G)$ is the minimum $k$ for which $G$ is a minor of the Cartesian product $K_k \square P$ of a complete graph on $k$ vertices with a path; and further that $\operatorname{ppw}(G)$ is the minor monotone floor $\lfloor \operatorname{Z} \rfloor(G) := \min\{\operatorname{Z}(H) \mid G \preceq H\}$ of the zero forcing number $\operatorname{Z}(G)$. It can be shown [3, Corollary 9.130] that only the spanning supergraphs need to be considered for $H$ in this definition, i.e. $\lfloor \operatorname{Z} \rfloor(G) = \min\{\operatorname{Z}(H) \mid G \le H,\; V(H) = V(G)\}$.
The minimum degree $\delta$, treewidth $\operatorname{tw}$, and pathwidth $\operatorname{pw}$ satisfy
$$\delta \le \operatorname{tw} \le \operatorname{pw} \le \operatorname{ppw} = \lfloor \operatorname{Z} \rfloor \le \operatorname{pw} + 1.$$
Note that [4] uses a different notion of proper pathwidth, which is equal to bandwidth.
References
[1] Takahashi, A., Ueno, S., Kajitani, Y. Minimal acyclic forbidden minors for the family of graphs with bounded path-width MathSciNet:1273610
[2] Barioli, F., Barrett, W., Fallat, S. M., Hall, H. T., Hogben, L., Shader, B., van den Driessche, P., van der Holst, H. Parameters related to tree-width, zero forcing, and maximum nullity of a graph MathSciNet:3010007
[3] Hogben, L., Lin, J. C.-H., Shader, B. L. Inverse problems and zero forcing for graphs MathSciNet:4478249
[4] Kaplan, H., Shamir, R. Pathwidth, bandwidth, and completion problems to proper interval graphs with small cliques MathSciNet:1390027
[2] Barioli, F., Barrett, W., Fallat, S. M., Hall, H. T., Hogben, L., Shader, B., van den Driessche, P., van der Holst, H. Parameters related to tree-width, zero forcing, and maximum nullity of a graph MathSciNet:3010007
[3] Hogben, L., Lin, J. C.-H., Shader, B. L. Inverse problems and zero forcing for graphs MathSciNet:4478249
[4] Kaplan, H., Shamir, R. Pathwidth, bandwidth, and completion problems to proper interval graphs with small cliques MathSciNet:1390027
Code
# code for St000482 taken from https://findstat.org/StatisticsDatabase/St00482/
import random
def Z_game(g,B,ban=[]):
"""
Input:
g: a simple graph
B: a set of initial blue vertices
ban: a set of banned vertices
Output:
return the derived set under the regular CCR-Z.
Note: vertices in ban cannot make a force, but are still white neighbors if white.
"""
V=g.vertices();
white_neighbors={}; #a dictionary with the structure {v: list of white neighbors}
white_numbers={}; #a dictionary with the structure {v: number of white neighbors}
for v in V:
nbh=g.neighbors(v);
for b in B:
try:
nbh.remove(b);
except ValueError:
pass;
white_neighbors[v]=nbh;
white_numbers[v]=len(nbh);
queue=copy(B); #queue stores list of vertices that can possibly make a force
derived_set=copy(B); #derived_set stores the set of blue vertices
whole_loop=True;
while whole_loop: #keep searching if queue!=[]
try:
v=queue[0];
queue.remove(v);
if v not in ban and white_numbers[v]==1:
u=white_neighbors[v][0]; #the only white neighbor
derived_set.append(u); #make the force
#update white_numbers, white_neighbors, and queue
if white_numbers[u]==1:
queue.append(u);
u_nbr=g.neighbors(u);
for w in u_nbr:
white_neighbors[w].remove(u);
white_numbers[w]+=-1;
if w in derived_set and white_numbers[w]==1:
queue.append(w);
except IndexError:
whole_loop=False;
return derived_set;
def St000482(g):
"""
Input:
g: a simple graph
Output:
return the value of the conventional zero forcing number Z(g).
"""
V=g.vertices();
n=g.order();
lbd=-1;
ubd=n;
while ubd-lbd>=2: #apply random algorithm;
guess=random.choice(range(lbd+1,ubd)); #take an interior point in [lbd,ubd];
found=False;
for sub in Combinations(V,guess):
if n==len(Z_game(g,sub)):
found=True;
break;
if found:
ubd=guess;
else:
lbd=guess;
return ubd;
@cached_function
def statistic(G):
if G.size() == 0:
return 0 # other definitions possible
lower_bound = G.pathwidth()
upper_bound = St000482(G) # zero forcing number
if upper_bound == lower_bound:
return upper_bound
for e in G.complement().edges(labels=False):
H = G.copy(immutable=False)
H.add_edge(e)
upper_bound = min(upper_bound, statistic(H.copy(immutable=True)))
if upper_bound == lower_bound:
return upper_bound
return upper_bound
Diff Code
# code for St000482 taken from https://findstat.org/StatisticsDatabase/St00482/
import random
def Z_game(g,B,ban=[]):
"""
Input:
g: a simple graph
B: a set of initial blue vertices
ban: a set of banned vertices
Output:
return the derived set under the regular CCR-Z.
Note: vertices in ban cannot make a force, but are still white neighbors if white.
"""
V=g.vertices();
white_neighbors={}; #a dictionary with the structure {v: list of white neighbors}
white_numbers={}; #a dictionary with the structure {v: number of white neighbors}
for v in V:
nbh=g.neighbors(v);
for b in B:
try:
nbh.remove(b);
except ValueError:
pass;
white_neighbors[v]=nbh;
white_numbers[v]=len(nbh);
queue=copy(B); #queue stores list of vertices that can possibly make a force
derived_set=copy(B); #derived_set stores the set of blue vertices
whole_loop=True;
while whole_loop: #keep searching if queue!=[]
try:
v=queue[0];
queue.remove(v);
if v not in ban and white_numbers[v]==1:
u=white_neighbors[v][0]; #the only white neighbor
derived_set.append(u); #make the force
#update white_numbers, white_neighbors, and queue
if white_numbers[u]==1:
queue.append(u);
u_nbr=g.neighbors(u);
for w in u_nbr:
white_neighbors[w].remove(u);
white_numbers[w]+=-1;
if w in derived_set and white_numbers[w]==1:
queue.append(w);
except IndexError:
whole_loop=False;
return derived_set;
def St000482(g):
"""
Input:
g: a simple graph
Output:
return the value of the conventional zero forcing number Z(g).
"""
V=g.vertices();
n=g.order();
lbd=-1;
ubd=n;
while ubd-lbd>=2: #apply random algorithm;
guess=random.choice(range(lbd+1,ubd)); #take an interior point in [lbd,ubd];
found=False;
for sub in Combinations(V,guess):
if n==len(Z_game(g,sub)):
found=True;
break;
if found:
ubd=guess;
else:
lbd=guess;
return ubd;
@cached_function
def statistic(G):
if G.size() == 0:
return 0 # other definitions possible
lower_bound = G.pathwidth()
upper_bound = St000482(G) # zero forcing number
if upper_bound == lower_bound:
return upper_bound
for e in G.complement().edges(labels=False):
H = G.copy(immutable=False)
H.add_edge(e)
upper_bound = min(upper_bound, statistic(H.copy(immutable=True)))
if upper_bound == lower_bound:
return upper_bound
return upper_bound
Created
Jan 19, 2025 at 20:34 by Lennard Hofmann
Updated
Jul 20, 2026 at 13:28 by Nupur Jain
Values
No modified entries
Description
The order of toric promotion on the set of labellings of a graph.
In the context of toric promotion, a labelling of a graph $(V, E)$ with $n=|V|$ vertices is a bijection $\sigma: V \to [n]$. In particular, any graph has $n!$ labellings.
In the context of toric promotion, a labelling of a graph $(V, E)$ with $n=|V|$ vertices is a bijection $\sigma: V \to [n]$. In particular, any graph has $n!$ labellings.
References
[1] Defant, C. Toric Promotion arXiv:2112.06843
Code
from sage.combinat.cyclic_sieving_phenomenon import orbit_decomposition
def toggle_labelling(G, pi, i, j):
if G.has_edge(pi.index(i), pi.index(j)):
return pi
sigma = [j if e == i else i if e == j else e for e in pi]
return Permutation(sigma)
def toric_promotion_labelling(G, pi):
n = G.num_verts()
assert set(G.vertices()) == set(range(n))
for i in range(1, n):
pi = toggle_labelling(G, pi, i, i+1)
return toggle_labelling(G, pi, n, 1)
def toric_promotion_labelling_orbits(G):
G = G.canonical_label().copy(immutable=True)
return toric_promotion_labelling_orbits_aux(G)
def toric_promotion_labelling_orbits_aux(G):
n = G.num_verts()
return orbit_decomposition(Permutations(n),
lambda pi: toric_promotion_labelling(G, pi))
def statistic(G):
return lcm(len(o) for o in toric_promotion_labelling_orbits(G))
Diff Code
from sage.combinat.cyclic_sieving_phenomenon import orbit_decomposition def toggle_labelling(G, pi, i, j): if G.has_edge(pi.index(i), pi.index(j)): return pi sigma = [j if e == i else i if e == j else e for e in pi] return Permutation(sigma) def toric_promotion_labelling(G, pi): n = G.num_verts() assert set(G.vertices()) == set(range(n)) for i in range(1, n): pi = toggle_labelling(G, pi, i, i+1) return toggle_labelling(G, pi, n, 1) def toric_promotion_labelling_orbits(G): G = G.canonical_label().copy(immutable=True) return toric_promotion_labelling_orbits_aux(G)@cached_functiondef toric_promotion_labelling_orbits_aux(G): n = G.num_verts() return orbit_decomposition(Permutations(n), lambda pi: toric_promotion_labelling(G, pi)) def statistic(G): return lcm(len(o) for o in toric_promotion_labelling_orbits(G))
Created
Aug 18, 2023 at 22:21 by Martin Rubey
Updated
Jul 20, 2026 at 13:02 by Nupur Jain
Values
No modified entries
Description
The number of orbits of promotion on a graph.
Let $(V, E)$ be a graph with $n=|V|$ vertices, and let $\sigma: V \to [n]$ be a labelling of its vertices. Let
$ \tau_{i, j}(\sigma) = \begin{cases} \sigma & \text{if $\{\sigma^{-1}(i), \sigma^{-1}(j)\}\in E$}\\ (i, j)\circ\sigma & \text{otherwise}. \end{cases} $
The promotion operator is the product $\tau_{n-1,n}\dots\tau_{1,2}$.
This statistic records the number of orbits in the orbit decomposition of promotion.
Let $(V, E)$ be a graph with $n=|V|$ vertices, and let $\sigma: V \to [n]$ be a labelling of its vertices. Let
$ \tau_{i, j}(\sigma) = \begin{cases} \sigma & \text{if $\{\sigma^{-1}(i), \sigma^{-1}(j)\}\in E$}\\ (i, j)\circ\sigma & \text{otherwise}. \end{cases} $
The promotion operator is the product $\tau_{n-1,n}\dots\tau_{1,2}$.
This statistic records the number of orbits in the orbit decomposition of promotion.
References
[1] Defant, C. Toric Promotion arXiv:2112.06843
Code
from sage.combinat.cyclic_sieving_phenomenon import orbit_decomposition
def toggle_labelling(G, pi, i, j):
if G.has_edge(pi.index(i), pi.index(j)):
return pi
sigma = [j if e == i else i if e == j else e for e in pi]
return Permutation(sigma)
def promotion_labelling(G, pi):
n = G.num_verts()
assert set(G.vertices()) == set(range(n))
for i in range(1, n):
pi = toggle_labelling(G, pi, i, i+1)
return pi
def promotion_labelling_orbits(G):
G = G.canonical_label().copy(immutable=True)
return promotion_labelling_orbits_aux(G)
def promotion_labelling_orbits_aux(G):
n = G.num_verts()
return orbit_decomposition(Permutations(n),
lambda pi: promotion_labelling(G, pi))
def statistic(G):
return len(promotion_labelling_orbits(G))
Diff Code
from sage.combinat.cyclic_sieving_phenomenon import orbit_decomposition def toggle_labelling(G, pi, i, j): if G.has_edge(pi.index(i), pi.index(j)): return pi sigma = [j if e == i else i if e == j else e for e in pi] return Permutation(sigma) def promotion_labelling(G, pi): n = G.num_verts() assert set(G.vertices()) == set(range(n)) for i in range(1, n): pi = toggle_labelling(G, pi, i, i+1) return pi def promotion_labelling_orbits(G): G = G.canonical_label().copy(immutable=True) return promotion_labelling_orbits_aux(G)@cached_functiondef promotion_labelling_orbits_aux(G): n = G.num_verts() return orbit_decomposition(Permutations(n), lambda pi: promotion_labelling(G, pi)) def statistic(G): return len(promotion_labelling_orbits(G))
Created
Dec 14, 2021 at 16:03 by Martin Rubey
Updated
Jul 20, 2026 at 13:02 by Nupur Jain
Values
No modified entries
Description
The number of orbits of toric promotion on a graph.
Let $(V, E)$ be a graph with $n=|V|$ vertices, and let $\sigma: V \to [n]$ be a labelling of its vertices. Let
$ \tau_{i, j}(\sigma) = \begin{cases} \sigma & \text{if $\{\sigma^{-1}(i), \sigma^{-1}(j)\}\in E$}\\ (i, j)\circ\sigma & \text{otherwise}. \end{cases} $
The toric promotion operator is the product $\tau_{n,1}\tau_{n-1,n}\dots\tau_{1,2}$.
This statistic records the number of orbits in the orbit decomposition of toric promotion.
Let $(V, E)$ be a graph with $n=|V|$ vertices, and let $\sigma: V \to [n]$ be a labelling of its vertices. Let
$ \tau_{i, j}(\sigma) = \begin{cases} \sigma & \text{if $\{\sigma^{-1}(i), \sigma^{-1}(j)\}\in E$}\\ (i, j)\circ\sigma & \text{otherwise}. \end{cases} $
The toric promotion operator is the product $\tau_{n,1}\tau_{n-1,n}\dots\tau_{1,2}$.
This statistic records the number of orbits in the orbit decomposition of toric promotion.
References
[1] Defant, C. Toric Promotion arXiv:2112.06843
Code
from sage.combinat.cyclic_sieving_phenomenon import orbit_decomposition
def toggle_labelling(G, pi, i, j):
if G.has_edge(pi.index(i), pi.index(j)):
return pi
sigma = [j if e == i else i if e == j else e for e in pi]
return Permutation(sigma)
def toric_promotion_labelling(G, pi):
n = G.num_verts()
assert set(G.vertices()) == set(range(n))
for i in range(1, n):
pi = toggle_labelling(G, pi, i, i+1)
return toggle_labelling(G, pi, n, 1)
def toric_promotion_labelling_orbits(G):
G = G.canonical_label().copy(immutable=True)
return toric_promotion_labelling_orbits_aux(G)
def toric_promotion_labelling_orbits_aux(G):
n = G.num_verts()
return orbit_decomposition(Permutations(n),
lambda pi: toric_promotion_labelling(G, pi))
def statistic(G):
return len(toric_promotion_labelling_orbits(G))
Diff Code
from sage.combinat.cyclic_sieving_phenomenon import orbit_decomposition def toggle_labelling(G, pi, i, j): if G.has_edge(pi.index(i), pi.index(j)): return pi sigma = [j if e == i else i if e == j else e for e in pi] return Permutation(sigma) def toric_promotion_labelling(G, pi): n = G.num_verts() assert set(G.vertices()) == set(range(n)) for i in range(1, n): pi = toggle_labelling(G, pi, i, i+1) return toggle_labelling(G, pi, n, 1) def toric_promotion_labelling_orbits(G): G = G.canonical_label().copy(immutable=True) return toric_promotion_labelling_orbits_aux(G)@cached_functiondef toric_promotion_labelling_orbits_aux(G): n = G.num_verts() return orbit_decomposition(Permutations(n), lambda pi: toric_promotion_labelling(G, pi)) def statistic(G): return len(toric_promotion_labelling_orbits(G))
Created
Dec 14, 2021 at 15:56 by Martin Rubey
Updated
Jul 20, 2026 at 13:01 by Nupur Jain
Values
No modified entries
Description
The skewness of a graph.
For a graph $G$, the skewness of $G$ is the minimum number of edges of $G$ whose removal results in a planar graph.
For a graph $G$, the skewness of $G$ is the minimum number of edges of $G$ whose removal results in a planar graph.
References
[1] Cimikowski, R. J. Graph planarization and skewness MathSciNet:1208914
[2] wikipedia:Planarization
[3] http://mathworld.wolfram.com/GraphSkewness.html
[2] wikipedia:Planarization
[3] http://mathworld.wolfram.com/GraphSkewness.html
Code
@cached_function
def statistic(G):
if G.is_planar():
return 0
bound = G.size()
for e in G.edges(labels=False):
H = G.copy(immutable=False)
H.delete_edge(e)
bound = min(bound, 1+statistic(H.canonical_label().copy(immutable=True)))
return bound
# alternative slower code
# def statistic(G):
# E = G.edges(labels=False)
# m = len(E)
# for sublist in reversed(Subsets(E).list()):
# if Graph(list(sublist)).is_planar():
# return m-len(sublist)
Diff Code
@cached_function def statistic(G): if G.is_planar(): return 0 bound = G.size() for e in G.edges(labels=False): H = G.copy(immutable=False) H.delete_edge(e) bound = min(bound, 1+statistic(H.canonical_label().copy(immutable=True))) return bound # alternative slower code # def statistic(G): # E = G.edges(labels=False) # m = len(E) # for sublist in reversed(Subsets(E).list()): # if Graph(list(sublist)).is_planar(): # return m-len(sublist)
Created
Dec 09, 2015 at 11:47 by Christian Stump
Updated
Jul 20, 2026 at 11:32 by Nupur Jain
Identifier
St001065:
Dyck paths
⟶ ℤ
Values
No modified entries
Description
Number of indecomposable reflexive modules in the corresponding Nakayama algebra.
References
Code
# Pure combinatorial: count indecomposable reflexive (2-syzygy) modules
# with dominant dimension >= 1.
# For Nakayama algebras, domdim >= 1 means the module is torsionless (a 1st syzygy).
# Every 2-syzygy is automatically a 1st syzygy, so the domdim filter is redundant.
# An indecomposable M(i, l) is a 2-syzygy iff:
# - M(i, l) is projective (l = K[i]), OR
# - ∃ M(j, m) with Ω²(M(j, m)) = M(i, l)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
n = len(K)
def omega(i, l):
if l == K[i]:
return None
ni, nl = i + l, K[i] - l
if ni >= n or nl <= 0:
return None
return (ni, nl)
syzygy2_modules = set()
# All projective modules are reflexive (2-syzygies for all n)
for i in range(n):
syzygy2_modules.add((i, K[i]))
# Find non-projective indecomposables that appear as Ω² of something
for j in range(n):
for l in range(1, K[j] + 1):
cur = (j, l)
for _ in range(2):
if cur is None:
break
cur = omega(cur[0], cur[1])
if cur is not None:
syzygy2_modules.add(cur)
return ZZ(len(syzygy2_modules))
Diff Code
DeclareOperation("IsNthSyzygy",[IsList]); InstallMethod(IsNthSyzygy, "for a representation of a quiver", [IsList],0,function(LIST) local M, n, f, N, i, h,W; M:=LIST[1]; n:=LIST[2]; N:=DualOfModule(NthSyzygy(DualOfModule(M),n)); W:=NthSyzygy(N,n); if IsDirectSummand(M,W)=true then return(1); else return(0); fi; end); DeclareOperation("NumberOfReflexiveModules",[IsList# Pure combinatorial: count indecomposable reflexive (2-syzygy) modules # with dominant dimension >= 1. # For Nakayama algebras, domdim >= 1 means the module is torsionless (a 1st syzygy). # Every 2-syzygy is automatically a 1st syzygy, so the domdim filter is redundant. # An indecomposable M(i, l) is a 2-syzygy iff: # - M(i, l) is projective (l = K[i]), OR # - ∃ M(j, m) with Ω²(M(j, m)) = M(i, l) def kupisch(D): DR = D.reverse() H = DR.heights() return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1] def statistic(D): K = kupisch(D) n = len(K) def omega(i, l): if l == K[i]: return None ni, nl = i + l, K[i] - l if ni >= n or nl <= 0: return None return (ni, nl) syzygy2_modules = set() # All projective modules are reflexive (2-syzygies for all n) for i in range(n): syzygy2_modules.add((i, K[i]);)InstallMethod(NumberOfReflexiveModules, "for a representation of a quiver", [IsList],0,function(LIST) local M, n, f, N, i, h,W; L:=LIST[1]; A:=NakayamaAlgebra(L,GF(3)); L:=ARQuiver([A,1000])[2]; LL1:=Filtered(L,x->DominantDimensionOfModule(x,30)>=1); LL2:=Filtered(LL1,x->IsNthSyzygy([x,2])=1); return(Size(LL2)); end);# Find non-projective indecomposables that appear as Ω² of something for j in range(n): for l in range(1, K[j] + 1): cur = (j, l) for _ in range(2): if cur is None: break cur = omega(cur[0], cur[1]) if cur is not None: syzygy2_modules.add(cur) return ZZ(len(syzygy2_modules))
Created
Dec 30, 2017 at 17:27 by Rene Marczinzik
Updated
Jul 16, 2026 at 13:56 by Nupur Jain
Identifier
St001509:
Dyck paths
⟶ ℤ
Values
No modified entries
Description
The degree of the standard monomial associated to a Dyck path relative to the trivial lower boundary.
Given two lattice paths $U,L$ from $(0,0)$ to $(d,n-d)$, [1] describes a bijection between lattice paths weakly between $U$ and $L$ and subsets of $\{1,\dots,n\}$ such that the set of all such subsets gives the standard complex of the lattice path matroid $M[U,L]$.
This statistic gives the cardinality of the image of this bijection when a Dyck path is considered as a path weakly below the diagonal and relative to the trivial lower boundary.
Given two lattice paths $U,L$ from $(0,0)$ to $(d,n-d)$, [1] describes a bijection between lattice paths weakly between $U$ and $L$ and subsets of $\{1,\dots,n\}$ such that the set of all such subsets gives the standard complex of the lattice path matroid $M[U,L]$.
This statistic gives the cardinality of the image of this bijection when a Dyck path is considered as a path weakly below the diagonal and relative to the trivial lower boundary.
References
[1] Engström, A., Sanyal, R., Stump, C. Standard complexes of matroids and lattice paths arXiv:1911.12290
Code
def standard_monomial(D, low=None, east=1):
n = len(D)
A = [ i+1 for i,s in enumerate(D) if s == 1-east ]
if low is None:
low = [1 .. len(A)]
low = [ i for i in [1 .. n] if i not in low ]
vals = []
j = 0
blocker = low + [Infinity]
for i in [1 .. n]:
if i not in A:
if i < blocker[0]:
j += 1
else:
blocker.pop(0)
else:
if j > 0:
j -= 1
vals.append(i)
blocker.pop(0)
return tuple(vals)
def statistic(D):
return len(standard_monomial(D, east=0))
Diff Code
def standard_monomial(D, low=None, east=1): n = len(D) A = [ i+1 for i,s in enumerate(D) if s == 1-east ]low = [ i+1 for i,s in enumerate(low) if s == 1-east ]if low is None: low = [1 .. len(A)] low = [ i for i in [1 .. n] if i not in low ] vals = [] j = 0 blocker = low + [Infinity] for i in [1 .. n]: if i not in A: if i < blocker[0]: j += 1 else: blocker.pop(0) else: if j > 0: j -= 1 vals.append(i) blocker.pop(0) return tuple(vals) def statistic(D): return len(standard_monomial(D, east=0))
Created
Nov 28, 2019 at 17:31 by Christian Stump
Updated
Jul 16, 2026 at 13:46 by Nupur Jain
Identifier
St001831:
Perfect matchings
⟶ ℤ
Values
No modified entries
Description
The multiplicity of the non-nesting perfect matching in the chord expansion of a perfect matching.
Given a perfect matching, we obtain a formal sum of non-crossing perfect matchings by replacing recursively every matching $M$ that has a crossing $(a, c), (b, d)$ with $a < b < c < d$ with the sum of the two matchings $(M\setminus \{(a,c), (b,d)\})\cup \{(a,b), (c,d)\}$ and $(M\setminus \{(a,c), (b,d)\})\cup \{(a,d), (b,c)\}$.
This statistic is the coefficient of the unique non-nesting perfect matching in the formal sum.
Computer experiments indicate that this statistic has the same distribution as StatisticsDatabase/St000383oMp00128oMp00215oMp00092.
Given a perfect matching, we obtain a formal sum of non-crossing perfect matchings by replacing recursively every matching $M$ that has a crossing $(a, c), (b, d)$ with $a < b < c < d$ with the sum of the two matchings $(M\setminus \{(a,c), (b,d)\})\cup \{(a,b), (c,d)\}$ and $(M\setminus \{(a,c), (b,d)\})\cup \{(a,d), (b,c)\}$.
This statistic is the coefficient of the unique non-nesting perfect matching in the formal sum.
Computer experiments indicate that this statistic has the same distribution as StatisticsDatabase/St000383oMp00128oMp00215oMp00092.
Code
def expand(M, ac, bd):
a, c = ac
b, d = bd
m = list(M)
m.remove(frozenset(ac))
m.remove(frozenset(bd))
m1 = m + [frozenset([a, b]), frozenset([c, d])]
m2 = m + [frozenset([a, d]), frozenset([b, c])]
return PerfectMatching(m1), PerfectMatching(m2)
def expansion(M):
input = {M: 1}
output = {}
while input:
m, e = input.popitem()
try:
ac, bd = next(m.crossings_iterator())
except StopIteration:
output[m] = output.get(m, 0) + e
else:
m1, m2 = expand(m, ac, bd)
input[m1] = input.get(m1, 0) + e
input[m2] = input.get(m2, 0) + e
return output
def statistic(M):
NN = PerfectMatching([[2*i+1,2*(i+1)] for i in range(len(M))])
return expansion(M).get(NN, 0)
Diff Code
def expand(M, ac, bd): a, c = ac b, d = bd m = list(M) m.remove(frozenset(ac)) m.remove(frozenset(bd)) m1 = m + [frozenset([a, b]), frozenset([c, d])] m2 = m + [frozenset([a, d]), frozenset([b, c])] return PerfectMatching(m1), PerfectMatching(m2) def expansion(M): input = {M: 1} output = {} while input: m, e = input.popitem() try: ac, bd = next(m.crossings_iterator()) except StopIteration: output[m] = output.get(m, 0) + e else: m1, m2 = expand(m, ac, bd) input[m1] = input.get(m1, 0) + e input[m2] = input.get(m2, 0) + e return output def statistic(M): NN = PerfectMatching([[2*i+1,2*(i+1)] for i in range(len(M))]) return expansion(M).get(non_nesting_non_crossing(len(M))NN, 0)
Created
Sep 01, 2022 at 09:34 by Martin Rubey
Updated
Jul 16, 2026 at 13:43 by Nupur Jain
Identifier
St000787:
Perfect matchings
⟶ ℤ
Values
No modified entries
Description
The number of flips required to make a perfect matching noncrossing.
A crossing in a perfect matching is a pair of arcs $\{a,b\}$ and $\{c,d\}$ such that $a < c < b < d$. Replacing any such pair by either $\{a,c\}$ and $\{b,d\}$ or by $\{a,d\}$, $\{b,c\}$ produces a perfect matching with fewer crossings.
This statistic is the minimal number of such flips required to turn a given matching into a noncrossing matching.
A crossing in a perfect matching is a pair of arcs $\{a,b\}$ and $\{c,d\}$ such that $a < c < b < d$. Replacing any such pair by either $\{a,c\}$ and $\{b,d\}$ or by $\{a,d\}$, $\{b,c\}$ produces a perfect matching with fewer crossings.
This statistic is the minimal number of such flips required to turn a given matching into a noncrossing matching.
References
[1] Bonnet, É., Miltzow, T. Flip Distance to a Non-crossing Perfect Matching arXiv:1601.05989
Code
@cached_function
def statistic(w):
def children(m):
for (a,b),(c,d) in m.crossings():
m_new = list(m)
m_new.remove(frozenset((a,b)))
m_new.remove(frozenset((c,d)))
A, B = min(a,b), max(a,b)
C, D = min(c,d), max(c,d)
if C < A:
(A,B),(C,D) = (C,D),(A,B)
yield PerfectMatching(m_new + [frozenset((A,C)), frozenset((B,D))])
yield PerfectMatching(m_new + [frozenset((A,D)), frozenset((B,C))])
w = PerfectMatching(sorted([sorted(a) for a in w]))
l = [statistic(v) for v in children(w)]
if len(l) == 0:
return 0
else:
return 1+min(l)
Diff Code
@cached_function def statistic(w): def children(m): for (a,b),(c,d) in m.crossings(): m_new = list(m) m_new.remove(frozenset((a,b))) m_new.remove(frozenset((c,d))) A, B = min(a,b), max(a,b) C, D = min(c,d), max(c,d) if C < A: (A,B),(C,D) = (C,D),(A,B) yield PerfectMatching(m_new + [frozenset((A,C)), frozenset((B,D))]) yield PerfectMatching(m_new + [frozenset((A,D)), frozenset((B,C))]) w = PerfectMatching(sorted([sorted(a) for a in w])) l = [statistic(v) for v in children(w)] if len(l) == 0: return 0 else: return 1+min(l)
Created
Apr 20, 2017 at 21:16 by Martin Rubey
Updated
Jul 16, 2026 at 13:42 by Nupur Jain
Identifier
St000754:
Perfect matchings
⟶ ℤ
Values
No modified entries
Description
The Grundy value for the game of removing nestings in a perfect matching.
A move consists of choosing a nesting, that is two pairs $(a,d)$ and $(b,c)$ with $a < b < c < d$ and replacing them with the two pairs $(a,b)$ and $(c,d)$. The player facing a non-nesting matching looses.
A move consists of choosing a nesting, that is two pairs $(a,d)$ and $(b,c)$ with $a < b < c < d$ and replacing them with the two pairs $(a,b)$ and $(c,d)$. The player facing a non-nesting matching looses.
Code
@cached_function
def statistic(w):
def children(m):
for (a,b),(c,d) in m.nestings():
m_new = list(m)
m_new.remove(frozenset((a,b)))
m_new.remove(frozenset((c,d)))
A = min(a,b)
B = max(a,b)
C = min(c,d)
D = max(c,d)
if C < A:
(A,B),(C,D) = (C,D),(A,B)
yield PerfectMatching(m_new + [frozenset((A,C)), frozenset((B,D))])
l = [statistic(v) for v in children(w)]
i = 0
while i in l:
i += 1
return i
Diff Code
@cached_function def statistic(w): def children(m): for (a,b),(c,d) in m.nestings(): m_new = list(m) m_new.remove(frozenset((a,b))) m_new.remove(frozenset((c,d))) A = min(a,b) B = max(a,b) C = min(c,d) D = max(c,d) if C < A: (A,B),(C,D) = (C,D),(A,B) yield PerfectMatching(m_new + [frozenset((A,C)), frozenset((B,D))]) l = [statistic(v) for v in children(w)] i = 0 while i in l: i += 1 return i
Created
Apr 07, 2017 at 21:48 by Martin Rubey
Updated
Jul 16, 2026 at 13:41 by Nupur Jain
Identifier
St001408:
Semistandard tableaux
⟶ ℤ
Values
No modified entries
Description
The number of maximal entries in a semistandard tableau.
An entry is maximal if replacing it with a larger entry does not yield a semistandard tableau.
An entry is maximal if replacing it with a larger entry does not yield a semistandard tableau.
Code
def statistic(T):
S = [[e for e in row] for row in T]
count = 0
for i, row in enumerate(S):
for j, e in enumerate(row):
S[i][j] = e+1
try:
_ = SemistandardTableau(S)
except Exception:
count += 1
S[i][j] = e
return count
Diff Code
def statistic(T): S = [[e for e in row] for row in T] count = 0 for i, row in enumerate(S): for j, e in enumerate(row): S[i][j] = e+1 try: _ = SemistandardTableau(S) exceptStandardErrorException: count += 1 S[i][j] = e return count
Created
Jun 03, 2019 at 12:36 by Martin Rubey
Updated
Jul 16, 2026 at 13:15 by Nupur Jain
Identifier
St001407:
Semistandard tableaux
⟶ ℤ
Values
No modified entries
Description
The number of minimal entries in a semistandard tableau.
An entry is minimal if replacing it with a smaller entry does not yield a semistandard tableau.
An entry is minimal if replacing it with a smaller entry does not yield a semistandard tableau.
Code
def statistic(T):
S = [[e for e in row] for row in T]
count = 0
for i, row in enumerate(S):
for j, e in enumerate(row):
S[i][j] = e-1
try:
_ = SemistandardTableau(S)
except Exception:
count += 1
S[i][j] = e
return count
Diff Code
def statistic(T): S = [[e for e in row] for row in T] count = 0 for i, row in enumerate(S): for j, e in enumerate(row): S[i][j] = e-1 try: _ = SemistandardTableau(S) exceptStandardErrorException: count += 1 S[i][j] = e return count
Created
Jun 02, 2019 at 23:09 by Martin Rubey
Updated
Jul 16, 2026 at 13:12 by Nupur Jain
Identifier
St000174:
Semistandard tableaux
⟶ ℤ
Values
No modified entries
Description
The flush statistic of a semistandard tableau.
Let $T$ be a tableaux with $r$ rows such that each row is longer than the row beneath it by at least one box. Let $1 \leq i < k \leq r+1$ and suppose $l$ is the smallest integer greater than $k$ such that there exists an $l$-segment in the $(i+1)$-st row of $T$. A $k$-segment in the $i$-th row of $T$ is called flush if the leftmost box in the $k$-segment and the leftmost box of the $l$-segment are in the same column of $T$. If, however, no such $l$ exists, then this $k$-segment is said to be flush if the number of boxes in the $k$-segment is equal to difference of the number of boxes between the $i$-th row and $(i+1)$-st row. The flush statistic is given by the number of $k$-segments in $T$.
Let $T$ be a tableaux with $r$ rows such that each row is longer than the row beneath it by at least one box. Let $1 \leq i < k \leq r+1$ and suppose $l$ is the smallest integer greater than $k$ such that there exists an $l$-segment in the $(i+1)$-st row of $T$. A $k$-segment in the $i$-th row of $T$ is called flush if the leftmost box in the $k$-segment and the leftmost box of the $l$-segment are in the same column of $T$. If, however, no such $l$ exists, then this $k$-segment is said to be flush if the number of boxes in the $k$-segment is equal to difference of the number of boxes between the $i$-th row and $(i+1)$-st row. The flush statistic is given by the number of $k$-segments in $T$.
References
[1] Salisbury, B. The flush statistic on semistandard Young tableaux arXiv:1401.1185
Code
def statistic(T):
f = 0
segments = {}
for r in range(len(T)):
for c in range(len(T[r])):
for j in range(c+1):
if T[r][j] != r+1:
if (r,T[r][j]) not in segments.keys():
segments[(r,T[r][j])] = j
L = segments.items()
for s in segments.items():
if s[0][0] != len(T)-1 and s[1] == len(T[s[0][0]+1]) and T[s[0][0]+1][-1] <= s[0][1]:
f += 1
if s[0][0] == len(T)-1 and s[1] == 0:
f += 1
else:
for t in L:
if s[0][0]+1 == t[0][0] and s[1] == t[1]:
if s[1] >= 1 and T[s[0][0]+1][s[1]] != T[s[0][0]+1][s[1]-1]:
f += 1
if s[1] < 1 and T[s[0][0]+1][s[1]] != s[0][0]+2:
f += 1
return f
Diff Code
def statistic(T): f = 0 segments = {} for r in range(len(T)): for c in range(len(T[r])): for j in range(c+1): if T[r][j] != r+1: if (r,T[r][j]) not in segments.keys(): segments[(r,T[r][j])] = j L = segments.items() for s in segments.iteritems(): if s[0][0] != len(T)-1 and s[1] == len(T[s[0][0]+1]) and T[s[0][0]+1][-1] <= s[0][1]: f += 1 if s[0][0] == len(T)-1 and s[1] == 0: f += 1 else: for t in L: if s[0][0]+1 == t[0][0] and s[1] == t[1]: if s[1] >= 1 and T[s[0][0]+1][s[1]] != T[s[0][0]+1][s[1]-1]: f += 1 if s[1] < 1 and T[s[0][0]+1][s[1]] != s[0][0]+2: f += 1 return f
Created
Jan 15, 2014 at 19:13 by Ben Salisbury
Updated
Jul 16, 2026 at 13:11 by Nupur Jain
Values
No modified entries
Description
The number of endomorphisms of a poset.
References
[1] Prince, R. Whether a total order set of size $n$ has the fewest endomorphisms among posets of size $n$ MathOverflow:252899
Code
def statistic(P):
return len(poset_endomorphisms(P))
def poset_endomorphisms(P):
P = P.relabel()
r = P.cardinality()
S = cartesian_product([range(r)]*r)
return [pi for pi in S if P.is_poset_morphism(lambda i: pi[i], P)]
# (* Mathematica code using depth first recursion *)
# endoCount::usage := "If rel is a reflexive relation on 1,2,..,Max[rel], then \
# endoCount[rel] is the number of self maps f for which {f[a],f[b]} is in the \
# relation whenever {a,b} is in the relation.”
# endoCount[rel_] := morphismCount[rel, rel]
# morphismCount[rel1_List, rel2_List] :=
# Module[{max1 = Max[rel1], max2 = Max[rel2], down, checkdown, num, ans},
# Do[down[i] = Select[rel1, Max[#] == i &], {i, max1}];
# checkdown[f_List] := AllTrue[down[Length[f]], MemberQ[rel2, f[[#1]]] &];
# num[{}] := Sum[num[{i}], {i, max2}];
# num[f_List] :=
# If[checkdown[f],
# If[Length[f] == max1, 1, Sum[num[Append[f, i]], {i, max2}]], 0];
# ans = num[{}]; Clear[checkdown, down]; ans]
# (* example *)
# endoCount[{{1, 1}, {1, 2}, {1, 10}, {2, 2}, {3, 2}, {3, 3}, {3,
# 4}, {4, 4}, {5, 4}, {5, 5}, {5, 6}, {6, 6}, {7, 6}, {7, 7}, {7,
# 8}, {8, 8}, {9, 8}, {9, 9}, {9, 10}, {10, 10}}]
# (* gives 10030 *)
# (* Sanity checks are to be added. For instance we must have
# Union @@ rel == Range[Max[rel]]
# *)
Diff Code
def statistic(P): return len(poset_endomorphisms(P)) def poset_endomorphisms(P): P = P.relabel() r = P.cardinality() S = cartesian_product([range(r)]*r) return [pi for pi in S if P.is_poset_morphism(lambda i: pi[i], P)] # (* Mathematica code using depth first recursion *) # endoCount::usage := "If rel is a reflexive relation on 1,2,..,Max[rel], then \ # endoCount[rel] is the number of self maps f for which {f[a],f[b]} is in the \ # relation whenever {a,b} is in the relation.” # endoCount[rel_] := morphismCount[rel, rel] # morphismCount[rel1_List, rel2_List] := # Module[{max1 = Max[rel1], max2 = Max[rel2], down, checkdown, num, ans}, # Do[down[i] = Select[rel1, Max[#] == i &], {i, max1}]; # checkdown[f_List] := AllTrue[down[Length[f]], MemberQ[rel2, f[[#1]]] &]; # num[{}] := Sum[num[{i}], {i, max2}]; # num[f_List] := # If[checkdown[f], # If[Length[f] == max1, 1, Sum[num[Append[f, i]], {i, max2}]], 0]; # ans = num[{}]; Clear[checkdown, down]; ans] # (* example *) # endoCount[{{1, 1}, {1, 2}, {1, 10}, {2, 2}, {3, 2}, {3, 3}, {3, # 4}, {4, 4}, {5, 4}, {5, 5}, {5, 6}, {6, 6}, {7, 6}, {7, 7}, {7, # 8}, {8, 8}, {9, 8}, {9, 9}, {9, 10}, {10, 10}}] # (* gives 10030 *) # (* Sanity checks are to be added. For instance we must have # Union @@ rel == Range[Max[rel]]*)# *)
Created
Oct 24, 2016 at 12:49 by Martin Rubey
Updated
Jul 16, 2026 at 13:10 by Nupur Jain
Identifier
St001721:
Binary words ⟶ ℤ
Values
No modified entries
Description
The degree of a binary word.
A valley in a binary word is a letter $0$ which is not immediately followed by a $1$. A peak is a letter $1$ which is not immediately followed by a $0$.
Let $f$ be the map that replaces every valley with a peak. The degree of a binary word $w$ is the number of times $f$ has to be applied to obtain a binary word without zeros.
A valley in a binary word is a letter $0$ which is not immediately followed by a $1$. A peak is a letter $1$ which is not immediately followed by a $0$.
Let $f$ be the map that replaces every valley with a peak. The degree of a binary word $w$ is the number of times $f$ has to be applied to obtain a binary word without zeros.
References
[1] Tasoulas, I., Manes, K., Sapounakis, A., Tsikouras, P. Chains with small intervals in the lattice of binary paths MathSciNet:4054761
Code
def filling(w):
w = list(w)
f = list(w)
for i in range(len(w)-1):
if w[i:i+2] == [0, 1]:
f[i:i+2] = [1, 0]
if w[len(w)-1] == 0:
f[len(w)-1] = 1
return Words([0,1])(f)
def degree(w):
d = 0
while w.count(0):
w = filling(w)
d += 1
return d
def statistic(w):
return degree(w)
Diff Code
def filling(w): w = list(w) f = list(w) for i in range(len(w)-1): if w[i:i+2] == [0, 1]: f[i:i+2] = [1, 0] if w[len(w)-1] == 0: f[len(w)-1] = 1 return Words([0,1])(f) defstatisticdegree(w): d = 0 while w.count(0): w = filling(w) d += 1 return d def statistic(w): return degree(w)
Created
May 20, 2021 at 12:23 by Martin Rubey
Updated
Jul 16, 2026 at 13:08 by Nupur Jain
Identifier
St000529:
Binary words ⟶ ℤ
Values
No modified entries
Description
The number of permutations whose descent word is the given binary word.
This is the sizes of the preimages of the map Mp00109descent word.
This is the sizes of the preimages of the map Mp00109descent word.
Code
from collections import defaultdict
def word(pi):
w = [0]*(len(pi)-1)
for i in pi.descents(from_zero=True):
w[i] = 1
return Words([0,1])(w)
@cached_function
def preimages(n):
D = defaultdict(int)
for pi in Permutations(n):
D[word(pi)] += 1
return D
def statistic(word):
return preimages(len(word)+Integer(1))[word]
Diff Code
from collections import defaultdict def word(pi): w = [0]*(len(pi)-1) for i in pi.descents(from_zero=True): w[i] = 1 return Words([0,1])(w) @cached_function def preimages(n): D = defaultdict(int) for pi in Permutations(n): D[word(pi)] += 1 return D def statistic(word): return preimages(len(word)+Integer(1))[word]
Created
Jun 08, 2016 at 13:19 by Christian Stump
Updated
Jul 16, 2026 at 13:08 by Nupur Jain
Identifier
St000201:
Binary trees
⟶ ℤ
(values match
St000196The number of occurrences of the contiguous pattern [[.,.],[.,.)
Values
No modified entries
Description
The number of leaf nodes in a binary tree.
Equivalently, the number of cherries [1] in the complete binary tree.
The number of binary trees of size $n$, at least $1$, with exactly one leaf node for is $2^{n-1}$, see [2].
The number of binary tree of size $n$, at least $3$, with exactly two leaf nodes is $n(n+1)2^{n-2}$, see [3].
Equivalently, the number of cherries [1] in the complete binary tree.
The number of binary trees of size $n$, at least $1$, with exactly one leaf node for is $2^{n-1}$, see [2].
The number of binary tree of size $n$, at least $3$, with exactly two leaf nodes is $n(n+1)2^{n-2}$, see [3].
References
[1] Billey, S., Konvalinka, M., Matsen, F. A. I. On the enumeration of tanglegrams and tangled chains arXiv:1507.04976
[2] Powers of 2: a(n) = 2^n. OEIS:A000079
[3] a(n) = n*(n+1)*2^(n-2). OEIS:A001788
[2] Powers of 2: a(n) = 2^n. OEIS:A000079
[3] a(n) = n*(n+1)*2^(n-2). OEIS:A001788
Code
def statistic(B):
if B == BinaryTree():
return 0
if B == BinaryTree([]):
return 1
return sum(statistic(S) for S in B)
# alternative implementation
# BinaryTree -> Bool
# def is_leaf(b):
# return b == BinaryTree('.')
# # BinaryTree -> Int
# def leaf_count(b):
# if is_leaf(b):
# return 0
# if is_leaf(b[0]) and is_leaf(b[1]):
# return 1
# return 0
# # (Num a) => a -> a -> a
# def add(a, b):
# return a + b
# # (a -> a -> a) -> (BinaryTree -> a) -> BinaryTree -> a
# def fold_tree(f, g, b):
# if is_leaf(b):
# return g(b)
# else:
# return f(g(b), f(fold_tree(f, g, b[0]), fold_tree(f, g, b[1])))
# for n in [0..7]:
# for b in BinaryTrees(n):
# indiv_count = fold_tree(add, leaf_count, b)
# print b, '=>', indiv_count
Diff Code
def statistic(B): if B == BinaryTree(): return 0 if B == BinaryTree([]): return 1 return sum(statistic(S) for S in B) # alternative implementation # BinaryTree -> Bool # def is_leaf(b): # return b == BinaryTree('.') # # BinaryTree -> Int # def leaf_count(b): # if is_leaf(b): # return 0 # if is_leaf(b[0]) and is_leaf(b[1]): # return 1 # return 0 # # (Num a) => a -> a -> a # def add(a, b): # return a + b # # (a -> a -> a) -> (BinaryTree -> a) -> BinaryTree -> a # def fold_tree(f, g, b): # if is_leaf(b): # return g(b) # else: # return f(g(b), f(fold_tree(f, g, b[0]), fold_tree(f, g, b[1]))) # for n in [0..7]: # for b in BinaryTrees(n): # indiv_count = fold_tree(add, leaf_count, b) # print b, '=>', indiv_count
Created
May 16, 2014 at 09:02 by Joseph Ching
Updated
Jul 16, 2026 at 13:03 by Nupur Jain
Values
No modified entries
Description
The number of non-convex subsets of vertices in a graph.
A set of vertices $U$ is convex, if for any two vertices $u,v\in U$, all vertices on any shortest path connecting $u$ and $v$ are also in $U$.
A set of vertices $U$ is convex, if for any two vertices $u,v\in U$, all vertices on any shortest path connecting $u$ and $v$ are also in $U$.
Code
def statistic(G):
from sage.graphs.convexity_properties import ConvexityProperties
return sum(1 for V in subsets(G) if set(ConvexityProperties(G).hull(V)) != set(V))
Diff Code
def statistic(G): from sage.graphs.convexity_properties import ConvexityProperties return sum(1 for V in subsets(G) if set(ConvexityProperties(G).hull(V)) != set(V))
Created
Jan 11, 2022 at 19:07 by Martin Rubey
Updated
Jul 16, 2026 at 11:45 by Nupur Jain
Values
No modified entries
Description
The number of convex subsets of vertices in a graph.
A set of vertices $U$ is convex, if for any two vertices $u, v\in U$, all vertices on any shortest path connecting $u$ and $v$ are also in $U$.
A set of vertices $U$ is convex, if for any two vertices $u, v\in U$, all vertices on any shortest path connecting $u$ and $v$ are also in $U$.
Code
def statistic(G):
from sage.graphs.convexity_properties import ConvexityProperties
return sum(1 for V in subsets(G) if set(ConvexityProperties(G).hull(V)) == set(V))
Diff Code
def statistic(G): from sage.graphs.convexity_properties import ConvexityProperties return sum(1 for V in subsets(G) if set(ConvexityProperties(G).hull(V)) == set(V))
Created
Jan 11, 2022 at 19:00 by Martin Rubey
Updated
Jul 16, 2026 at 11:45 by Nupur Jain
Values
No modified entries
Description
The Alon-Tarsi number of a graph.
Let $G$ be a graph with vertices $\{1,\dots,n\}$ and edge set $E$. Let $P_G=\prod_{i < j, (i,j)\in E} x_i-x_j$ be its graph polynomial. Then the Alon-Tarsi number is the smallest number $k$ such that $P_G$ contains a monomial with exponents strictly less than $k$.
Let $G$ be a graph with vertices $\{1,\dots,n\}$ and edge set $E$. Let $P_G=\prod_{i < j, (i,j)\in E} x_i-x_j$ be its graph polynomial. Then the Alon-Tarsi number is the smallest number $k$ such that $P_G$ contains a monomial with exponents strictly less than $k$.
Code
def graph_polynomial(G):
G.relabel(inplace=False)
n = G.num_verts()
R = PolynomialRing(ZZ, "x", n)
X = R.gens()
p = R(1)
for a, b in G.edges(labels=False):
if a > b:
a, b = b, a
p *= X[a] - X[b]
return p
def statistic(G):
"""
sage: [statistic(graphs.CompleteBipartiteGraph(n,n)) for n in range(1, 5)]
[2, 2, 3, 3]
sage: lG = [(graphs.CycleGraph(2*n+1).cartesian_product(graphs.PathGraph(k))) for k in range(1,3) for n in range(1,3)]
sage: [statistic(G) for G in lG if G.num_verts() <= 6]
[3, 3, 3]
"""
lm = graph_polynomial(G).monomials()
return min(max(m.degrees()) for m in lm)+1
Diff Code
def graph_polynomial(G): G.relabel(inplace=False) n = G.num_verts() R = PolynomialRing(ZZ, "x", n) X = R.gens() p = R(1) for a, b in G.edges(labels=False): if a > b: a, b = b, a p *= X[a] - X[b] return p def statistic(G): """ sage: [statistic(graphs.CompleteBipartiteGraph(n,n)) for n in range(1, 5)] [2, 2, 3, 3] sage: lG = [(graphs.CycleGraph(2*n+1).cartesian_product(graphs.PathGraph(k))) for k in range(1,3) for n in range(1,3)] sage: [statistic(G) for G in lG if G.num_verts() <= 6] [3, 3, 3] """ lm = graph_polynomial(G).monomials() return min(max(m.degrees()) for m in lm)+1
Created
Nov 12, 2019 at 17:56 by Martin Rubey
Updated
Jul 16, 2026 at 11:40 by Nupur Jain
Values
No modified entries
Description
The number of minimally dominating sets of vertices of a graph.
A subset of vertices is dominating if every vertex is either in this subset or adjacent to an element therein [1]. If a set of vertices is dominating, then so is every superset of this set. This statistic counts the minimally dominating sets.
A subset of vertices is dominating if every vertex is either in this subset or adjacent to an element therein [1]. If a set of vertices is dominating, then so is every superset of this set. This statistic counts the minimally dominating sets.
References
Code
def is_dominating(G,V):
return set(G.vertices()) == set(V).union(*[G.neighbors(v) for v in V])
def minimal_dominating_sets(G):
Vs = list(Subsets(G.vertices()))
mdoms = []
while Vs:
V = Vs.pop(0)
if is_dominating(G,V):
mdoms.append(V)
Vs = list(filter( lambda X: not X.issuperset(V), Vs))
return mdoms
def statistic(G):
return len(minimal_dominating_sets(G))
Diff Code
def is_dominating(G,V): return set(G.vertices()) == set(V).union(*[G.neighbors(v) for v in V]) def minimal_dominating_sets(G): Vs = list(Subsets(G.vertices())) mdoms = [] while Vs: V = Vs.pop(0) if is_dominating(G,V): mdoms.append(V) Vs = list(filter( lambda X: not X.issuperset(V), Vs)) return mdoms def statistic(G): return len(minimal_dominating_sets(G))
Created
Dec 10, 2018 at 15:10 by Christian Stump
Updated
Jul 16, 2026 at 11:39 by Nupur Jain
Values
No modified entries
Description
The game chromatic number of a graph.
Two players, Alice and Bob, take turns colouring properly any uncolored vertex of the graph. Alice begins. If it is not possible for either player to colour a vertex, then Bob wins. If the graph is completely colored, Alice wins.
The game chromatic number is the smallest number of colours such that Alice has a winning strategy.
Two players, Alice and Bob, take turns colouring properly any uncolored vertex of the graph. Alice begins. If it is not possible for either player to colour a vertex, then Bob wins. If the graph is completely colored, Alice wins.
The game chromatic number is the smallest number of colours such that Alice has a winning strategy.
References
[1] wikipedia:Graph coloring game
[2] Chen, G., Schelp, R. H., Shreve, W. E. A new game chromatic number MathSciNet:1427601
[2] Chen, G., Schelp, R. H., Shreve, W. E. A new game chromatic number MathSciNet:1427601
Code
def statistic(G):
"""Return the smallest number such that Alice has a winning strategy.
EXAMPLES:
From http://www.dlsu.edu.ph/conferences/dlsu_research_congress/2014/_pdf/proceedings/TPHS-I-011-FT.pdf::
sage: [statistic(graphs.PathGraph(r)) for r in range(2,12)]
[2, 2, 3, 3, 3, 3, 3, 3, 3, 3]
sage: [statistic(graphs.CycleGraph(r)) for r in range(2,10)]
[2, 3, 3, 3, 3, 3, 3, 3]
sage: [statistic(graphs.StarGraph(r)) for r in range(2,10)]
[2, 2, 2, 2, 2, 2, 2, 2]
sage: [statistic(graphs.CompleteGraph(r)) for r in range(2,10)]
[2, 3, 4, 5, 6, 7, 8, 9]
Proposition 4 of the reference seems to miss some corner cases.
W(3) and W(4) are complete graphs, so Proposition 5 applies.
However, W(5) and W(7) seem to be special::
sage: [statistic(graphs.WheelGraph(r)) for r in range(5,12)]
[3, 4, 3, 4, 4, 4, 4]
sage: [[statistic(graphs.CompleteBipartiteGraph(r, s)) for r in range(1,6)] for s in range(1,6)]
[[2, 2, 2, 2, 2],
[2, 3, 3, 3, 3],
[2, 3, 3, 3, 3],
[2, 3, 3, 3, 3],
[2, 3, 3, 3, 3]]
The following contradicts Theorem 1, but is in agreement with
http://ssltest.cs.umd.edu/~gasarch/TOPICS/graphcolgame/tree3.pdf,
Theorem 3::
sage: statistic(graphs.PetersenGraph())
4
from wikipedia::
sage: [statistic(graphs.CompleteGraph(2).cartesian_product(graphs.PathGraph(r))) for r in range(1,6)]
[2, 3, 3, 4, 4]
sage: [statistic(graphs.CompleteGraph(2).cartesian_product(graphs.CycleGraph(r))) for r in range(1,5)]
[2, 3, 4, 4]
sage: [statistic(graphs.CompleteGraph(2).cartesian_product(graphs.CompleteGraph(r))) for r in range(1,5)]
[2, 3, 4, 5]
"""
G = G.relabel(immutable=True, inplace=False)
for k in range(G.chromatic_number(), max(G.degree())+2):
if Alice_wins(G, k):
return k
def normalize_colours(D):
"""
From left to right, use small colours first.
"""
pi = [None]*(max(cc for cc in D if cc is not None)+1)
i = 0
for e in D:
if e is not None and pi[e] is None:
pi[e] = i
i += 1
return tuple([None if e is None else pi[e] for e in D])
@cached_function
def Alice_wins(G, k, C=None):
"""Return whether C is a winning position for Alice, who wants to
properly color the graph.
Expect that the vertices are labelled 0,1,...
"""
def children(D):
if all(c is None for c in D):
colours = 1
else:
colours = min(k, max(cc for cc in D if cc is not None)+2)
for v, c in enumerate(D):
if c is None:
for d in range(colours):
if not any(D[u] == d for u in G.neighbor_iterator(v)):
yield D[:v] + tuple([d]) + D[v+1:]
if C is None:
C = tuple([None]*G.num_verts())
uncoloured_vertices = C.count(None)
if uncoloured_vertices == 0:
return True
# let Alice colour a vertex
for D in children(C):
# if C was missing precisely one vertex, and we could
# colour it, Alice wins
if uncoloured_vertices == 1:
return True
# Alice wins if there is a D such that all moves of Bob make Alice win
has_colouring = False
for E in children(D):
has_colouring = True
if not Alice_wins(G, k, normalize_colours(E)):
break
else:
if has_colouring:
return True
return False
Diff Code
def statistic(G): """Return the smallest number such that Alice has a winning strategy. EXAMPLES: From http://www.dlsu.edu.ph/conferences/dlsu_research_congress/2014/_pdf/proceedings/TPHS-I-011-FT.pdf:: sage: [statistic(graphs.PathGraph(r)) for r in range(2,12)] [2, 2, 3, 3, 3, 3, 3, 3, 3, 3] sage: [statistic(graphs.CycleGraph(r)) for r in range(2,10)] [2, 3, 3, 3, 3, 3, 3, 3] sage: [statistic(graphs.StarGraph(r)) for r in range(2,10)] [2, 2, 2, 2, 2, 2, 2, 2] sage: [statistic(graphs.CompleteGraph(r)) for r in range(2,10)] [2, 3, 4, 5, 6, 7, 8, 9] Proposition 4 of the reference seems to miss some corner cases. W(3) and W(4) are complete graphs, so Proposition 5 applies. However, W(5) and W(7) seem to be special:: sage: [statistic(graphs.WheelGraph(r)) for r in range(5,12)] [3, 4, 3, 4, 4, 4, 4] sage: [[statistic(graphs.CompleteBipartiteGraph(r, s)) for r in range(1,6)] for s in range(1,6)] [[2, 2, 2, 2, 2], [2, 3, 3, 3, 3], [2, 3, 3, 3, 3], [2, 3, 3, 3, 3], [2, 3, 3, 3, 3]] The following contradicts Theorem 1, but is in agreement with http://ssltest.cs.umd.edu/~gasarch/TOPICS/graphcolgame/tree3.pdf, Theorem 3:: sage: statistic(graphs.PetersenGraph()) 4 from wikipedia:: sage: [statistic(graphs.CompleteGraph(2).cartesian_product(graphs.PathGraph(r))) for r in range(1,6)] [2, 3, 3, 4, 4] sage: [statistic(graphs.CompleteGraph(2).cartesian_product(graphs.CycleGraph(r))) for r in range(1,5)] [2, 3, 4, 4] sage: [statistic(graphs.CompleteGraph(2).cartesian_product(graphs.CompleteGraph(r))) for r in range(1,5)] [2, 3, 4, 5] """ G = G.relabel(immutable=True, inplace=False) for k in range(G.chromatic_number(), max(G.degree())+2): if Alice_wins(G, k): return k def normalize_colours(D): """ From left to right, use small colours first. """ pi = [None]*(max(cc for cc in D if cc is not None)+1) i = 0 for e in D: if e is not None and pi[e] is None: pi[e] = i i += 1 return tuple([None if e is None else pi[e] for e in D]) @cached_function def Alice_wins(G, k, C=None): """Return whether C is a winning position for Alice, who wants to properly color the graph. Expect that the vertices are labelled 0,1,... """ def children(D): if all(c is None for c in D): colours = 1 else: colours = min(k, max(cc for cc in D if cc is not None)++2) for v, c in enumerate(D): if c is None: for d in range(colours): if not any(D[u] == d for u in G.neighbor_iterator(v)): yield D[:v] + tuple([d]) + D[v+1:] if C is None: C = tuple([None]*G.num_verts()) uncoloured_vertices = C.count(None) if uncoloured_vertices == 0: return True # let Alice colour a vertex for D in children(C): # if C was missing precisely one vertex, and we could # colour it, Alice wins if uncoloured_vertices == 1: return True # Alice wins if there is a D such that all moves of Bob make Alice win has_colouring = False for E in children(D): has_colouring = True if not Alice_wins(G, k, normalize_colours(E)): break else: if has_colouring: return True return False
Created
Mar 15, 2018 at 14:57 by Martin Rubey
Updated
Jul 16, 2026 at 11:38 by Nupur Jain
Identifier
St000107:
Finite Cartan types
⟶ ℤ
Values
No modified entries
Description
The dimension of the representation $V(\Lambda_1)$.
The sizes of $E_6$ and $E_7$ can be seen in [1].
The sizes of $E_6$ and $E_7$ can be seen in [1].
References
[1] Jones, B., Schilling, A. Affine structures and a tableau model for $E_6$ crystals MathSciNet:2684152
Code
def statistic(ct):
from sage.combinat.crystals.kirillov_reshetikhin import KirillovReshetikhinCrystal
from sage.combinat.crystals.highest_weight_crystals import HighestWeightCrystal
if ct.letter in ['A','B','C','D']:
return crystals.Letters(ct).cardinality()
elif ct.letter == 'E':
if ct.rank() == 6:
B = KirillovReshetikhinCrystal(['E',6,1], 1,1)
return B.cardinality()
elif ct.rank() == 7:
La = ct.root_system().weight_lattice().fundamental_weight(1)
T = HighestWeightCrystal(La)
return T.cardinality()
elif ct.rank() == 8:
RC = RiggedConfigurations(['E',8,1], [[1,1]])
return RC.cardinality()
elif ct.letter == 'F' and ct.rank() == 4:
RC = RiggedConfigurations(['F',4,1], [[1,1]])
return RC.cardinality()
Diff Code
def statistic(ct): from sage.combinat.crystals.kirillov_reshetikhin import KirillovReshetikhinCrystal from sage.combinat.crystals.highest_weight_crystals import HighestWeightCrystal if ct.letter in ['A','B','C','D']:return crystals.Letters(ct).cardinality() elif ct.letter == 'E': if ct.rank() == 6: B = KirillovReshetikhinCrystal(['E',6,1], 1,1) return B.cardinality() elif ct.rank() == 7: La =Cct.root_system().weight_lattice().fundamental_weight(1) T = HighestWeightCrystal(La) return T.cardinality() elif ct.rank() == 8: RC = RiggedConfigurations(['E',8,1], [[1,1]]) return RCT.cardinality() elif ct.letter == 'F' and ct.rank() == 4: RC = RiggedConfigurations(['F',4,1], [[1,1]]) return RC.cardinality()
Created
Jun 14, 2013 at 16:37 by Travis Scrimshaw
Updated
Jul 15, 2026 at 15:36 by Nupur Jain
Identifier
St001051:
Set partitions
⟶ ℤ
Values
No modified entries
Description
The depth of the label 1 in the decreasing labelled unordered tree associated with the set partition.
The bijection between set partitions of $\{1,\dots,n\}$ into $k$ blocks and trees with $n+1-k$ leaves is described in Theorem 1 of [1].
The bijection between set partitions of $\{1,\dots,n\}$ into $k$ blocks and trees with $n+1-k$ leaves is described in Theorem 1 of [1].
References
[1] Erdős, Péter L., Székely, L. A. Applications of antilexicographic order. I. An enumerative theory of trees MathSciNet:1023945
Code
def statistic(p):
return depth_of_1(set_partition_to_tree(p))
def depth_of_1(T):
if T.label() == 1:
return 0
if T.node_number() == 1:
return infinity
else:
return 1 + min(depth_of_1(C) for C in T)
def set_partition_to_tree(p):
# the children of the smallest label are the largest remaining
# element and its partner
trees = [LabelledRootedTree([LabelledRootedTree([], label=e) for e in b]) for b in p]
max_label = p.size()+1-len(p) # last labelled node
while len(trees) > 1:
max_label += 1
# find tree with smallest child and all children smaller than max_label
A = sorted([T for T in trees if max(C.label() for C in T) < max_label],
key = lambda T: min(C.label() for C in T))[0]
trees.remove(A)
# give it's root node the new label
A = LabelledRootedTree(A, label=max_label)
# find tree with child having label max_label
B = next(T for T in trees
if any(C.label() == max_label for C in T))
trees.remove(B)
# replace the child of B carrying max_label with A
C = LabelledRootedTree([A] + [T for T in B if T.label() != max_label])
trees.append(C)
return trees[0]
Diff Code
def statistic(p): return depth_of_1(set_partition_to_tree(p)) def depth_of_1(T): if T.label() == 1: return 0 if T.node_number() == 1: return infinity else: return 1 + min(depth_of_1(C) for C in T) def set_partition_to_tree(p): # the children of the smallest label are the largest remaining # element and its partner trees = [LabelledRootedTree([LabelledRootedTree([], label=e) for e in b]) for b in p] max_label = p.size()+1-len(p) # last labelled node while len(trees) > 1: max_label += 1 # find tree with smallest child and all children smaller than max_label A = sorted([T for T in trees if max(C.label() for C in T) < max_label], key = lambda T: min(C.label() for C in T))[0] trees.remove(A) # give it's root node the new label A = LabelledRootedTree(A, label=max_label) # find tree with child having label max_label B = next(T for T in trees if any(C.label() == max_label for C in T)).next()trees.remove(B) # replace the child of B carrying max_label with A C = LabelledRootedTree([A] + [T for T in B if T.label() != max_label]) trees.append(C) return trees[0]
Created
Nov 18, 2017 at 18:23 by Martin Rubey
Updated
Jul 15, 2026 at 14:38 by Nupur Jain
Identifier
St001136:
Perfect matchings
⟶ ℤ
Values
No modified entries
Description
The largest label with larger sister in the leaf labelled binary unordered tree associated with the perfect matching.
The bijection between perfect matchings of $\{1,\dots,2n\}$ and trees with $n+1$ leaves is described in Example 5.2.6 of [1].
The bijection between perfect matchings of $\{1,\dots,2n\}$ and trees with $n+1$ leaves is described in Example 5.2.6 of [1].
References
[1] Stanley, R. P. Enumerative combinatorics. Vol. 2 MathSciNet:1676282
Code
def statistic(m):
return largest_label_with_larger_sister(matching_to_tree(m))
def largest_label_with_larger_sister(T):
T0 = T[0].node_number()
T1 = T[1].node_number()
if T0 == T1 == 1:
return min(T[0].label(), T[1].label())
elif T0 == 1 and T1 > 1:
return largest_label_with_larger_sister(T[1])
elif T0 > 1 and T0 == 1:
return largest_label_with_larger_sister(T[0])
elif T0 > 1 and T1 > 1:
return max(largest_label_with_larger_sister(T[0]),
largest_label_with_larger_sister(T[1]))
def matching_to_tree(m):
"""
INPUT:
- m, a PerfectMatching on {1,...,2n}.
OUTPUT:
a decreasingly labelled, unordered full binary tree with n+1 leaves.
EXAMPLES::
sage: m = PerfectMatching([(1,4),(2,9),(3,10),(5,7),(6,8),(11,12)])
sage: ascii_art(matching_to_tree(m))
"""
# the children of the smallest label are the largest remaining
# element and its partner
trees = [LabelledRootedTree([LabelledRootedTree([], label=i),
LabelledRootedTree([], label=j)]) for i, j in m]
max_label = m.size()//2+1 # last labelled node
while len(trees) > 1:
max_label += 1
# find tree with smallest child and both children smaller than max_label
A = sorted([T for T in trees if max(T[0].label(), T[1].label()) < max_label],
key = lambda T: min(T[0].label(), T[1].label()))[0]
trees.remove(A)
# give it's root node the new label
A = LabelledRootedTree(A, label=max_label)
# find tree with child having label max_label
B = next(T for T in trees
if T[0].label() == max_label or T[1].label() == max_label)
trees.remove(B)
# replace B with [B[0], A] or [B[1], A]
if B[0].label() == max_label:
C = LabelledRootedTree([A, B[1]])
else:
C = LabelledRootedTree([A, B[0]])
trees.append(C)
return trees[0]
Diff Code
def statistic(m): return largest_label_with_larger_sister(matching_to_tree(m)) def largest_label_with_larger_sister(T): T0 = T[0].node_number() T1 = T[1].node_number() if T0 == T1 == 1: return min(T[0].label(), T[1].label()) elif T0 == 1 and T1 > 1: return largest_label_with_larger_sister(T[1]) elif T0 > 1 and T0 == 1: return largest_label_with_larger_sister(T[0]) elif T0 > 1 and T1 > 1: return max(largest_label_with_larger_sister(T[0]), largest_label_with_larger_sister(T[1])) def matching_to_tree(m): """ INPUT: - m, a PerfectMatching on {1,...,2n}. OUTPUT: a decreasingly labelled, unordered full binary tree with n+1 leaves. EXAMPLES:: sage: m = PerfectMatching([(1,4),(2,9),(3,10),(5,7),(6,8),(11,12)]) sage: ascii_art(matching_to_tree(m)) """ # the children of the smallest label are the largest remaining # element and its partner trees = [LabelledRootedTree([LabelledRootedTree([], label=i), LabelledRootedTree([], label=j)]) for i, j in m] max_label = m.size()//2+1 # last labelled node while len(trees) > 1: max_label += 1 # find tree with smallest child and both children smaller than max_label A = sorted([T for T in trees if max(T[0].label(), T[1].label()) < max_label], key = lambda T: min(T[0].label(), T[1].label()))[0] trees.remove(A) # give it's root node the new label A = LabelledRootedTree(A, label=max_label) # find tree with child having label max_label B = next(T for T in trees if T[0].label() == max_label or T[1].label() == max_label).next()trees.remove(B) # replace B with [B[0], A] or [B[1], A] if B[0].label() == max_label: C = LabelledRootedTree([A, B[1]]) else: C = LabelledRootedTree([A, B[0]]) trees.append(C) return trees[0]
Created
Apr 07, 2018 at 11:17 by Martin Rubey
Updated
Jul 15, 2026 at 14:35 by Nupur Jain
Identifier
St001134:
Perfect matchings
⟶ ℤ
Values
No modified entries
Description
The largest label in the subtree rooted at the sister of 1 in the leaf labelled binary unordered tree associated with the perfect matching.
The bijection between perfect matchings of $\{1,\dots,2n\}$ and trees with $n+1$ leaves is described in Example 5.2.6 of [1].
The bijection between perfect matchings of $\{1,\dots,2n\}$ and trees with $n+1$ leaves is described in Example 5.2.6 of [1].
References
[1] Stanley, R. P. Enumerative combinatorics. Vol. 2 MathSciNet:1676282
Code
def statistic(m):
return max(sister_of_1(matching_to_tree(m)).leaf_labels())
def sister_of_1(T):
if T[0].label() == 1:
return T[1]
if T[1].label() == 1:
return T[0]
if 1 in T[0].leaf_labels():
return sister_of_1(T[0])
if 1 in T[1].leaf_labels():
return sister_of_1(T[1])
def matching_to_tree(m):
"""
INPUT:
- m, a PerfectMatching on {1,...,2n}.
OUTPUT:
a decreasingly labelled, unordered full binary tree with n+1 leaves.
EXAMPLES::
sage: m = PerfectMatching([(1,4),(2,9),(3,10),(5,7),(6,8),(11,12)])
sage: ascii_art(matching_to_tree(m))
____None___
/ /
_11__ _12_
/ / / /
3 _10_ 6 8_
/ / / /
2 9_ 1 4
/ /
5 7
"""
# the children of the smallest label are the largest remaining
# element and its partner
trees = [LabelledRootedTree([LabelledRootedTree([], label=i),
LabelledRootedTree([], label=j)]) for i, j in m]
max_label = m.size()//2+1 # last labelled node
while len(trees) > 1:
max_label += 1
# find tree with smallest child and both children smaller than max_label
A = sorted([T for T in trees if max(T[0].label(), T[1].label()) < max_label],
key = lambda T: min(T[0].label(), T[1].label()))[0]
trees.remove(A)
# give it's root node the new label
A = LabelledRootedTree(A, label=max_label)
# find tree with child having label max_label
B = next(T for T in trees
if T[0].label() == max_label or T[1].label() == max_label)
trees.remove(B)
# replace B with [B[0], A] or [B[1], A]
if B[0].label() == max_label:
C = LabelledRootedTree([A, B[1]])
else:
C = LabelledRootedTree([A, B[0]])
trees.append(C)
return trees[0]
Diff Code
def statistic(m): return max(sister_of_1(matching_to_tree(m)).leaf_labels()) def sister_of_1(T): if T[0].label() == 1: return T[1] if T[1].label() == 1: return T[0] if 1 in T[0].leaf_labels(): return sister_of_1(T[0]) if 1 in T[1].leaf_labels(): return sister_of_1(T[1]) def matching_to_tree(m): """ INPUT: - m, a PerfectMatching on {1,...,2n}. OUTPUT: a decreasingly labelled, unordered full binary tree with n+1 leaves. EXAMPLES:: sage: m = PerfectMatching([(1,4),(2,9),(3,10),(5,7),(6,8),(11,12)]) sage: ascii_art(matching_to_tree(m)) ____None___ / / _11__ _12_ / / / / 3 _10_ 6 8_ / / / / 2 9_ 1 4 / / 5 7 """ # the children of the smallest label are the largest remaining # element and its partner trees = [LabelledRootedTree([LabelledRootedTree([], label=i), LabelledRootedTree([], label=j)]) for i, j in m] max_label = m.size()//2+1 # last labelled node while len(trees) > 1: max_label += 1 # find tree with smallest child and both children smaller than max_label A = sorted([T for T in trees if max(T[0].label(), T[1].label()) < max_label], key = lambda T: min(T[0].label(), T[1].label()))[0] trees.remove(A) # give it's root node the new label A = LabelledRootedTree(A, label=max_label) # find tree with child having label max_label B = next(T for T in trees if T[0].label() == max_label or T[1].label() == max_label).next()trees.remove(B) # replace B with [B[0], A] or [B[1], A] if B[0].label() == max_label: C = LabelledRootedTree([A, B[1]]) else: C = LabelledRootedTree([A, B[0]]) trees.append(C) return trees[0]
Created
Apr 02, 2018 at 06:45 by Martin Rubey
Updated
Jul 15, 2026 at 14:34 by Nupur Jain
Identifier
St001133:
Perfect matchings
⟶ ℤ
Values
No modified entries
Description
The smallest label in the subtree rooted at the sister of 1 in the decreasing labelled binary unordered tree associated with the perfect matching.
The bijection between perfect matchings of $\{1,\dots,2n\}$ and trees with $n+1$ leaves is described in Example 5.2.6 of [1].
The bijection between perfect matchings of $\{1,\dots,2n\}$ and trees with $n+1$ leaves is described in Example 5.2.6 of [1].
References
[1] Stanley, R. P. Enumerative combinatorics. Vol. 2 MathSciNet:1676282
Code
def statistic(m):
return min(sister_of_1(matching_to_tree(m)).leaf_labels())
def sister_of_1(T):
if T[0].label() == 1:
return T[1]
if T[1].label() == 1:
return T[0]
if 1 in T[0].leaf_labels():
return sister_of_1(T[0])
if 1 in T[1].leaf_labels():
return sister_of_1(T[1])
def matching_to_tree(m):
"""
INPUT:
- m, a PerfectMatching on {1,...,2n}.
OUTPUT:
a decreasingly labelled, unordered full binary tree with n+1 leaves.
EXAMPLES::
sage: m = PerfectMatching([(1,4),(2,9),(3,10),(5,7),(6,8),(11,12)])
sage: ascii_art(matching_to_tree(m))
____None___
/ /
_11__ _12_
/ / / /
3 _10_ 6 8_
/ / / /
2 9_ 1 4
/ /
5 7
"""
# the children of the smallest label are the largest remaining
# element and its partner
trees = [LabelledRootedTree([LabelledRootedTree([], label=i),
LabelledRootedTree([], label=j)]) for i, j in m]
max_label = m.size()//2+1 # last labelled node
while len(trees) > 1:
max_label += 1
# find tree with smallest child and both children smaller than max_label
A = sorted([T for T in trees if max(T[0].label(), T[1].label()) < max_label],
key = lambda T: min(T[0].label(), T[1].label()))[0]
trees.remove(A)
# give it's root node the new label
A = LabelledRootedTree(A, label=max_label)
# find tree with child having label max_label
B = next(T for T in trees
if T[0].label() == max_label or T[1].label() == max_label)
trees.remove(B)
# replace B with [B[0], A] or [B[1], A]
if B[0].label() == max_label:
C = LabelledRootedTree([A, B[1]])
else:
C = LabelledRootedTree([A, B[0]])
trees.append(C)
return trees[0]
Diff Code
def statistic(m): return min(sister_of_1(matching_to_tree(m)).leaf_labels()) def sister_of_1(T): if T[0].label() == 1: return T[1] if T[1].label() == 1: return T[0] if 1 in T[0].leaf_labels(): return sister_of_1(T[0]) if 1 in T[1].leaf_labels(): return sister_of_1(T[1]) def matching_to_tree(m): """ INPUT: - m, a PerfectMatching on {1,...,2n}. OUTPUT: a decreasingly labelled, unordered full binary tree with n+1 leaves. EXAMPLES:: sage: m = PerfectMatching([(1,4),(2,9),(3,10),(5,7),(6,8),(11,12)]) sage: ascii_art(matching_to_tree(m)) ____None___ / / _11__ _12_ / / / / 3 _10_ 6 8_ / / / / 2 9_ 1 4 / / 5 7 """ # the children of the smallest label are the largest remaining # element and its partner trees = [LabelledRootedTree([LabelledRootedTree([], label=i), LabelledRootedTree([], label=j)]) for i, j in m] max_label = m.size()//2+1 # last labelled node while len(trees) > 1: max_label += 1 # find tree with smallest child and both children smaller than max_label A = sorted([T for T in trees if max(T[0].label(), T[1].label()) < max_label], key = lambda T: min(T[0].label(), T[1].label()))[0] trees.remove(A) # give it's root node the new label A = LabelledRootedTree(A, label=max_label) # find tree with child having label max_label B = next(T for T in trees if T[0].label() == max_label or T[1].label() == max_label).next()trees.remove(B) # replace B with [B[0], A] or [B[1], A] if B[0].label() == max_label: C = LabelledRootedTree([A, B[1]]) else: C = LabelledRootedTree([A, B[0]]) trees.append(C) return trees[0]
Created
Apr 02, 2018 at 06:37 by Martin Rubey
Updated
Jul 15, 2026 at 14:34 by Nupur Jain
Identifier
St001132:
Perfect matchings
⟶ ℤ
Values
No modified entries
Description
The number of leaves in the subtree whose sister has label 1 in the decreasing labelled binary unordered tree associated with the perfect matching.
The bijection between perfect matchings of $\{1,\dots,2n\}$ and trees with $n+1$ leaves is described in Example 5.2.6 of [1].
The bijection between perfect matchings of $\{1,\dots,2n\}$ and trees with $n+1$ leaves is described in Example 5.2.6 of [1].
References
[1] Stanley, R. P. Enumerative combinatorics. Vol. 2 MathSciNet:1676282
Code
def statistic(m):
return leaves_of_sister_of_1(matching_to_tree(m))
def leaves_of_sister_of_1(T):
if len(T) == 0:
if T.label() == 1:
return 0
return 1
if T[0].label() == 1:
return (T[1].node_number()+1)/2
if T[1].label() == 1:
return (T[0].node_number()+1)/2
if 1 in T[0].leaf_labels():
return leaves_of_sister_of_1(T[0])
if 1 in T[1].leaf_labels():
return leaves_of_sister_of_1(T[1])
def matching_to_tree(m):
"""
INPUT:
- m, a PerfectMatching on {1,...,2n}.
OUTPUT:
a decreasingly labelled, unordered full binary tree with n+1 leaves.
EXAMPLES::
sage: m = PerfectMatching([(1,4),(2,9),(3,10),(5,7),(6,8),(11,12)])
sage: ascii_art(matching_to_tree(m))
____None___
/ /
_11__ _12_
/ / / /
3 _10_ 6 8_
/ / / /
2 9_ 1 4
/ /
5 7
"""
# the children of the smallest label are the largest remaining
# element and its partner
trees = [LabelledRootedTree([LabelledRootedTree([], label=i),
LabelledRootedTree([], label=j)]) for i, j in m]
max_label = m.size()//2+1 # last labelled node
while len(trees) > 1:
max_label += 1
# find tree with smallest child and both children smaller than max_label
A = sorted([T for T in trees if max(T[0].label(), T[1].label()) < max_label],
key = lambda T: min(T[0].label(), T[1].label()))[0]
trees.remove(A)
# give it's root node the new label
A = LabelledRootedTree(A, label=max_label)
# find tree with child having label max_label
B = next(T for T in trees
if T[0].label() == max_label or T[1].label() == max_label)
trees.remove(B)
# replace B with [B[0], A] or [B[1], A]
if B[0].label() == max_label:
C = LabelledRootedTree([A, B[1]])
else:
C = LabelledRootedTree([A, B[0]])
trees.append(C)
return trees[0]
Diff Code
def statistic(m): return leaves_of_sister_of_1(matching_to_tree(m)) def leaves_of_sister_of_1(T): if len(T) == 0: if T.label() == 1: return 0 return 1 if T[0].label() == 1: return (T[1].node_number()+1)/2 if T[1].label() == 1: return (T[0].node_number()+1)/2 if 1 in T[0].leaf_labels(): return leaves_of_sister_of_1(T[0]) if 1 in T[1].leaf_labels(): return leaves_of_sister_of_1(T[1]) def matching_to_tree(m): """ INPUT: - m, a PerfectMatching on {1,...,2n}. OUTPUT: a decreasingly labelled, unordered full binary tree with n+1 leaves. EXAMPLES:: sage: m = PerfectMatching([(1,4),(2,9),(3,10),(5,7),(6,8),(11,12)]) sage: ascii_art(matching_to_tree(m)) ____None___ / / _11__ _12_ / / / / 3 _10_ 6 8_ / / / / 2 9_ 1 4 / / 5 7 """ # the children of the smallest label are the largest remaining # element and its partner trees = [LabelledRootedTree([LabelledRootedTree([], label=i), LabelledRootedTree([], label=j)]) for i, j in m] max_label = m.size()//2+1 # last labelled node while len(trees) > 1: max_label += 1 # find tree with smallest child and both children smaller than max_label A = sorted([T for T in trees if max(T[0].label(), T[1].label()) < max_label], key = lambda T: min(T[0].label(), T[1].label()))[0] trees.remove(A) # give it's root node the new label A = LabelledRootedTree(A, label=max_label) # find tree with child having label max_label B = next(T for T in trees if T[0].label() == max_label or T[1].label() == max_label).next()trees.remove(B) # replace B with [B[0], A] or [B[1], A] if B[0].label() == max_label: C = LabelledRootedTree([A, B[1]]) else: C = LabelledRootedTree([A, B[0]]) trees.append(C) return trees[0]
Created
Apr 01, 2018 at 22:57 by Martin Rubey
Updated
Jul 15, 2026 at 14:33 by Nupur Jain
Identifier
St001131:
Perfect matchings
⟶ ℤ
Values
No modified entries
Description
The number of trivial trees on the path to label one in the decreasing labelled binary unordered tree associated with the perfect matching.
The bijection between perfect matchings of $\{1,\dots,2n\}$ and trees with $n+1$ leaves is described in Example 5.2.6 of [1].
This statistic records the number of trees consisting of a leaf only on the path to the label one.
The bijection between perfect matchings of $\{1,\dots,2n\}$ and trees with $n+1$ leaves is described in Example 5.2.6 of [1].
This statistic records the number of trees consisting of a leaf only on the path to the label one.
References
[1] Stanley, R. P. Enumerative combinatorics. Vol. 2 MathSciNet:1676282
Code
def statistic(m):
return trivial_trees_on_path_to_1(matching_to_tree(m))
def trivial_trees_on_path_to_1(T):
if T.node_number() == 1:
return 0
if 1 in T[0].leaf_labels():
if T[1].node_number() == 1:
return 1 + trivial_trees_on_path_to_1(T[0])
else:
return trivial_trees_on_path_to_1(T[0])
else:
if T[0].node_number() == 1:
return 1 + trivial_trees_on_path_to_1(T[1])
else:
return trivial_trees_on_path_to_1(T[1])
def matching_to_tree(m):
"""
INPUT:
- m, a PerfectMatching on {1,...,2n}.
OUTPUT:
a decreasingly labelled, unordered full binary tree with n+1 leaves.
EXAMPLES::
sage: m = PerfectMatching([(1,4),(2,9),(3,10),(5,7),(6,8),(11,12)])
sage: ascii_art(matching_to_tree(m))
____None___
/ /
_11__ _12_
/ / / /
3 _10_ 6 8_
/ / / /
2 9_ 1 4
/ /
5 7
"""
# the children of the smallest label are the largest remaining
# element and its partner
trees = [LabelledRootedTree([LabelledRootedTree([], label=i),
LabelledRootedTree([], label=j)]) for i, j in m]
max_label = m.size()//2+1 # last labelled node
while len(trees) > 1:
max_label += 1
# find tree with smallest child and both children smaller than max_label
A = sorted([T for T in trees if max(T[0].label(), T[1].label()) < max_label],
key = lambda T: min(T[0].label(), T[1].label()))[0]
trees.remove(A)
# give it's root node the new label
A = LabelledRootedTree(A, label=max_label)
# find tree with child having label max_label
B = next(T for T in trees
if T[0].label() == max_label or T[1].label() == max_label)
trees.remove(B)
# replace B with [B[0], A] or [B[1], A]
if B[0].label() == max_label:
C = LabelledRootedTree([A, B[1]])
else:
C = LabelledRootedTree([A, B[0]])
trees.append(C)
return trees[0]
Diff Code
def statistic(m): return trivial_trees_on_path_to_1(matching_to_tree(m)) def trivial_trees_on_path_to_1(T): if T.node_number() == 1: return 0 if 1 in T[0].leaf_labels(): if T[1].node_number() == 1: return 1 + trivial_trees_on_path_to_1(T[0]) else: return trivial_trees_on_path_to_1(T[0]) else: if T[0].node_number() == 1: return 1 + trivial_trees_on_path_to_1(T[1]) else: return trivial_trees_on_path_to_1(T[1]) def matching_to_tree(m): """ INPUT: - m, a PerfectMatching on {1,...,2n}. OUTPUT: a decreasingly labelled, unordered full binary tree with n+1 leaves. EXAMPLES:: sage: m = PerfectMatching([(1,4),(2,9),(3,10),(5,7),(6,8),(11,12)]) sage: ascii_art(matching_to_tree(m)) ____None___ / / _11__ _12_ / / / / 3 _10_ 6 8_ / / / / 2 9_ 1 4 / / 5 7 """ # the children of the smallest label are the largest remaining # element and its partner trees = [LabelledRootedTree([LabelledRootedTree([], label=i), LabelledRootedTree([], label=j)]) for i, j in m] max_label = m.size()//2+1 # last labelled node while len(trees) > 1: max_label += 1 # find tree with smallest child and both children smaller than max_label A = sorted([T for T in trees if max(T[0].label(), T[1].label()) < max_label], key = lambda T: min(T[0].label(), T[1].label()))[0] trees.remove(A) # give it's root node the new label A = LabelledRootedTree(A, label=max_label) # find tree with child having label max_label B = next(T for T in trees if T[0].label() == max_label or T[1].label() == max_label).next()trees.remove(B) # replace B with [B[0], A] or [B[1], A] if B[0].label() == max_label: C = LabelledRootedTree([A, B[1]]) else: C = LabelledRootedTree([A, B[0]]) trees.append(C) return trees[0]
Created
Apr 01, 2018 at 22:03 by Martin Rubey
Updated
Jul 15, 2026 at 14:33 by Nupur Jain
Identifier
St001049:
Perfect matchings
⟶ ℤ
Values
No modified entries
Description
The smallest label in the subtree not containing 1 in the decreasing labelled binary unordered tree associated with the perfect matching.
The bijection between perfect matchings of $\{1,\dots,2n\}$ and trees with $n+1$ leaves is described in Example 5.2.6 of [1].
The bijection between perfect matchings of $\{1,\dots,2n\}$ and trees with $n+1$ leaves is described in Example 5.2.6 of [1].
References
[1] Stanley, R. P. Enumerative combinatorics. Vol. 2 MathSciNet:1676282
Code
def statistic(m):
T = matching_to_tree(m)
if 1 in T[0].leaf_labels():
return min(T[1].leaf_labels())
return min(T[0].leaf_labels())
def matching_to_tree(m):
"""
INPUT:
- m, a PerfectMatching on {1,...,2n}.
OUTPUT:
a decreasingly labelled, unordered full binary tree with n+1 leaves.
EXAMPLES::
sage: m = PerfectMatching([(1,4),(2,9),(3,10),(5,7),(6,8),(11,12)])
sage: ascii_art(matching_to_tree(m))
"""
# the children of the smallest label are the largest remaining
# element and its partner
trees = [LabelledRootedTree([LabelledRootedTree([], label=i),
LabelledRootedTree([], label=j)]) for i, j in m]
max_label = m.size()//2+1 # last labelled node
while len(trees) > 1:
max_label += 1
# find tree with smallest child and both children smaller than max_label
A = sorted([T for T in trees if max(T[0].label(), T[1].label()) < max_label],
key = lambda T: min(T[0].label(), T[1].label()))[0]
trees.remove(A)
# give it's root node the new label
A = LabelledRootedTree(A, label=max_label)
# find tree with child having label max_label
B = next(T for T in trees
if T[0].label() == max_label or T[1].label() == max_label)
trees.remove(B)
# replace B with [B[0], A] or [B[1], A]
if B[0].label() == max_label:
C = LabelledRootedTree([A, B[1]])
else:
C = LabelledRootedTree([A, B[0]])
trees.append(C)
return trees[0]
Diff Code
def statistic(m): T = matching_to_tree(m) if 1 in T[0].leaf_labels(): return min(T[1].leaf_labels()) return min(T[0].leaf_labels()) def matching_to_tree(m): """ INPUT: - m, a PerfectMatching on {1,...,2n}. OUTPUT: a decreasingly labelled, unordered full binary tree with n+1 leaves. EXAMPLES:: sage: m = PerfectMatching([(1,4),(2,9),(3,10),(5,7),(6,8),(11,12)]) sage: ascii_art(matching_to_tree(m)) """ # the children of the smallest label are the largest remaining # element and its partner trees = [LabelledRootedTree([LabelledRootedTree([], label=i), LabelledRootedTree([], label=j)]) for i, j in m] max_label = m.size()//2+1 # last labelled node while len(trees) > 1: max_label += 1 # find tree with smallest child and both children smaller than max_label A = sorted([T for T in trees if max(T[0].label(), T[1].label()) < max_label], key = lambda T: min(T[0].label(), T[1].label()))[0] trees.remove(A) # give it's root node the new label A = LabelledRootedTree(A, label=max_label) # find tree with child having label max_label B = next(T for T in trees if T[0].label() == max_label or T[1].label() == max_label).next()trees.remove(B) # replace B with [B[0], A] or [B[1], A] if B[0].label() == max_label: C = LabelledRootedTree([A, B[1]]) else: C = LabelledRootedTree([A, B[0]]) trees.append(C) return trees[0]
Created
Nov 13, 2017 at 12:47 by Martin Rubey
Updated
Jul 15, 2026 at 14:31 by Nupur Jain
Identifier
St001048:
Perfect matchings
⟶ ℤ
Values
No modified entries
Description
The number of leaves in the subtree containing 1 in the decreasing labelled binary unordered tree associated with the perfect matching.
The bijection between perfect matchings of $\{1,\dots,2n\}$ and trees with $n+1$ leaves is described in Example 5.2.6 of [1].
This statistic is the difference between St001045The number of leaves in the subtree not containing one in the decreasing labelled binary unordered tree associated with the perfect matching. and $n+1$.
The bijection between perfect matchings of $\{1,\dots,2n\}$ and trees with $n+1$ leaves is described in Example 5.2.6 of [1].
This statistic is the difference between St001045The number of leaves in the subtree not containing one in the decreasing labelled binary unordered tree associated with the perfect matching. and $n+1$.
References
[1] Stanley, R. P. Enumerative combinatorics. Vol. 2 MathSciNet:1676282
Code
def statistic(m):
T = matching_to_tree(m)
if 1 in T[0].leaf_labels():
return len(T[0].leaf_labels())
return len(T[1].leaf_labels())
def matching_to_tree(m):
"""
INPUT:
- m, a PerfectMatching on {1,...,2n}.
OUTPUT:
a decreasingly labelled, unordered full binary tree with n+1 leaves.
EXAMPLES::
sage: m = PerfectMatching([(1,4),(2,9),(3,10),(5,7),(6,8),(11,12)])
sage: ascii_art(matching_to_tree(m))
"""
# the children of the smallest label are the largest remaining
# element and its partner
trees = [LabelledRootedTree([LabelledRootedTree([], label=i),
LabelledRootedTree([], label=j)]) for i, j in m]
max_label = m.size()//2+1 # last labelled node
while len(trees) > 1:
max_label += 1
# find tree with smallest child and both children smaller than max_label
A = sorted([T for T in trees if max(T[0].label(), T[1].label()) < max_label],
key = lambda T: min(T[0].label(), T[1].label()))[0]
trees.remove(A)
# give it's root node the new label
A = LabelledRootedTree(A, label=max_label)
# find tree with child having label max_label
B = next(T for T in trees
if T[0].label() == max_label or T[1].label() == max_label)
trees.remove(B)
# replace B with [B[0], A] or [B[1], A]
if B[0].label() == max_label:
C = LabelledRootedTree([A, B[1]])
else:
C = LabelledRootedTree([A, B[0]])
trees.append(C)
return trees[0]
Diff Code
def statistic(m): T = matching_to_tree(m) if 1 in T[0].leaf_labels(): return len(T[0].leaf_labels()) return len(T[1].leaf_labels()) def matching_to_tree(m): """ INPUT: - m, a PerfectMatching on {1,...,2n}. OUTPUT: a decreasingly labelled, unordered full binary tree with n+1 leaves. EXAMPLES:: sage: m = PerfectMatching([(1,4),(2,9),(3,10),(5,7),(6,8),(11,12)]) sage: ascii_art(matching_to_tree(m)) """ # the children of the smallest label are the largest remaining # element and its partner trees = [LabelledRootedTree([LabelledRootedTree([], label=i), LabelledRootedTree([], label=j)]) for i, j in m] max_label = m.size()//2+1 # last labelled node while len(trees) > 1: max_label += 1 # find tree with smallest child and both children smaller than max_label A = sorted([T for T in trees if max(T[0].label(), T[1].label()) < max_label], key = lambda T: min(T[0].label(), T[1].label()))[0] trees.remove(A) # give it's root node the new label A = LabelledRootedTree(A, label=max_label) # find tree with child having label max_label B = next(T for T in trees if T[0].label() == max_label or T[1].label() == max_label).next()trees.remove(B) # replace B with [B[0], A] or [B[1], A] if B[0].label() == max_label: C = LabelledRootedTree([A, B[1]]) else: C = LabelledRootedTree([A, B[0]]) trees.append(C) return trees[0]
Created
Nov 13, 2017 at 11:27 by Martin Rubey
Updated
Jul 15, 2026 at 14:31 by Nupur Jain
Identifier
St001045:
Perfect matchings
⟶ ℤ
Values
No modified entries
Description
The number of leaves in the subtree not containing one in the decreasing labelled binary unordered tree associated with the perfect matching.
The bijection between perfect matchings of $\{1,\dots,2n\}$ and trees with $n+1$ leaves is described in Example 5.2.6 of [1].
The number of trees having precisely $j$ leaves in the subtree not containing $1$, computed in [2], is
$$ \binom{n}{j}(2j-3)!!(2n-2j-1)!! $$
The bijection between perfect matchings of $\{1,\dots,2n\}$ and trees with $n+1$ leaves is described in Example 5.2.6 of [1].
The number of trees having precisely $j$ leaves in the subtree not containing $1$, computed in [2], is
$$ \binom{n}{j}(2j-3)!!(2n-2j-1)!! $$
References
[1] Stanley, R. P. Enumerative combinatorics. Vol. 2 MathSciNet:1676282
[2] Dale, M. R. T., Moon, J. W. The permuted analogues of three Catalan sets MathSciNet:1209991
[2] Dale, M. R. T., Moon, J. W. The permuted analogues of three Catalan sets MathSciNet:1209991
Code
def statistic(m):
T = matching_to_tree(m)
if 1 in T[0].leaf_labels():
return len(T[1].leaf_labels())
return len(T[0].leaf_labels())
def matching_to_tree(m):
"""
INPUT:
- m, a PerfectMatching on {1,...,2n}.
OUTPUT:
a decreasingly labelled, unordered full binary tree with n+1 leaves.
EXAMPLES::
sage: m = PerfectMatching([(1,4),(2,9),(3,10),(5,7),(6,8),(11,12)])
sage: ascii_art(matching_to_tree(m))
"""
# the children of the smallest label are the largest remaining
# element and its partner
trees = [LabelledRootedTree([LabelledRootedTree([], label=i),
LabelledRootedTree([], label=j)]) for i, j in m]
max_label = m.size()//2+1 # last labelled node
while len(trees) > 1:
max_label += 1
# find tree with smallest child and both children smaller than max_label
A = sorted([T for T in trees if max(T[0].label(), T[1].label()) < max_label],
key = lambda T: min(T[0].label(), T[1].label()))[0]
trees.remove(A)
# give it's root node the new label
A = LabelledRootedTree(A, label=max_label)
# find tree with child having label max_label
B = next(T for T in trees
if T[0].label() == max_label or T[1].label() == max_label)
trees.remove(B)
# replace B with [B[0], A] or [B[1], A]
if B[0].label() == max_label:
C = LabelledRootedTree([A, B[1]])
else:
C = LabelledRootedTree([A, B[0]])
trees.append(C)
return trees[0]
Diff Code
def statistic(m): T = matching_to_tree(m) if 1 in T[0].leaf_labels(): return len(T[1].leaf_labels()) return len(T[0].leaf_labels()) def matching_to_tree(m): """ INPUT: - m, a PerfectMatching on {1,...,2n}. OUTPUT: a decreasingly labelled, unordered full binary tree with n+1 leaves. EXAMPLES:: sage: m = PerfectMatching([(1,4),(2,9),(3,10),(5,7),(6,8),(11,12)]) sage: ascii_art(matching_to_tree(m)) """ # the children of the smallest label are the largest remaining # element and its partner trees = [LabelledRootedTree([LabelledRootedTree([], label=i), LabelledRootedTree([], label=j)]) for i, j in m] max_label = m.size()//2+1 # last labelled node while len(trees) > 1: max_label += 1 # find tree with smallest child and both children smaller than max_label A = sorted([T for T in trees if max(T[0].label(), T[1].label()) < max_label], key = lambda T: min(T[0].label(), T[1].label()))[0] trees.remove(A) # give it's root node the new label A = LabelledRootedTree(A, label=max_label) # find tree with child having label max_label B = next(T for T in trees if T[0].label() == max_label or T[1].label() == max_label).next()trees.remove(B) # replace B with [B[0], A] or [B[1], A] if B[0].label() == max_label: C = LabelledRootedTree([A, B[1]]) else: C = LabelledRootedTree([A, B[0]]) trees.append(C) return trees[0]
Created
Nov 09, 2017 at 21:36 by Martin Rubey
Updated
Jul 15, 2026 at 14:30 by Nupur Jain
Identifier
St001043:
Perfect matchings
⟶ ℤ
Values
No modified entries
Description
The depth of the leaf closest to the root in the binary unordered tree associated with the perfect matching.
The bijection between perfect matchings of $\{1,\dots,2n\}$ and trees with $n+1$ leaves is described in Example 5.2.6 of [1].
The bijection between perfect matchings of $\{1,\dots,2n\}$ and trees with $n+1$ leaves is described in Example 5.2.6 of [1].
References
[1] Stanley, R. P. Enumerative combinatorics. Vol. 2 MathSciNet:1676282
Code
def statistic(m):
def aux(T):
if len(T) == 0:
return 0
return 1 + min(aux(T[0]), aux(T[1]))
return aux(matching_to_tree(m))
def matching_to_tree(m):
"""
INPUT:
- m, a PerfectMatching on {1,...,2n}.
OUTPUT:
a decreasingly labelled, unordered full binary tree with n+1 leaves.
EXAMPLES::
sage: m = PerfectMatching([(1,4),(2,9),(3,10),(5,7),(6,8),(11,12)])
sage: ascii_art(matching_to_tree(m))
"""
# the children of the smallest label are the largest remaining
# element and its partner
trees = [LabelledRootedTree([LabelledRootedTree([], label=i),
LabelledRootedTree([], label=j)]) for i, j in m]
max_label = m.size()//2+1 # last labelled node
while len(trees) > 1:
max_label += 1
# find tree with smallest child and both children smaller than max_label
A = sorted([T for T in trees if max(T[0].label(), T[1].label()) < max_label],
key = lambda T: min(T[0].label(), T[1].label()))[0]
trees.remove(A)
# give it's root node the new label
A = LabelledRootedTree(A, label=max_label)
# find tree with child having label max_label
B = next(T for T in trees
if T[0].label() == max_label or T[1].label() == max_label)
trees.remove(B)
# replace B with [B[0], A] or [B[1], A]
if B[0].label() == max_label:
C = LabelledRootedTree([A, B[1]])
else:
C = LabelledRootedTree([A, B[0]])
trees.append(C)
return trees[0]
Diff Code
def statistic(m): def aux(T): if len(T) == 0: return 0 return 1 + min(aux(T[0]), aux(T[1])) return aux(matching_to_tree(m)) def matching_to_tree(m): """ INPUT: - m, a PerfectMatching on {1,...,2n}. OUTPUT: a decreasingly labelled, unordered full binary tree with n+1 leaves. EXAMPLES:: sage: m = PerfectMatching([(1,4),(2,9),(3,10),(5,7),(6,8),(11,12)]) sage: ascii_art(matching_to_tree(m)) """ # the children of the smallest label are the largest remaining # element and its partner trees = [LabelledRootedTree([LabelledRootedTree([], label=i), LabelledRootedTree([], label=j)]) for i, j in m] max_label = m.size()//2+1 # last labelled node while len(trees) > 1: max_label += 1 # find tree with smallest child and both children smaller than max_label A = sorted([T for T in trees if max(T[0].label(), T[1].label()) < max_label], key = lambda T: min(T[0].label(), T[1].label()))[0] trees.remove(A) # give it's root node the new label A = LabelledRootedTree(A, label=max_label) # find tree with child having label max_label B = next(T for T in trees if T[0].label() == max_label or T[1].label() == max_label).next()trees.remove(B) # replace B with [B[0], A] or [B[1], A] if B[0].label() == max_label: C = LabelledRootedTree([A, B[1]]) else: C = LabelledRootedTree([A, B[0]]) trees.append(C) return trees[0]
Created
Nov 08, 2017 at 21:41 by Martin Rubey
Updated
Jul 15, 2026 at 14:29 by Nupur Jain
Identifier
St001167:
Dyck paths
⟶ ℤ
Values
No modified entries
Description
The number of simple modules that occur as the top of an indecomposable non-projective reflexive module in the linear Nakayama algebra corresponding to a Dyck path.
Here, the top of a module $M$ is $\operatorname{top}(M)=M/\operatorname{rad}(M)$, i.e., the cokernel of the inclusion $\operatorname{rad}(M)\hookrightarrow M$.
For linear Nakayama algebras with at most nine simple modules, this statistic also coincides with the number of simple modules of projective dimension at least three in the corresponding linear Nakayama algebra.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
Here, the top of a module $M$ is $\operatorname{top}(M)=M/\operatorname{rad}(M)$, i.e., the cokernel of the inclusion $\operatorname{rad}(M)\hookrightarrow M$.
For linear Nakayama algebras with at most nine simple modules, this statistic also coincides with the number of simple modules of projective dimension at least three in the corresponding linear Nakayama algebra.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
Diff Description
The number of simple modules that occur as the top of an indecomposable non-projective reflexive module in the linear Nakayama algebra corresponding to a Dyck path.
Here, the top of a module M is \operatorname{top}(M)=M/\operatorname{rad}(M), i.e., the cokernel of the inclusion \operatorname{rad}(M)\hookrightarrow M.
For linear Nakayama algebras with at mosteightnine simple modules, this statistic also coincides with the number of simple modules of projective dimension at least three in the corresponding linear Nakayama algebra.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the [[https://www.findstat.org/CollectionsDatabase/DyckPaths/NakayamaAlgebras/|Nakayama algebras]] page.
Here, the top of a module M is \operatorname{top}(M)=M/\operatorname{rad}(M), i.e., the cokernel of the inclusion \operatorname{rad}(M)\hookrightarrow M.
For linear Nakayama algebras with at most
The correspondence between linear Nakayama algebras and Dyck paths is explained on the [[https://www.findstat.org/CollectionsDatabase/DyckPaths/NakayamaAlgebras/|Nakayama algebras]] page.
References
[1] Marczinzik, René Upper bounds for the dominant dimension of Nakayama and related algebras. zbMATH:06820683
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("NthRadical",[IsList]);
InstallMethod(NthRadical, "for a representation of a quiver", [IsList], 0, function(LIST)
local M, N, f, h, i, n;
M := LIST[1];
n := LIST[2];
if n = 0 then
return(IdentityMapping(M));
else
f := RadicalOfModuleInclusion(M);
N := Source(f);
for i in [1..n-1] do
h := RadicalOfModuleInclusion(N);
N := Source(h);
f := \*(h,f);
od;
return(f);
fi;
end);
DeclareOperation("ARQuiverNak",[IsList]);
InstallMethod(ARQuiverNak, "for a representation of a quiver", [IsList], 0, function(LIST)
local A, UU, i, injA, j;
A := LIST[1];
injA := IndecInjectiveModules(A);
UU := [];
for i in injA do
for j in [0..Dimension(i)-1] do
Append(UU,[Source(NthRadical([i,j]))]);
od;
od;
return(UU);
end);
DeclareOperation("numbersimplespdatleast3",[IsList]);
InstallMethod(numbersimplespdatleast3, "for a representation of a quiver", [IsList],0,function(LIST)
local A, UU, simA;
A := LIST[1];
simA := SimpleModules(A);
UU := Filtered(simA,x->ProjDimensionOfModule(x,30)>=3);
return(Size(UU));
end);
DeclareOperation("IsNtorsionfree",[IsList]);
InstallMethod(IsNtorsionfree, "for a representation of a quiver", [IsList],0,function(LIST)
local A, CoRegA, M, i, n, temm23;
A := LIST[1];
M := LIST[2];
n := LIST[3];
CoRegA := DirectSumOfQPAModules(IndecInjectiveModules(A));
temm23 := [];
for i in [0..n-1] do Append(temm23,[Size(ExtOverAlgebra(NthSyzygy(CoRegA,i),DTr(M))[2])]);
od;
return(Sum(temm23));
end);
DeclareOperation("topreflexive",[IsList]);
InstallMethod(topreflexive, "for a representation of a quiver", [IsList],0,function(LIST)
local A, LL, LL2, UU, UU2, x;
A := LIST[1];
LL := ARQuiverNak([A]);
LL2 := Filtered(LL,x->IsProjectiveModule(x)=false and IsNtorsionfree([A,x,2])=0);
UU := [];
for x in LL2 do Append(UU,[DimensionVector(TopOfModule(x))]);
od;
UU2 := Set(UU);
return(Size(UU2));
end);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
A = gap.NakayamaAlgebra(gap.GF(3), K)
return ZZ(gap.topreflexive([A]))
Created
Apr 28, 2018 at 12:02 by Rene Marczinzik
Updated
May 29, 2026 at 15:59 by Nupur Jain
Values
No modified entries
Description
The Ramsey number of a graph.
This is the smallest integer $n$ such that every two-colouring of the edges of the complete graph $K_n$ contains a (not necessarily induced) monochromatic copy of the given graph. [1]
Thus, the Ramsey number of the complete graph $K_n$ is the ordinary Ramsey number $R(n,n)$. Very few of these numbers are known, in particular, it is only known that $43\leq R(5,5)\leq 46$. [2,3,4,5,6]
This is the smallest integer $n$ such that every two-colouring of the edges of the complete graph $K_n$ contains a (not necessarily induced) monochromatic copy of the given graph. [1]
Thus, the Ramsey number of the complete graph $K_n$ is the ordinary Ramsey number $R(n,n)$. Very few of these numbers are known, in particular, it is only known that $43\leq R(5,5)\leq 46$. [2,3,4,5,6]
Diff Description
The Ramsey number of a graph.
This is the smallest integer n such that every two-colouring of the edges of the complete graph K_n contains a (not necessarily induced) monochromatic copy of the given graph. [1]
Thus, the Ramsey number of the complete graph K_n is the ordinary Ramsey number R(n,n). Very few of these numbers are known, in particular, it is only known that 43\leq R(5,5)\leq 486. [2,3,4,5,6]
This is the smallest integer n such that every two-colouring of the edges of the complete graph K_n contains a (not necessarily induced) monochromatic copy of the given graph. [1]
Thus, the Ramsey number of the complete graph K_n is the ordinary Ramsey number R(n,n). Very few of these numbers are known, in particular, it is only known that 43\leq R(5,5)\leq 4
References
[1] Chvatál, C., Rödl, V., Szemerédi, E., Trotter, Jr., W. T. The Ramsey number of a graph with bounded maximum degree MathSciNet:0714447
[2] Radziszowski, Stanisław P. Small Ramsey numbers MathSciNet:1670625
[3] wikipedia:Ramsey's theorem#Ramsey numbers
[4] Hendry, G. R. T. Ramsey numbers for graphs with five vertices MathSciNet:0994745
[5] Angeltveit, V., McKay, B. D. $R(5,5) \le 48$ arXiv:1703.08768
[6] arXiv 2409.15709
[2] Radziszowski, Stanisław P. Small Ramsey numbers MathSciNet:1670625
[3] wikipedia:Ramsey's theorem#Ramsey numbers
[4] Hendry, G. R. T. Ramsey numbers for graphs with five vertices MathSciNet:0994745
[5] Angeltveit, V., McKay, B. D. $R(5,5) \le 48$ arXiv:1703.08768
[6] arXiv 2409.15709
Diff References
[1] Chvatál, C., Rödl, V., Szemerédi, E., Trotter, Jr., W. T. The Ramsey number of a graph with bounded maximum degree [[MathSciNet:0714447]]
[2] Radziszowski, Stanisław P. Small Ramsey numbers [[MathSciNet:1670625]]
[3] [[wikipedia:Ramsey's theorem#Ramsey numbers]]
[4] Hendry, G. R. T. Ramsey numbers for graphs with five vertices [[MathSciNet:0994745]]
[5] Angeltveit, V., McKay, B. D. R(5,5) \le 48 [[arXiv:1703.08768]]
[6] [[arXiv 2409.15709]]
[2] Radziszowski, Stanisław P. Small Ramsey numbers [[MathSciNet:1670625]]
[3] [[wikipedia:Ramsey's theorem#Ramsey numbers]]
[4] Hendry, G. R. T. Ramsey numbers for graphs with five vertices [[MathSciNet:0994745]]
[5] Angeltveit, V., McKay, B. D. R(5,5) \le 48 [[arXiv:1703.08768]]
[6] [[arXiv 2409.15709]]
Code
N_vertices = 13 # the maximal number of vertices we consider
N_Ramsey = 7 # all graphs with Ramsey number at most N_Ramsey
statistic_dict = dict()
def statistic(G):
return statistic_dict.get(G.canonical_label().copy(immutable=True))
"""
The Ramsey number of a graph.
This is the smallest integer $n$ such that every two-colouring of the
$n$ vertices of the complete graph $K_n$ contains a (not necessarily
induced) monochromatic copy of the given graph. [1]
Thus, the Ramsey number of the complete graph $K_n$ is the ordinary Ramsey number $R(n,n)$. Very few of these numbers are known. [2,3]
[1] Chvatál,Rödl,Szemerédi,Trotter, The Ramsey number of a graph with bounded maximum degree. doi:10.1016/0095-8956(83)90037-0
[2] Radziszowski, Stanisław P. "Small Ramsey numbers." Electron. J. Combin 1.7 (1994).
[3] [[wikipedia:Ramsey's theorem#Ramsey numbers]]
[4] Hendry, G. R. T. Ramsey numbers for graphs with five vertices
"""
def check_Ramsey(n, already_found=[]):
r"""
Colour the complete graph on n vertices with two colours, and
return the subgraphs which appear in all colourings.
EXAMPLES::
sage: L = dict()
sage: n = 2; L[n] = check_Ramsey(n)
sage: n = 3; L[n] = check_Ramsey(n, sum(L.values(), []))
sage: n = 4; L[n] = check_Ramsey(n, sum(L.values(), []))
sage: n = 5; L[n] = check_Ramsey(n, sum(L.values(), []))
sage: n = 6; L[n] = check_Ramsey(n, sum(L.values(), []))
sage: n = 7; L[n] = check_Ramsey(n, sum(L.values(), []))
sage: n=6; graphics_array([H.plot() for H in L[n] if H.is_connected()])
"""
def has_copy(H1, H2, H):
r"""
Return True if there is a copy of H in H1=s or H2=E\s.
"""
S1 = H1.subgraph_search(H)
if not S1 is None:
return True
S2 = H2.subgraph_search(H)
if not S2 is None:
return True
return False
candidates = [H.canonical_label() for k in range(n+1) for H in graphs(k)]
candidates = [H for H in candidates if H not in already_found]
G = graphs.CompleteGraph(n)
E = Set(G.edges(labels=False))
V = G.vertices()
for size in range(1+len(E)//2):
print("check subgraphs of size", size)
tested = []
for s in E.subsets(size):
H1 = Graph(n)
H1.add_edges(s)
H1 = H1.canonical_label()
H2 = Graph(n)
H2.add_edges(E.difference(s))
H2 = H2.canonical_label()
if (H1, H2) not in tested:
tested += [(H1, H2)]
candidates = [H for H in candidates if has_copy(H1, H2, H)]
return candidates
def add_to_dict(G, v):
H = G.canonical_label().copy(immutable=True)
if H in statistic_dict:
assert statistic_dict[H] == v, "The graph %s should have Ramsey number %s, got %s instead"%(repr(H), statistic_dict[H], v)
print("%s already known to have Ramsey value %s"%(repr(H), v))
else:
statistic_dict[H] = v
Ramsey_small = dict()
for n in range(N_Ramsey+1):
Ramsey_small[n] = check_Ramsey(n, sum(Ramsey_small.values(), []))
for v, lG in Ramsey_small.items():
for G in lG:
add_to_dict(G, v)
# table IIIa
Ramsey_almost_complete = dict()
Ramsey_almost_complete[3] = 3
Ramsey_almost_complete[4] = 10
Ramsey_almost_complete[5] = 22
for n, v in Ramsey_almost_complete.items():
G = graphs.CompleteGraph(n)
G.delete_edge(G.edges()[0])
add_to_dict(G, v)
# G8 - G20 are from Table 1 in
# Hendry, G. R. T. Ramsey numbers for graphs with five vertices
G8 = Graph([(1,2),(2,3),(3,4),(4,5),(3,5)]).canonical_label().copy(immutable=True)
G9 = Graph([(1,2),(2,3),(3,4),(4,5),(2,4)]).canonical_label().copy(immutable=True)
G10 = Graph([(1,2),(1,3),(1,4),(1,5),(2,3)]).canonical_label().copy(immutable=True)
G12 = Graph([(1,2),(2,3),(3,4),(4,5),(1,3),(3,5)]).canonical_label().copy(immutable=True)
G13 = Graph([(1,2),(1,3),(1,4),(1,5),(2,3),(3,4)]).canonical_label().copy(immutable=True)
G14 = Graph([(1,2),(1,3),(1,4),(2,5),(2,3),(3,4)]).canonical_label().copy(immutable=True)
G15 = Graph([(1,2),(2,3),(3,4),(4,5),(5,1),(1,3)]).canonical_label().copy(immutable=True)
G16 = Graph([(1,2),(2,3),(3,4),(4,5),(5,1),(1,3),(1,4)]).canonical_label().copy(immutable=True)
G17 = Graph([(1,2),(2,3),(3,4),(4,5),(5,1),(1,3),(2,4)]).canonical_label().copy(immutable=True)
G19 = Graph([(1,2),(1,3),(1,4),(2,3),(2,4),(3,4),(1,5)]).canonical_label().copy(immutable=True)
G20 = Graph([(1,2),(1,3),(1,4),(2,3),(2,4),(3,4),(1,5),(2,5)]).canonical_label().copy(immutable=True)
Ramsey_Hendry = [(G8, 9), (G9, 9), (G10, 9), (G12, 9), (G13, 10), (G14, 10), (G15, 9), (G16, 10), (G17, 10), (G19, 18), (G20, 18)]
for G, v in Ramsey_Hendry:
add_to_dict(G, v)
# table IVa and IVb
Ramsey_bipartite = dict()
Ramsey_bipartite[3, 3] = 18
Ramsey_bipartite[2, 2] = 6
Ramsey_bipartite[2, 3] = 10
Ramsey_bipartite[2, 4] = 14
Ramsey_bipartite[2, 5] = 18
Ramsey_bipartite[2, 6] = 21
Ramsey_bipartite[2, 7] = 26
Ramsey_bipartite[2, 8] = 30
Ramsey_bipartite[2, 9] = 33
Ramsey_bipartite[2, 10] = 38
Ramsey_bipartite[2, 11] = 42
Ramsey_bipartite[2, 12] = 46
Ramsey_bipartite[2, 13] = 50
Ramsey_bipartite[2, 14] = 54
Ramsey_bipartite[2, 15] = 57
Ramsey_bipartite[2, 16] = 62
for (n,m), v in Ramsey_bipartite.items():
add_to_dict(graphs.CompleteBipartiteGraph(n,m), v)
# section 3.3.2 a
def Ramsey_star(n):
m = n-1
assert m > 0
if is_even(m):
return 2*m-1
else:
return 2*m
for n in range(2, N_vertices+1):
add_to_dict(graphs.StarGraph(n-1), Ramsey_star(n))
# section 3.3.2, n
def Ramsey_m_4_star(n):
assert n % 4 == 0, "The number of vertices, %s, should be divisible by 4"%n
m = n//4
assert m >= 2, "There must be at least 2 copies of the star, but there are only %s"%m
return 5*m-1
for n in range(8, N_vertices+1, 4):
add_to_dict(sum([graphs.StarGraph(3) for k in range(n//4)], Graph()), Ramsey_m_4_star(n))
# section 4.1, a,b,c
def Ramsey_cycle(n):
assert n > 2
if is_odd(n) and n > 3:
return 2*n-1
elif is_even(n) and n > 4:
return n-1+(n//2)
elif n == 3 or n == 4:
return 6
for n in range(3, N_vertices+1):
add_to_dict(graphs.CycleGraph(n), Ramsey_cycle(n))
# section 4.1, e
def Ramsey_m_triangles(n):
assert n % 3 == 0, "The number of vertices, %s, should be divisible by 3"%n
m = n // 3
assert m >= 2, "There must be at least 2 copies of the triangle, but there are only %s"%m
return 5*m
for n in range(6, N_vertices+1, 3):
add_to_dict(sum([graphs.CycleGraph(3) for k in range(n//3)], Graph()), Ramsey_m_triangles(n))
# section 4.1, f
def Ramsey_m_squares(n):
assert n % 4 == 0, "The number of vertices, %s, should be divisible by 4"%n
m = n // 4
assert m >= 2, "There must be at least 2 copies of the square, but there are only %s"%m
return 6*m-1
for n in range(8, N_vertices+1, 4):
add_to_dict(sum([graphs.CycleGraph(4) for k in range(n//4)], Graph()), Ramsey_m_squares(n))
# section 5.1
def Ramsey_paths(m):
assert m >= 2
return m + (m//2) - 1
for n in range(2, N_vertices+1):
add_to_dict(graphs.PathGraph(n), Ramsey_paths(n))
# section 5.13 b
def Ramsey_union_K2(m):
assert is_even(m) and m >= 2
return 3*(m//2) - 1
for n in range(2, N_vertices+1, 2):
add_to_dict(sum([graphs.CompleteGraph(2) for k in range(n//2)], Graph()), Ramsey_union_K2(n))
Ramsey_wheel = dict()
# table VIII
Ramsey_wheel[3] = 6
Ramsey_wheel[4] = 18
Ramsey_wheel[5] = 15
Ramsey_wheel[6] = 17
Ramsey_wheel[7] = 19
for n, v in Ramsey_wheel.items():
add_to_dict(graphs.WheelGraph(n), v)
Ramsey_book = dict()
# table IX
Ramsey_book[1] = 6
Ramsey_book[2] = 10
Ramsey_book[3] = 14
Ramsey_book[4] = 18
Ramsey_book[5] = 21
Ramsey_book[6] = 26
for n, v in Ramsey_book.items():
add_to_dict(Graph(1).join(graphs.StarGraph(n)), v)
# R.J. Faudree and R.H. Schelp, Ramsey Numbers for All Linear Forests, Discrete Mathematics, 16 (1976) 149-155.
def Ramsey_linear_forest(n, j):
assert is_even(n-j)
return n + (n-j)//2 - 1
for n in range(2, N_vertices+1):
for la in Partitions(n):
if min(la) > 1:
G = sum([graphs.PathGraph(p) for p in la], Graph())
add_to_dict(G, Ramsey_linear_forest(n, sum(1 for p in la if is_odd(p))))
# J.W. Grossman, The Ramsey Numbers of the Union of Two Stars, Utilitas Mathematica, 16 (1979) 271-279.
def Ramsey_two_stars(n, m):
assert n >= m, "Ramsey_two_stars only valid for n >= m, but n = %s and m = %s"%(n,m)
return max(n+2*m, 2*n+1, n+m+3)
for n in range(2, N_vertices+1):
for m in range(2,(n-1)//2+1):
G = graphs.StarGraph(m-1) + graphs.StarGraph(n-m-1)
add_to_dict(G, Ramsey_two_stars(n-m-1, m-1))
# Yu, P., & Li, Y. (2016). All Ramsey numbers for brooms in graphs. The Electronic Journal of Combinatorics, 23(3), 3-29.
def Ramsey_broom(k, l):
assert k >= 2
n = k+l
if l == 1 or l == 2:
return Ramsey_star(n)
if l == 3:
return Ramsey_star(n-1)
if l >= 2*k - 1:
return n + (l+1)//2 - 1
if 4 <= l <= 2*k - 2:
return 2*n - 2*((l+1)//2) - 1
def BroomGraph(k, l):
G = graphs.StarGraph(k)
assert G.degree(0) == k
G.add_path([0] + [k+1+i for i in range(l-1)])
G.layout("tree", save_pos=True)
return G
for n in range(2, N_vertices+1):
for k in range(2,n-1):
G = BroomGraph(k, n-k)
add_to_dict(G, Ramsey_broom(k, n-k))
# Jerrold W. Grossman, Frank Harary, Maria Klawe, Generalized Ramsey theory for graphs, X: double stars
def Ramsey_double_star(k, l):
assert k >= 2
n = k+l+2
if is_odd(k) and l <= 2:
return max(2*k+1, k+2*l+2)
if (is_even(k) or l >= 3) and (k^2 <= 2*l or k >= 3*l):
return max(2*k+2, k+2*l+2)
def DoubleStarGraph(k, l):
assert k >= l, "DoubleStarGraph only defined for k >= l"
G = graphs.StarGraph(k)
H = G.disjoint_union(graphs.StarGraph(l), "pairs")
H.add_edge((0,0),(1,0))
return H
for n in range(2, N_vertices+1):
for l in range(2,n//2):
k = n-l-2
G = DoubleStarGraph(k, l)
assert G.num_verts() == n
if (is_odd(k) and l <= 2) or ((is_even(k) or l >= 3) and (k^2 <= 2*l or k >= 3*l)):
add_to_dict(G, Ramsey_double_star(k, l))
######################################################################
# finally, add isolated vertices
for G, v in list(statistic_dict.items()):
for k in range(N_vertices-G.num_verts()):
add_to_dict(G.disjoint_union(Graph(k)), max(G.num_verts()+k, v))
Diff Code
N_vertices = 13 # the maximal number of vertices we consider N_Ramsey = 7 # all graphs with Ramsey number at most N_Ramsey statistic_dict = dict() def statistic(G): return statistic_dict.get(G.canonical_label().copy(immutable=True)) """ The Ramsey number of a graph. This is the smallest integer n such that every two-colouring of the n vertices of the complete graph K_n contains a (not necessarily induced) monochromatic copy of the given graph. [1] Thus, the Ramsey number of the complete graph K_n is the ordinary Ramsey number R(n,n). Very few of these numbers are known. [2,3] [1] Chvatál,Rödl,Szemerédi,Trotter, The Ramsey number of a graph with bounded maximum degree. doi:10.1016/0095-8956(83)90037-0 [2] Radziszowski, Stanisław P. "Small Ramsey numbers." Electron. J. Combin 1.7 (1994). [3] [[wikipedia:Ramsey's theorem#Ramsey numbers]] [4] Hendry, G. R. T. Ramsey numbers for graphs with five vertices """ def check_Ramsey(n, already_found=[]): r""" Colour the complete graph on n vertices with two colours, and return the subgraphs which appear in all colourings. EXAMPLES:: sage: L = dict() sage: n = 2; L[n] = check_Ramsey(n) sage: n = 3; L[n] = check_Ramsey(n, sum(L.values(), [])) sage: n = 4; L[n] = check_Ramsey(n, sum(L.values(), [])) sage: n = 5; L[n] = check_Ramsey(n, sum(L.values(), [])) sage: n = 6; L[n] = check_Ramsey(n, sum(L.values(), [])) sage: n = 7; L[n] = check_Ramsey(n, sum(L.values(), [])) sage: n=6; graphics_array([H.plot() for H in L[n] if H.is_connected()]) """ def has_copy(H1, H2, H): r""" Return True if there is a copy of H in H1=s or H2=E\s. """ S1 = H1.subgraph_search(H) if not S1 is None: return True S2 = H2.subgraph_search(H) if not S2 is None: return True return False candidates = [H.canonical_label() for k in range(n+1) for H in graphs(k)] candidates = [H for H in candidates if H not in already_found] G = graphs.CompleteGraph(n) E = Set(G.edges(labels=False)) V = G.vertices() for size in range(1+len(E)//2): print("check subgraphs of size", size) tested = [] for s in E.subsets(size): H1 = Graph(n) H1.add_edges(s) H1 = H1.canonical_label() H2 = Graph(n) H2.add_edges(E.difference(s)) H2 = H2.canonical_label() if (H1, H2) not in tested: tested += [(H1, H2)] candidates = [H for H in candidates if has_copy(H1, H2, H)] return candidates def add_to_dict(G, v): H = G.canonical_label().copy(immutable=True) if H in statistic_dict: assert statistic_dict[H] == v, "The graph %s should have Ramsey number %s, got %s instead"%(repr(H), statistic_dict[H], v) print("%s already known to have Ramsey value %s"%(repr(H), v)) else: statistic_dict[H] = v Ramsey_small = dict() for n in range(N_Ramsey+1): Ramsey_small[n] = check_Ramsey(n, sum(Ramsey_small.values(), [])) for v, lG in Ramsey_small.items(): for G in lG: add_to_dict(G, v) # table IIIa Ramsey_almost_complete = dict() Ramsey_almost_complete[3] = 3 Ramsey_almost_complete[4] = 10 Ramsey_almost_complete[5] = 22 for n, v in Ramsey_almost_complete.items(): G = graphs.CompleteGraph(n) G.delete_edge(G.edges()[0]) add_to_dict(G, v) # G8 - G20 are from Table 1 in # Hendry, G. R. T. Ramsey numbers for graphs with five vertices G8 = Graph([(1,2),(2,3),(3,4),(4,5),(3,5)]).canonical_label().copy(immutable=True) G9 = Graph([(1,2),(2,3),(3,4),(4,5),(2,4)]).canonical_label().copy(immutable=True) G10 = Graph([(1,2),(1,3),(1,4),(1,5),(2,3)]).canonical_label().copy(immutable=True) G12 = Graph([(1,2),(2,3),(3,4),(4,5),(1,3),(3,5)]).canonical_label().copy(immutable=True) G13 = Graph([(1,2),(1,3),(1,4),(1,5),(2,3),(3,4)]).canonical_label().copy(immutable=True) G14 = Graph([(1,2),(1,3),(1,4),(2,5),(2,3),(3,4)]).canonical_label().copy(immutable=True) G15 = Graph([(1,2),(2,3),(3,4),(4,5),(5,1),(1,3)]).canonical_label().copy(immutable=True) G16 = Graph([(1,2),(2,3),(3,4),(4,5),(5,1),(1,3),(1,4)]).canonical_label().copy(immutable=True) G17 = Graph([(1,2),(2,3),(3,4),(4,5),(5,1),(1,3),(2,4)]).canonical_label().copy(immutable=True) G19 = Graph([(1,2),(1,3),(1,4),(2,3),(2,4),(3,4),(1,5)]).canonical_label().copy(immutable=True) G20 = Graph([(1,2),(1,3),(1,4),(2,3),(2,4),(3,4),(1,5),(2,5)]).canonical_label().copy(immutable=True) Ramsey_Hendry = [(G8, 9), (G9, 9), (G10, 9), (G12, 9), (G13, 10), (G14, 10), (G15, 9), (G16, 10), (G17, 10), (G19, 18), (G20, 18)] for G, v in Ramsey_Hendry: add_to_dict(G, v) # table IVa and IVb Ramsey_bipartite = dict() Ramsey_bipartite[3, 3] = 18 Ramsey_bipartite[2, 2] = 6 Ramsey_bipartite[2, 3] = 10 Ramsey_bipartite[2, 4] = 14 Ramsey_bipartite[2, 5] = 18 Ramsey_bipartite[2, 6] = 21 Ramsey_bipartite[2, 7] = 26 Ramsey_bipartite[2, 8] = 30 Ramsey_bipartite[2, 9] = 33 Ramsey_bipartite[2, 10] = 38 Ramsey_bipartite[2, 11] = 42 Ramsey_bipartite[2, 12] = 46 Ramsey_bipartite[2, 13] = 50 Ramsey_bipartite[2, 14] = 54 Ramsey_bipartite[2, 15] = 57 Ramsey_bipartite[2, 16] = 62 for (n,m), v in Ramsey_bipartite.items(): add_to_dict(graphs.CompleteBipartiteGraph(n,m), v) # section 3.3.2 a def Ramsey_star(n): m = n-1 assert m > 0 if is_even(m): return 2*m-1 else: return 2*m for n in range(2, N_vertices+1): add_to_dict(graphs.StarGraph(n-1), Ramsey_star(n)) # section 3.3.2, n def Ramsey_m_4_star(n): assert n % 4 == 0, "The number of vertices, %s, should be divisible by 4"%n m = n//4 assert m >= 2, "There must be at least 2 copies of the star, but there are only %s"%m return 5*m-1 for n in range(8, N_vertices+1, 4): add_to_dict(sum([graphs.StarGraph(3) for k in range(n//4)], Graph()), Ramsey_m_4_star(n)) # section 4.1, a,b,c def Ramsey_cycle(n): assert n > 2 if is_odd(n) and n > 3: return 2*n-1 elif is_even(n) and n > 4: return n-1+(n//2) elif n == 3 or n == 4: return 6 for n in range(3, N_vertices+1): add_to_dict(graphs.CycleGraph(n), Ramsey_cycle(n)) # section 4.1, e def Ramsey_m_triangles(n): assert n % 3 == 0, "The number of vertices, %s, should be divisible by 3"%n m = n // 3 assert m >= 2, "There must be at least 2 copies of the triangle, but there are only %s"%m return 5*m for n in range(6, N_vertices+1, 3): add_to_dict(sum([graphs.CycleGraph(3) for k in range(n//3)], Graph()), Ramsey_m_triangles(n)) # section 4.1, f def Ramsey_m_squares(n): assert n % 4 == 0, "The number of vertices, %s, should be divisible by 4"%n m = n // 4 assert m >= 2, "There must be at least 2 copies of the square, but there are only %s"%m return 6*m-1 for n in range(8, N_vertices+1, 4): add_to_dict(sum([graphs.CycleGraph(4) for k in range(n//4)], Graph()), Ramsey_m_squares(n)) # section 5.1 def Ramsey_paths(m): assert m >= 2 return m + (m//2) - 1 for n in range(2, N_vertices+1): add_to_dict(graphs.PathGraph(n), Ramsey_paths(n)) # section 5.13 b def Ramsey_union_K2(m): assert is_even(m) and m >= 2 return 3*(m//2) - 1 for n in range(2, N_vertices+1, 2): add_to_dict(sum([graphs.CompleteGraph(2) for k in range(n//2)], Graph()), Ramsey_union_K2(n)) Ramsey_wheel = dict() # table VIII Ramsey_wheel[3] = 6 Ramsey_wheel[4] = 18 Ramsey_wheel[5] = 15 Ramsey_wheel[6] = 17 Ramsey_wheel[7] = 19 for n, v in Ramsey_wheel.items(): add_to_dict(graphs.WheelGraph(n), v) Ramsey_book = dict() # table IX Ramsey_book[1] = 6 Ramsey_book[2] = 10 Ramsey_book[3] = 14 Ramsey_book[4] = 18 Ramsey_book[5] = 21 Ramsey_book[6] = 26 for n, v in Ramsey_book.items(): add_to_dict(Graph(1).join(graphs.StarGraph(n)), v) # R.J. Faudree and R.H. Schelp, Ramsey Numbers for All Linear Forests, Discrete Mathematics, 16 (1976) 149-155. def Ramsey_linear_forest(n, j): assert is_even(n-j) return n + (n-j)//2 - 1 for n in range(2, N_vertices+1): for la in Partitions(n): if min(la) > 1: G = sum([graphs.PathGraph(p) for p in la], Graph()) add_to_dict(G, Ramsey_linear_forest(n, sum(1 for p in la if is_odd(p)))) # J.W. Grossman, The Ramsey Numbers of the Union of Two Stars, Utilitas Mathematica, 16 (1979) 271-279. def Ramsey_two_stars(n, m): assert n >= m, "Ramsey_two_stars only valid for n >= m, but n = %s and m = %s"%(n,m) return max(n+2*m, 2*n+1, n+m+3) for n in range(2, N_vertices+1): for m in range(2,(n-1)//2+1): G = graphs.StarGraph(m-1) + graphs.StarGraph(n-m-1) add_to_dict(G, Ramsey_two_stars(n-m-1, m-1)) # Yu, P., & Li, Y. (2016). All Ramsey numbers for brooms in graphs. The Electronic Journal of Combinatorics, 23(3), 3-29. def Ramsey_broom(k, l): assert k >= 2 n = k+l if l == 1 or l == 2: return Ramsey_star(n) if l == 3: return Ramsey_star(n-1) if l >= 2*k - 1: return n + (l+1)//2 - 1 if 4 <= l <= 2*k - 2: return 2*n - 2*((l+1)//2) - 1 def BroomGraph(k, l): G = graphs.StarGraph(k) assert G.degree(0) == k G.add_path([0] + [k+1+i for i in range(l-1)]) G.layout("tree", save_pos=True) return G for n in range(2, N_vertices+1): for k in range(2,n-1): G = BroomGraph(k, n-k) add_to_dict(G, Ramsey_broom(k, n-k)) # Jerrold W. Grossman, Frank Harary, Maria Klawe, Generalized Ramsey theory for graphs, X: double stars def Ramsey_double_star(k, l): assert k >= 2 n = k+l+2 if is_odd(k) and l <= 2: return max(2*k+1, k+2*l+2) if (is_even(k) or l >= 3) and (k^2 <= 2*l or k >= 3*l): return max(2*k+2, k+2*l+2) def DoubleStarGraph(k, l): assert k >= l, "DoubleStarGraph only defined for k >= l" G = graphs.StarGraph(k) H = G.disjoint_union(graphs.StarGraph(l), "pairs") H.add_edge((0,0),(1,0)) return H for n in range(2, N_vertices+1): for l in range(2,n//2): k = n-l-2 G = DoubleStarGraph(k, l) assert G.num_verts() == n if (is_odd(k) and l <= 2) or ((is_even(k) or l >= 3) and (k^2 <= 2*l or k >= 3*l)): add_to_dict(G, Ramsey_double_star(k, l)) ###################################################################### # finally, add isolated vertices for G, v in list(statistic_dict.items()): for k in range(N_vertices-G.num_verts()): add_to_dict(G.disjoint_union(Graph(k)), max(G.num_verts()+k, v))
Created
May 07, 2016 at 08:53 by Martin Rubey
Updated
May 12, 2026 at 16:08 by Martin Rubey
Identifier
St000446:
Permutations ⟶ ℤ
Values
No modified entries
Description
The disorder of a permutation.
Consider a permutation $\pi = [\pi_1,\ldots,\pi_n]$ and cyclically scanning $\pi$ from left to right and remove the elements $1$ through $n$ on this order one after the other. The disorder of $\pi$ is defined to be the number of times a position was not removed in this process.
For example, the disorder of $[3,5,2,1,4]$ is $8$ since on the first scan, 3,5,2 and 4 are not removed, on the second, 3,5 and 4, and on the third and last scan, 5 is once again not removed.
Also, the inverse comajor index of a permutation.
This is, $\operatorname{icomaj}(\pi) = \sum_{i \in \operatorname{Des}(\pi^{-1})} (n-i)$ for a permutation $\pi$ of length $n$.
Consider a permutation $\pi = [\pi_1,\ldots,\pi_n]$ and cyclically scanning $\pi$ from left to right and remove the elements $1$ through $n$ on this order one after the other. The disorder of $\pi$ is defined to be the number of times a position was not removed in this process.
For example, the disorder of $[3,5,2,1,4]$ is $8$ since on the first scan, 3,5,2 and 4 are not removed, on the second, 3,5 and 4, and on the third and last scan, 5 is once again not removed.
Also, the inverse comajor index of a permutation.
This is, $\operatorname{icomaj}(\pi) = \sum_{i \in \operatorname{Des}(\pi^{-1})} (n-i)$ for a permutation $\pi$ of length $n$.
Diff Description
The disorder of a permutation.
Consider a permutation \pi = [\pi_1,\ldots,\pi_n] and cyclically scanning \pi from left to right and remove the elements 1 through n on this order one after the other. The '''disorder''' of \pi is defined to be the number of times a position was not removed in this process.
For example, the disorder of [3,5,2,1,4] is 8 since on the first scan, 3,5,2 and 4 are not removed, on the second, 3,5 and 4, and on the third and last scan, 5 is once again not removed.
Also, the inverse comajor index of a permutation.
This is, \operatorname{icomaj}(\pi) = \sum_{i \in \operatorname{Des}(\pi^{-1})} (n-i) for a permutation \pi of length n.
Consider a permutation \pi = [\pi_1,\ldots,\pi_n] and cyclically scanning \pi from left to right and remove the elements 1 through n on this order one after the other. The '''disorder''' of \pi is defined to be the number of times a position was not removed in this process.
For example, the disorder of [3,5,2,1,4] is 8 since on the first scan, 3,5,2 and 4 are not removed, on the second, 3,5 and 4, and on the third and last scan, 5 is once again not removed.
Also, the inverse comajor index of a permutation.
This is, \operatorname{icomaj}(\pi) = \sum_{i \in \operatorname{Des}(\pi^{-1})} (n-i) for a permutation \pi of length n.
References
[1] Triangle of Mahonian numbers T(n,k): coefficients in expansion of Product_i=0..n-1 (1 + x + ... + x^i), where k ranges from 0 to A000217(n-1). OEIS:A008302
Code
def statistic(pi):
i = 1
pos = 0
count = 0
while i < len(pi):
if pi[pos] == i:
i += 1
elif pi[pos] > i:
count += 1
pos = (pos+1)%len(pi)
return count
def statistic(pi):
n = len(pi)
pinv = pi.inverse()
return sum( n-i for i in [1 .. n-1] if pinv(i) > pinv(i+1) )
Diff Code
def statistic(pi):
i = 1
pos = 0
count = 0
while i < len(pi):
if pi[pos] == i:
i += 1
elif pi[pos] > i:
count += 1
pos = (pos+1)%len(pi)
return count
def statistic(pi):
n = len(pi)
pinv = pi.inverse()
return sum( n-i for i in [1 .. n-1] if pinv(i) > pinv(i+1) )
Created
Mar 15, 2016 at 22:34 by Christian Stump
Updated
Apr 12, 2026 at 16:02 by Eder Guimarães dos Santos
Identifier
St001808:
Dyck paths
⟶ ℤ
Values
No modified entries
Description
The box weight or horizontal decoration of a Dyck path.
Let a Dyck path $D = (d_1,d_2,\dots,d_n)$ with steps $d_i \in \{N=(0,1),E=(1,0)\}$ be given.
For the $i$th step $d_i \in D$ we define the weight
$$ \beta(d_i) = 1, \quad \text{ if } d_i=N, $$
and
$$ \beta(d_i) = \sum_{k = 1}^{i} [\![ d_k = N]\!], \quad \text{ if } d_i=E, $$
where we use the Iverson bracket $[\![ A ]\!]$ that is equal to $1$ if $A$ is true, and $0$ otherwise.
The box weight or horizontal deocration of $D$ is defined as
$$ \prod_{i=1}^{n} \beta(d_i). $$
The name describes the fact that between each $E$ step and the line $y=-1$ exactly one unit box is marked.
Let a Dyck path $D = (d_1,d_2,\dots,d_n)$ with steps $d_i \in \{N=(0,1),E=(1,0)\}$ be given.
For the $i$th step $d_i \in D$ we define the weight
$$ \beta(d_i) = 1, \quad \text{ if } d_i=N, $$
and
$$ \beta(d_i) = \sum_{k = 1}^{i} [\![ d_k = N]\!], \quad \text{ if } d_i=E, $$
where we use the Iverson bracket $[\![ A ]\!]$ that is equal to $1$ if $A$ is true, and $0$ otherwise.
The box weight or horizontal deocration of $D$ is defined as
$$ \prod_{i=1}^{n} \beta(d_i). $$
The name describes the fact that between each $E$ step and the line $y=-1$ exactly one unit box is marked.
References
[1] Elvey Price, A., Fang, W., Wallner, M. Compacted binary trees admit a stretched exponential arXiv:1908.11181
[2] doi:10.4230/LIPIcs.AofA.2020.11
[3] Number of deterministic completely defined initially connected acyclic automata with 2 inputs and n transient unlabeled states (and a unique absorbing state). OEIS:A082161
[2] doi:10.4230/LIPIcs.AofA.2020.11
[3] Number of deterministic completely defined initially connected acyclic automata with 2 inputs and n transient unlabeled states (and a unique absorbing state). OEIS:A082161
Code
def statistic(x):
xw = 1
lvl = 1
for step in x:
if step == 0:
lvl += 1
else:
xw *= lvl
return xw
Diff Code
defdyck_box_weightstatistic(x): xw = 1 lvl = 1 for step in x: if step == 0: lvl += 1 else: xw *= lvl return xw
Created
Jun 13, 2022 at 14:21 by Michael Wallner
Updated
Apr 10, 2026 at 17:27 by Nupur Jain
Identifier
St000978:
Dyck paths
⟶ ℤ
Values
No modified entries
Description
The sum of the positions of double down-steps of a Dyck path.
This is part of MacMahon's equal index of a word, see [1, p. 135] and St000977MacMahon's equal index of a Dyck path..
This is part of MacMahon's equal index of a word, see [1, p. 135] and St000977MacMahon's equal index of a Dyck path..
Diff Description
The sum of the positions of double down-steps of a Dyck path.
This is part of MacMahon's equal index of a word, see [1, p. 135] and [[St000977]].
This is part of MacMahon's equal index of a word, see [1, p. 135] and [[St000977]].
References
[1] MacMahon, P. A. Combinatory analysis. Vol. I, II (bound in one volume) MathSciNet:2417935
Code
def statistic(p):
return sum( i+1 for i in range(len(p)-1) if p[i] == p[i+1] == 0 )
Created
Sep 08, 2017 at 12:19 by Christian Stump
Updated
Mar 22, 2026 at 16:17 by Nupur Jain
Values
No modified entries
Description
The number of vertices in prime modules of a graph.
References
Code
def count_prime_leaves(m):
from sage.graphs.graph_decompositions.modular_decomposition import NodeType
if m.label() == NodeType.PRIME:
return len(m.leaf_labels())
return sum(count_prime_leaves(c) for c in m)
def statistic(G):
m = G.modular_decomposition(algorithm='habib', style='tree')
return count_prime_leaves(m)
Diff Code
def count_prime_leaves(m): from sage.graphs.graph_decompositions.modular_decomposition import NodeTypedef count_prime_leaves(m):if m.label() == NodeType.PRIME: return len(m.leaf_labels()) return sum(count_prime_leaves(c) for c in m) def statistic(G): m = G.modular_decomposition(algorithm='habib', style='tree') return count_prime_leaves(m)
Created
Feb 12, 2019 at 05:27 by Martin Rubey
Updated
Mar 18, 2026 at 16:53 by Nupur Jain
Values
No modified entries
Description
The Szeged index of a graph.
References
[1] Kalvžar, S., Rajapakse, A., Gutman, I. The Szeged and the Wiener index of graphs. zbMATH:0903.05020
Code
def statistic(g):
return sum(h.szeged_index() for h in g.connected_components_subgraphs())
Diff Code
def statistic(g): returngsum(h.szeged_index() for h in g.connected_components_subgraphs())
Created
Jul 27, 2015 at 17:25 by Martin Rubey
Updated
Mar 18, 2026 at 16:36 by Nupur Jain
Identifier
St001443:
Finite Cartan types
⟶ ℤ
Values
No modified entries
Description
The largest coefficient in the Poincaré polynomial of the Weyl group of given Cartan type.
The Poincaré polynomial of a Weyl group $W$ is
$$ \sum_{w\in W} q^{\ell(w)} = \prod_i [d_i]_q, $$
where $\ell$ denotes the Coxeter length, $d_1,\dots$ are the degrees (or exponents) of $W$ and $[n]_q=1 +\dots+q^{n-1}$ is the $q$-integer.
Thus, this statistic records the frequency of the most common length in the group.
The Poincaré polynomial of a Weyl group $W$ is
$$ \sum_{w\in W} q^{\ell(w)} = \prod_i [d_i]_q, $$
where $\ell$ denotes the Coxeter length, $d_1,\dots$ are the degrees (or exponents) of $W$ and $[n]_q=1 +\dots+q^{n-1}$ is the $q$-integer.
Thus, this statistic records the frequency of the most common length in the group.
References
[1] Gaichenkov, M. The growth of maximum elements for the reflection group $D_n$ MathOverflow:336756
Code
def statistic(C):
from sage.combinat.q_analogues import q_int
q = polygen(ZZ, 'q')
return max(prod(q_int(d, q) for d in WeylGroup(C).degrees()).list())
Diff Code
def statistic(C): from sage.combinat.q_analogues import q_int q = polygen(ZZ, 'q') return max(prod(q_int(d, q) for d in WeylGroup(C).degrees()).list())
Created
Jul 22, 2019 at 22:51 by Martin Rubey
Updated
Mar 18, 2026 at 16:29 by Nupur Jain
Identifier
St000790:
Dyck paths
⟶ ℤ
Values
No modified entries
Description
The number of pairs of centered tunnels, one strictly containing the other, of a Dyck path.
Apparently, the total number of these is given in [1]. This number is also ${m \choose 2}$ where $m$ is the value of St000117The number of centered tunnels of a Dyck path. on the same Dyck path.
The statistic counting all pairs of distinct tunnels is the area of a Dyck path St000012The area of a Dyck path..
Apparently, the total number of these is given in [1]. This number is also ${m \choose 2}$ where $m$ is the value of St000117The number of centered tunnels of a Dyck path. on the same Dyck path.
The statistic counting all pairs of distinct tunnels is the area of a Dyck path St000012The area of a Dyck path..
Diff Description
The number of pairs of centered tunnels, one strictly containing the other, of a Dyck path.
Apparently, the total number of these is given in [1]. This number is also {m \choose 2} where m is the value of [[St000117]] on the same Dyck path.
The statistic counting all pairs of distinct tunnels is the area of a Dyck path [[St000012]].
Apparently, the total number of these is given in [1]. This number is also {m \choose 2} where m is the value of [[St000117]] on the same Dyck path.
The statistic counting all pairs of distinct tunnels is the area of a Dyck path [[St000012]].
References
[1] oeis:A000245
WARNING - could not verify link HTTP Error 403: Forbidden
error fetching oeis.org/search?q=A000245&n=1&fmt=text [2] WARNING - could not verify link HTTP Error 403: Forbidden
[3] error fetching https://oeis.org/search?q=A000245&n=1&fmt=text
WARNING - could not verify link HTTP Error 403: Forbidden
error fetching oeis.org/search?q=A000245&n=1&fmt=text [2] WARNING - could not verify link HTTP Error 403: Forbidden
[3] error fetching https://oeis.org/search?q=A000245&n=1&fmt=text
Diff References
[1] [[oeis A0000245 :A000245]]
WARNING - could not verify link HTTP Error 403: Forbidden
error fetching https://oeis.org/search?q=A000245&n=1&fmt=text
[2] WARNING - could not verify link HTTP Error 403: Forbidden
[3] error fetching [[https://oeis.org/search?q=A000245&n=1&fmt=text]]
WARNING - could not verify link HTTP Error 403: Forbidden
error fetching https://oeis.org/search?q=A000245&n=1&fmt=text
[2] WARNING - could not verify link HTTP Error 403: Forbidden
[3] error fetching [[https://oeis.org/search?q=A000245&n=1&fmt=text]]
Code
def statistic(D):
D = DyckWord(D)
n = len(D)
tunnels = D.tunnels()
t = [(i, j) for (i, j) in tunnels if i + j == n]
res = 0
for (a1, b1) in t:
for (a2, b2) in t:
if a1 < a2 < b2 < b1:
res += 1
return res
Created
Apr 23, 2017 at 15:11 by Martin Rubey
Updated
Mar 18, 2026 at 12:16 by Nupur Jain
Identifier
St001025:
Dyck paths
⟶ ℤ
Values
Modified entries:
Description
The number of simple modules with projective dimension four in the linear Nakayama algebra corresponding to a Dyck path.
See St001007The number of simple modules with projective dimension one in the linear Nakayama algebra corresponding to a Dyck path., St001011The number of simple modules with projective dimension two in the linear Nakayama algebra corresponding to a Dyck path., and St001022The number of simple modules with projective dimension three in the linear Nakayama algebra corresponding to a Dyck path. for the number of simple modules with projective dimension one, two, and three respectively.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
See St001007The number of simple modules with projective dimension one in the linear Nakayama algebra corresponding to a Dyck path., St001011The number of simple modules with projective dimension two in the linear Nakayama algebra corresponding to a Dyck path., and St001022The number of simple modules with projective dimension three in the linear Nakayama algebra corresponding to a Dyck path. for the number of simple modules with projective dimension one, two, and three respectively.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
Code
def count_pd4_simples(dyck_word):
c = kupisch(dyck_word)
n = len(c)
count = 0
for i in range(n):
a, l = i, 1
pd = 0
while l < c[a] and pd < 4:
a, l = a + l, c[a] - l
pd += 1
if pd == 4 and l == c[a]:
count += 1
return count
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
return count_pd4_simples(D)
Diff Code
gap('LoadPackage("QPA");') import tempfile as _tf, os as _os _gap_code = r""" DeclareOperation("numberssimpprojdim4", [IsList]); InstallMethod(numberssimpprojdim4, "for a representation of a quiver", [IsList],0,function(L) local A, R, RR, list; list := L; A := NakayamaAlgebra(GF(3),list); R := SimpleModules(A); RR := Filtered(R,x->ProjDimensionOfModule(x,4)=4); return(Size(RR)); end ); """ with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f: _f.write('LoadPackage("QPA");;\n') _f.write(_gap_code) _tmp = _f.name gap.eval('Read("' + _tmp + '");') _os.unlink(_tmp)def count_pd4_simples(dyck_word): c = kupisch(dyck_word) n = len(c) count = 0 for i in range(n): a, l = i, 1 pd = 0 while l < c[a] and pd < 4: a, l = a + l, c[a] - l pd += 1 if pd == 4 and l == c[a]: count += 1 return count def kupisch(D): DR = D.reverse() H = DR.heights() return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1] def statistic(D):K = kupisch(D) return ZZ(gap.numberssimpprojdim4(K)return count_pd4_simples(D)
Created
Oct 30, 2017 at 22:21 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:49 by Nupur Jain
Identifier
St001011:
Dyck paths
⟶ ℤ
Values
Modified entries:
Description
The number of simple modules with projective dimension two in the linear Nakayama algebra corresponding to a Dyck path.
See St001007The number of simple modules with projective dimension one in the linear Nakayama algebra corresponding to a Dyck path., St001022The number of simple modules with projective dimension three in the linear Nakayama algebra corresponding to a Dyck path., and St001025The number of simple modules with projective dimension four in the linear Nakayama algebra corresponding to a Dyck path. for the number of simple modules with projective dimension one, three, and four respectively.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
See St001007The number of simple modules with projective dimension one in the linear Nakayama algebra corresponding to a Dyck path., St001022The number of simple modules with projective dimension three in the linear Nakayama algebra corresponding to a Dyck path., and St001025The number of simple modules with projective dimension four in the linear Nakayama algebra corresponding to a Dyck path. for the number of simple modules with projective dimension one, three, and four respectively.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
Code
def count_pd2_simples(dyck_word):
c = kupisch(dyck_word)
n = len(c)
count = 0
for i in range(n):
a, l = i, 1
pd = 0
while l < c[a] and pd < 2:
a, l = a + l, c[a] - l
pd += 1
if pd == 2 and l == c[a]:
count += 1
return count
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
return count_pd2_simples(D)
Diff Code
gap('LoadPackage("QPA");') import tempfile as _tf, os as _os _gap_code = r""" DeclareOperation("numberssimpprojdim2", [IsList]); InstallMethod(numberssimpprojdim2, "for a representation of a quiver", [IsList],0,function(L) local A, R, RR, list; list := L; A := NakayamaAlgebra(GF(3),list); R := SimpleModules(A); RR := Filtered(R,x->ProjDimensionOfModule(x,2)=2); return(Size(RR)); end ); """ with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f: _f.write('LoadPackage("QPA");;\n') _f.write(_gap_code) _tmp = _f.name gap.eval('Read("' + _tmp + '");') _os.unlink(_tmp)def count_pd2_simples(dyck_word): c = kupisch(dyck_word) n = len(c) count = 0 for i in range(n): a, l = i, 1 pd = 0 while l < c[a] and pd < 2: a, l = a + l, c[a] - l pd += 1 if pd == 2 and l == c[a]: count += 1 return count def kupisch(D): DR = D.reverse() H = DR.heights() return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1] def statistic(D):K = kupisch(D) return ZZ(gap.numberssimpprojdim2(K)return count_pd2_simples(D)
Created
Oct 29, 2017 at 17:29 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:48 by Nupur Jain
Identifier
St001007:
Dyck paths
⟶ ℤ
(values match
St000024The number of double up and double down steps of a Dyck path., St000443The number of long tunnels of a Dyck path., St001187The number of simple modules of grade at least one in the linear Nakayama algebra corresponding to a Dyck path., St001224Let X be the direct sum of all simple modules of the corresponding Nakayama algebra.)
Values
Modified entries:
Description
The number of simple modules with projective dimension one in the linear Nakayama algebra corresponding to a Dyck path.
See St001011The number of simple modules with projective dimension two in the linear Nakayama algebra corresponding to a Dyck path., St001022The number of simple modules with projective dimension three in the linear Nakayama algebra corresponding to a Dyck path., and St001025The number of simple modules with projective dimension four in the linear Nakayama algebra corresponding to a Dyck path. for the number of simple modules with projective dimension two, three, and four respectively.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
See St001011The number of simple modules with projective dimension two in the linear Nakayama algebra corresponding to a Dyck path., St001022The number of simple modules with projective dimension three in the linear Nakayama algebra corresponding to a Dyck path., and St001025The number of simple modules with projective dimension four in the linear Nakayama algebra corresponding to a Dyck path. for the number of simple modules with projective dimension two, three, and four respectively.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
Code
def count_pd1_simples(dyck_word):
c = kupisch(dyck_word)
n = len(c)
count = 0
for i in range(n):
a, l = i, 1
pd = 0
while l < c[a] and pd < 1:
a, l = a + l, c[a] - l
pd += 1
if pd == 1 and l == c[a]:
count += 1
return count
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
return count_pd1_simples(D)
Diff Code
gap('LoadPackage("QPA");') import tempfile as _tf, os as _os _gap_code = r""" DeclareOperation("numberssimpprojdim1", [IsList]); InstallMethod(numberssimpprojdim1, "for a representation of a quiver", [IsList],0,function(L) local A, R, RR, list; list := L; A := NakayamaAlgebra(GF(3),list); R := SimpleModules(A); RR := Filtered(R,x->ProjDimensionOfModule(x,1)=1); return(Size(RR)); end ); """ with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f: _f.write('LoadPackage("QPA");;\n') _f.write(_gap_code) _tmp = _f.name gap.eval('Read("' + _tmp + '");') _os.unlink(_tmp)def count_pd1_simples(dyck_word): c = kupisch(dyck_word) n = len(c) count = 0 for i in range(n): a, l = i, 1 pd = 0 while l < c[a] and pd < 1: a, l = a + l, c[a] - l pd += 1 if pd == 1 and l == c[a]: count += 1 return count def kupisch(D): DR = D.reverse() H = DR.heights() return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1] def statistic(D):K = kupisch(D) return ZZ(gap.numberssimpprojdim1(K))return count_pd1_simples(D)
Created
Oct 29, 2017 at 17:03 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:48 by Nupur Jain
Identifier
St001022:
Dyck paths
⟶ ℤ
Values
Modified entries:
Description
The number of simple modules with projective dimension three in the linear Nakayama algebra corresponding to a Dyck path.
See St001007The number of simple modules with projective dimension one in the linear Nakayama algebra corresponding to a Dyck path., St001011The number of simple modules with projective dimension two in the linear Nakayama algebra corresponding to a Dyck path., and St001025The number of simple modules with projective dimension four in the linear Nakayama algebra corresponding to a Dyck path. for the number of simple modules with projective dimension one, two, and four respectively.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
See St001007The number of simple modules with projective dimension one in the linear Nakayama algebra corresponding to a Dyck path., St001011The number of simple modules with projective dimension two in the linear Nakayama algebra corresponding to a Dyck path., and St001025The number of simple modules with projective dimension four in the linear Nakayama algebra corresponding to a Dyck path. for the number of simple modules with projective dimension one, two, and four respectively.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
Code
def count_pd3_simples(dyck_word):
c = kupisch(dyck_word)
n = len(c)
pd3_count = 0
# Evaluate the projective dimension for each simple module S(i)
for i in range(n):
a, l = i, 1
pd = 0
# Apply the syzygy operator until the module is projective or pd exceeds 3
while l < c[a] and pd < 3:
a, l = a + l, c[a] - l
pd += 1
# Check if the resolution length is exactly 3
if pd == 3 and l == c[a]:
pd3_count += 1
return pd3_count
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
return count_pd3_simples(D)
Diff Code
gap('LoadPackage("QPA");') import tempfile as _tf, os as _os _gap_code = r""" DeclareOperation("numberssimpprojdim3", [IsList]); InstallMethod(numberssimpprojdim3, "for a representation of a quiver", [IsList],0,function(L) local A, R, RR, list;def count_pd3_simples(dyck_word): c = kupisch(dyck_word) n = len(c) pd3_count = 0 # Evaluate the projective dimension for each simple module S(i) for i in range(n): a, l = i, 1list := L; A := NakayamaAlgebra(GF(3),list);pd = 0 # Apply the syzygy operator until the module is projective or pd exceeds 3R := SimpleModules(A); RR := Filtered(R,x->ProjDimensionOfModule(x,3)=3); return(Size(RR)); end ); """ with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f: _f.write('LoadPackage("QPA");;\n') _f.write(_gap_code) _tmp = _f.name gap.eval('Read("' + _tmp + '");') _os.unlink(_tmp)while l < c[a] and pd < 3: a, l = a + l, c[a] - l pd += 1 # Check if the resolution length is exactly 3 if pd == 3 and l == c[a]: pd3_count += 1 return pd3_count def kupisch(D): DR = D.reverse() H = DR.heights() return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1] def statistic(D):K = kupisch(D) return ZZ(gap.numberssimpprojdim3(K)return count_pd3_simples(D)
Created
Oct 30, 2017 at 21:54 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:47 by Nupur Jain
Identifier
St001222:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>1
[1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>1
[1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>2
[1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>2
[1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>1
[1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>2
[1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>2
[1,0,1,0,1,0,1,1,0,1,0,0,1,0]=>2
[1,0,1,0,1,0,1,1,0,1,0,1,0,0]=>2
[1,0,1,0,1,0,1,1,0,1,1,0,0,0]=>2
[1,0,1,0,1,0,1,1,1,0,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,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>1
Description
Number of simple modules in the corresponding LNakayama algebra that have a unique 2-extension with the regular module.
Code
DeclareOperation("numberuniqueextn",[IsList]);
InstallMethod(numberuniqueextn, "for a representation of a quiver", [IsList],0,function(LIST)
local A,n,simA,RegA,U;
A:=LIST[1];
n:=LIST[2];
simA:=SimpleModules(A);
RegA:=DirectSumOfQPAModules(IndecProjectiveModules(A));
U:=Filtered(simA,x->Size(ExtOverAlgebra(NthSyzygy(x,n-1),RegA)[2])=1);
return(Size(U));
end);
Diff Code
DeclareOperation("numberuniqueextn",[IsList]); InstallMethod(numberuniqueextn, "for a representation of a quiver", [IsList],0,function(LIST) local A,n,simA,RegA,U; A:=LIST[1]; n:=LIST[2]; simA:=SimpleModules(A); RegA:=DirectSumOfQPAModules(IndecProjectiveModules(A)); U:=Filtered(simA,x->Size(ExtOverAlgebra(NthSyzygy(x,n-1),RegA)[2])=1); return(Size(U)); end);
Created
Jul 13, 2018 at 11:46 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:42 by Nupur Jain
Identifier
St001221:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>0
[1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>0
[1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>0
[1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>0
[1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>0
[1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>0
[1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>0
[1,0,1,0,1,0,1,1,0,1,0,0,1,0]=>0
[1,0,1,0,1,0,1,1,0,1,0,1,0,0]=>0
[1,0,1,0,1,0,1,1,0,1,1,0,0,0]=>0
[1,0,1,0,1,0,1,1,1,0,0,0,1,0]=>0
[1,0,1,0,1,0,1,1,1,0,0,1,0,0]=>1
[1,0,1,0,1,0,1,1,1,0,1,0,0,0]=>1
[1,0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,0,0,1,0]=>1
[1,0,1,1,1,0,1,1,1,0,0,0,0,1,0,0]=>2
[1,0,1,1,1,0,1,1,1,0,0,0,1,0,0,0]=>2
[1,0,1,1,1,0,1,1,1,0,0,1,0,0,0,0]=>2
[1,0,1,1,1,0,1,1,1,0,1,0,0,0,0,0]=>2
[1,0,1,1,1,0,1,1,1,1,0,0,0,0,0,0]=>1
[1,0,1,1,1,1,0,0,0,0,1,0,1,0,1,0]=>0
[1,0,1,1,1,1,0,0,0,0,1,0,1,1,0,0]=>0
[1,0,1,1,1,1,0,0,0,0,1,1,0,0,1,0]=>0
[1,0,1,1,1,1,0,0,0,0,1,1,0,1,0,0]=>0
[1,0,1,1,1,1,0,0,0,0,1,1,1,0,0,0]=>0
[1,0,1,1,1,1,0,0,0,1,0,0,1,0,1,0]=>1
[1,0,1,1,1,1,0,0,0,1,0,0,1,1,0,0]=>1
[1,0,1,1,1,1,0,0,0,1,0,1,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,0,1,0,1,0,1,0,0]=>1
[1,0,1,1,1,1,0,0,0,1,0,1,1,0,0,0]=>1
[1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>1
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>1
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>0
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>0
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>0
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>0
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>0
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>0
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>0
Description
The number of simple modules in the corresponding LNakayama algebra that have 2 dimensional second Extension group with the regular module.
Code
DeclareOperation("number2dimextn",[IsList]);
InstallMethod(number2dimextn, "for a representation of a quiver", [IsList],0,function(LIST)
local A,n,simA,RegA,U;
A:=LIST[1];
n:=LIST[2];
simA:=SimpleModules(A);
RegA:=DirectSumOfQPAModules(IndecProjectiveModules(A));
U:=Filtered(simA,x->Size(ExtOverAlgebra(NthSyzygy(x,n-1),RegA)[2])=2);
return(Size(U));
end);
Diff Code
DeclareOperation("number2dimextn",[IsList]); InstallMethod(number2dimextn, "for a representation of a quiver", [IsList],0,function(LIST) local A,n,simA,RegA,U; A:=LIST[1]; n:=LIST[2]; simA:=SimpleModules(A); RegA:=DirectSumOfQPAModules(IndecProjectiveModules(A)); U:=Filtered(simA,x->Size(ExtOverAlgebra(NthSyzygy(x,n-1),RegA)[2])=2); return(Size(U)); end);
Created
Jul 13, 2018 at 11:55 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:42 by Nupur Jain
Identifier
St001217:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>0
[1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>0
[1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>0
[1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>0
[1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>0
[1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>0
[1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>0
[1,0,1,0,1,0,1,1,0,1,0,0,1,0]=>0
[1,0,1,0,1,0,1,1,0,1,0,1,0,0]=>0
[1,0,1,0,1,0,1,1,0,1,1,0,0,0]=>0
[1,0,1,0,1,0,1,1,1,0,0,0,1,0]=>0
[1,0,1,0,1,0,1,1,1,0,0,1,0,0]=>0
[1,0,1,0,1,0,1,1,1,0,1,0,0,0]=>0
[1,0,1,0,1,0,1,1,1,1,0,0,0,0]=>0
[1,0,1,0,1,1,0,0,1,0,1,0,1,0]=>0
[1,0,1,0,1,1,0,0,1,0,1,1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
[1,0,1,1,1,0,1,1,1,0,0,1,0,0,0,0]=>0
[1,0,1,1,1,0,1,1,1,0,1,0,0,0,0,0]=>0
[1,0,1,1,1,0,1,1,1,1,0,0,0,0,0,0]=>0
[1,0,1,1,1,1,0,0,0,0,1,0,1,0,1,0]=>0
[1,0,1,1,1,1,0,0,0,0,1,0,1,1,0,0]=>0
[1,0,1,1,1,1,0,0,0,0,1,1,0,0,1,0]=>0
[1,0,1,1,1,1,0,0,0,0,1,1,0,1,0,0]=>0
[1,0,1,1,1,1,0,0,0,0,1,1,1,0,0,0]=>0
[1,0,1,1,1,1,0,0,0,1,0,0,1,0,1,0]=>0
[1,0,1,1,1,1,0,0,0,1,0,0,1,1,0,0]=>0
[1,0,1,1,1,1,0,0,0,1,0,1,0,0,1,0]=>0
[1,0,1,1,1,1,0,0,0,1,0,1,0,1,0,0]=>0
[1,0,1,1,1,1,0,0,0,1,0,1,1,0,0,0]=>0
[1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,0]=>0
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>0
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>0
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>0
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>0
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>0
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>0
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>0
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>0
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>0
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>0
Description
The projective dimension of the indecomposable injective module I[n-2] in the corresponding Nakayama algebra with simples enumerated from 0 to n-1.
Code
DeclareOperation("Projdimindinj",[IsList]);
InstallMethod(Projdimindinj, "for a representation of a quiver", [IsList],0,function(LIST)
local A,U,UU,RegA,WU;
A:=LIST[1];
U:=IndecInjectiveModules(A)[Size(SimpleModules(A))-1];
return(ProjDimensionOfModule(U,30));
end);
Diff Code
DeclareOperation("Projdimindinj",[IsList]); InstallMethod(Projdimindinj, "for a representation of a quiver", [IsList],0,function(LIST) local A,U,UU,RegA,WU; A:=LIST[1]; U:=IndecInjectiveModules(A)[Size(SimpleModules(A))-1]; return(ProjDimensionOfModule(U,30)); end);
Created
Jun 22, 2018 at 16:20 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:42 by Nupur Jain
Identifier
St001216:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>0
[1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>0
[1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>1
[1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>1
[1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>0
[1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>0
[1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>1
[1,0,1,0,1,0,1,1,0,1,0,0,1,0]=>0
[1,0,1,0,1,0,1,1,0,1,0,1,0,0]=>1
[1,0,1,0,1,0,1,1,0,1,1,0,0,0]=>1
[1,0,1,0,1,0,1,1,1,0,0,0,1,0]=>1
[1,0,1,0,1,0,1,1,1,0,0,1,0,0]=>2
[1,0,1,0,1,0,1,1,1,0,1,0,0,0]=>2
[1,0,1,0,1,0,1,1,1,1,0,0,0,0]=>0
[1,0,1,0,1,1,0,0,1,0,1,0,1,0]=>0
[1,0,1,0,1,1,0,0,1,0,1,1,0,0]=>0
[1,0,1,0,1,1,0,0,1,1,0,0,1,0]=>2
[1,0,1,0,1,1,0,0,1,1,0,1,0,0]=>1
[1,0,1,0,1,1,0,0,1,1,1,0,0,0]=>1
[1,0,1,0,1,1,0,1,0,0,1,0,1,0]=>0
[1,0,1,0,1,1,0,1,0,0,1,1,0,0]=>0
[1,0,1,0,1,1,0,1,0,1,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1,1,0,0,0,0,1,1,0,0,1,0]=>3
[1,0,1,1,1,1,0,0,0,0,1,1,0,1,0,0]=>2
[1,0,1,1,1,1,0,0,0,0,1,1,1,0,0,0]=>2
[1,0,1,1,1,1,0,0,0,1,0,0,1,0,1,0]=>2
[1,0,1,1,1,1,0,0,0,1,0,0,1,1,0,0]=>2
[1,0,1,1,1,1,0,0,0,1,0,1,0,0,1,0]=>2
[1,0,1,1,1,1,0,0,0,1,0,1,0,1,0,0]=>1
[1,0,1,1,1,1,0,0,0,1,0,1,1,0,0,0]=>2
[1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,0]=>4
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>3
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>3
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>2
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>3
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>2
Description
The number of indecomposable injective modules in the corresponding Nakayama algebra that have non-vanishing second Ext-group with the regular module.
Code
DeclareOperation("ext2inj",[IsList]);
InstallMethod(ext2inj, "for a representation of a quiver", [IsList],0,function(LIST)
local A,N,RegA,g,temmi,UT,M,L,U,simA,injA,UU;
A:=LIST[1];
injA:=IndecInjectiveModules(A);
RegA:=DirectSumOfQPAModules(IndecProjectiveModules(A));
U:=Filtered(injA,x->Size(ExtOverAlgebra(NthSyzygy(x,1),RegA)[2])>0);
return(Size(U));
end);
Created
Jun 20, 2018 at 23:50 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:42 by Nupur Jain
Identifier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,0,0]=>14
[1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,0]=>13
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>14
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>15
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>12
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>15
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>14
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>16
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>17
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>15
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>17
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>18
Description
The number of indecomposable modules in the corresponding Nakayama algebra that have vanishing first Ext-group with the regular module.
Code
DeclareOperation("Ext1countall",[IsList]);
InstallMethod(Ext1countall, "for a representation of a quiver", [IsList],0,function(LIST)
local A,simA,RegA,U,L;
A:=LIST[1];
L:=ARQuiver([A,1000])[2];
RegA:=DirectSumOfQPAModules(IndecProjectiveModules(A));
U:=Filtered(L,x->Size(ExtOverAlgebra(NthSyzygy(x,0),RegA)[2])=0);
return(Size(U));
end);
Created
Jun 20, 2018 at 16:24 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:42 by Nupur Jain
Identifier
St001212:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>1
[1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>1
[1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>2
[1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>2
[1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>1
[1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>2
[1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>2
[1,0,1,0,1,0,1,1,0,1,0,0,1,0]=>2
[1,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0]=>2
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>2
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>2
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>2
Description
The number of simple modules in the corresponding Nakayama algebra that have non-zero second Ext-group with the regular module.
Code
DeclareOperation("Ext2countnonzero",[IsList]);
InstallMethod(Ext2countnonzero, "for a representation of a quiver", [IsList],0,function(LIST)
local A,simA,RegA,U;
A:=LIST[1];
simA:=SimpleModules(A);
RegA:=DirectSumOfQPAModules(IndecProjectiveModules(A));
U:=Filtered(simA,x->Size(ExtOverAlgebra(NthSyzygy(x,1),RegA)[2])>0);
return(Size(U));
end);
Created
Jun 20, 2018 at 15:47 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:42 by Nupur Jain
Identifier
St001211:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>8
[1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>8
[1,0,1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>7
[1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>7
[1,0,1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>8
[1,0,1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>7
[1,0,1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>7
[1,0,1,0,1,0,1,0,1,1,0,1,0,0,1,0]=>7
[1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,0]=>7
[1,0,1,0,1,0,1,0,1,1,0,1,1,0,0,0]=>7
[1,0,1,0,1,0,1,0,1,1,1,0,0,0,1,0]=>7
[1,0,1,0,1,0,1,0,1,1,1,0,0,1,0,0]=>7
[1,0,1,0,1,0,1,0,1,1,1,0,1,0,0,0]=>7
[1,0,1,0,1,0,1,0,1,1,1,1,0,0,0,0]=>8
[1,0,1,0,1,0,1,1,0,0,1,0,1,0,1,0]=>7
[1,0,1,0,1,0,1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simple modules in the corresponding Nakayama algebra that have vanishing second Ext-group with the regular module.
Code
DeclareOperation("Ext2count",[IsList]);
InstallMethod(Ext2count, "for a representation of a quiver", [IsList],0,function(LIST)
local A,simA,RegA,U;
A:=LIST[1];
simA:=SimpleModules(A);
RegA:=DirectSumOfQPAModules(IndecProjectiveModules(A));
U:=Filtered(simA,x->Size(ExtOverAlgebra(NthSyzygy(x,1),RegA)[2])=0);
return(Size(U));
end);
Diff Code
DeclareOperation("Ext2count",[IsList]); InstallMethod(Ext2count, "for a representation of a quiver", [IsList],0,function(LIST) local A,simA,RegA,U; A:=LIST[1]; simA:=SimpleModules(A); RegA:=DirectSumOfQPAModules(IndecProjectiveModules(A)); U:=Filtered(simA,x->Size(ExtOverAlgebra(NthSyzygy(x,1),RegA)[2])=0); return(Size(U)); end);
Created
Jun 20, 2018 at 15:37 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:41 by Nupur Jain
Identifier
St001210:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>1
[1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>1
[1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>1
[1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>1
[1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>2
[1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>1
[1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>1
[1,0,1,0,1,0,1,1,0,1,0,0,1,0]=>1
[1,0,1,0,1,0,1,1,0,1,0,1,0,0]=>1
[1,0,1,0,1,0,1,1,0,1,1,0,0,0]=>1
[1,0,1,0,1,0,1,1,1,0,0,0,1,0]=>2
[1,0,1,0,1,0,1,1,1,0,0,1,0,0]=>2
[1,0,1,0,1,0,1,1,1,0,1,0,0,0]=>2
[1,0,1,0,1,0,1,1,1,1,0,0,0,0]=>3
[1,0,1,0,1,1,0,0,1,0,1,0,1,0]=>1
[1,0,1,0,1,1,0,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0,0,0]=>2
[1,0,1,1,1,0,1,1,1,0,0,1,0,0,0,0]=>2
[1,0,1,1,1,0,1,1,1,0,1,0,0,0,0,0]=>2
[1,0,1,1,1,0,1,1,1,1,0,0,0,0,0,0]=>3
[1,0,1,1,1,1,0,0,0,0,1,0,1,0,1,0]=>3
[1,0,1,1,1,1,0,0,0,0,1,0,1,1,0,0]=>3
[1,0,1,1,1,1,0,0,0,0,1,1,0,0,1,0]=>3
[1,0,1,1,1,1,0,0,0,0,1,1,0,1,0,0]=>3
[1,0,1,1,1,1,0,0,0,0,1,1,1,0,0,0]=>3
[1,0,1,1,1,1,0,0,0,1,0,0,1,0,1,0]=>3
[1,0,1,1,1,1,0,0,0,1,0,0,1,1,0,0]=>3
[1,0,1,1,1,1,0,0,0,1,0,1,0,0,1,0]=>3
[1,0,1,1,1,1,0,0,0,1,0,1,0,1,0,0]=>3
[1,0,1,1,1,1,0,0,0,1,0,1,1,0,0,0]=>3
[1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,0]=>3
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>3
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>3
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>3
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>3
Description
Gives the maximal vector space dimension of the first Ext-group between an indecomposable module X and the regular module A, when A is the Nakayama algebra corresponding to the Dyck path.
Code
DeclareOperation("ext1largest",[IsList]);
InstallMethod(ext1largest, "for a representation of a quiver", [IsList],0,function(LIST)
local A,L,temp2,RegA;
A:=LIST[1];
L:=ARQuiver([A,1000])[2];
RegA:=DirectSumOfQPAModules(IndecProjectiveModules(A));
temp2:=[];for x in L do Append(temp2,[Size(ExtOverAlgebra(x,RegA)[2])]);od;
return(Maximum(temp2));
end);
Created
Jun 19, 2018 at 18:20 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:41 by Nupur Jain
Identifier
St001200:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0]=>3
[1,0,1,0,1,0,1,0,1,1,0,0]=>3
[1,0,1,0,1,0,1,1,0,0,1,0]=>3
[1,0,1,0,1,0,1,1,0,1,0,0]=>3
[1,0,1,0,1,0,1,1,1,0,0,0]=>3
[1,0,1,0,1,1,0,0,1,0,1,0]=>3
[1,0,1,0,1,1,0,0,1,1,0,0]=>3
[1,0,1,0,1,1,0,1,0,0,1,0]=>3
[1,0,1,0,1,1,0,1,0,1,0,0]=>4
[1,0,1,0,1,1,0,1,1,0,0,0]=>3
[1,0,1,0,1,1,1,0,0,0,1,0]=>3
[1,0,1,0,1,1,1,0,0,1,0,0]=>3
[1,0,1,0,1,1,1,0,1,0,0,0]=>3
[1,0,1,0,1,1,1,1,0,0,0,0]=>3
[1,0,1,1,0,0,1,0,1,0,1,0]=>3
[1,0,1,1,0,0,1,0,1,1,0,0]=>3
[1,0,1,1,0,0,1,1,0,0,1,0]=>3
[1,0,1,1,0,0,1,1,0,1,0,0]=>3
[1,0,1,1,0,0,1,1,1,0,0,0]=>3
[1,0,1,1,0,1,0,0,1,0,1,0]=>3
[1,0,1,1,0,1,0,0,1,1,0,0]=>3
[1,0,1,1,0,1,0,1,0,0,1,0]=>5
[1,0,1,1,0,1,0,1,0,1,0,0]=>5
[1,0,1,1,0,1,0,1,1,0,0,0]=>4
[1,0,1,1,0,1,1,0,0,0,1,0]=>3
[1,0,1,1,0,1,1,0,0,1,0,0]=>3
[1,0,1,1,0,1,1,0,1,0,0,0]=>4
[1,0,1,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,1,1,0,0,0,1,1,1,0,0,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>5
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>5
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>4
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>5
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>5
[1,0,1,1,1,1,0,0,1,0,1,0,1,0,0,0]=>5
[1,0,1,1,1,1,0,0,1,0,1,1,0,0,0,0]=>4
[1,0,1,1,1,1,0,0,1,1,0,0,0,0,1,0]=>3
[1,0,1,1,1,1,0,0,1,1,0,0,0,1,0,0]=>3
[1,0,1,1,1,1,0,0,1,1,0,0,1,0,0,0]=>4
[1,0,1,1,1,1,0,0,1,1,0,1,0,0,0,0]=>4
[1,0,1,1,1,1,0,0,1,1,1,0,0,0,0,0]=>3
Description
The number of simple modules in $eAe$ with projective dimension at most 2 in the corresponding Nakayama algebra $A$ with minimal faithful projective-injective module $eA$.
Code
DeclareOperation("numbersimplesprojdimatmostkeAe",[IsList]);
InstallMethod(numbersimplesprojdimatmostkeAe, "for a representation of a quiver", [IsList],0,function(LIST)
local A,k,injA,RegA,temp,CoRegA,priA,U,UU,g,g2,B,T,TT,W,simB;
A:=LIST[1];
k:=LIST[2];
projA:=IndecProjectiveModules(A);priA:=DirectSumOfQPAModules(Filtered(projA,x->IsInjectiveModule(x)=true));
B:=EndOfModuleAsQuiverAlgebra(priA)[3];
simB:=SimpleModules(B);
W:=Filtered(simB,x->ProjDimensionOfModule(x,30)<=k);
return(Size(W));
end);
Created
May 14, 2018 at 11:30 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:41 by Nupur Jain
Identifier
St001194:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1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,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>3
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>3
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>2
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>4
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>4
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>4
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>3
Description
The injective dimension of $A/AfA$ in the corresponding Nakayama algebra $A$ when $Af$ is the minimal faithful projective-injective left $A$-module
Code
DeclareOperation("injdimAAfAA",[IsList]);
InstallMethod(injdimAAfAA, "for a representation of a quiver", [IsList],0,function(LIST)
local A,k,injA,RegA,temp,CoRegA,priA,U,UU,T;
A:=LIST[1];
projA:=IndecProjectiveModules(A);priA:=DirectSumOfQPAModules(Filtered(projA,x->IsInjectiveModule(x)=true));RegA:=DirectSumOfQPAModules(projA);
T:=StarOfModule(DualOfModule(priA));
U:=TraceOfModule(T,RegA);UU:=CoKernel(U);
return(InjDimensionOfModule(UU,30));
end);
Created
May 13, 2018 at 12:59 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:41 by Nupur Jain
Identifier
St001193:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>0
[1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>0
[1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>0
[1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>0
[1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>1
[1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>0
[1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>0
[1,0,1,0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0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>3
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>3
Description
The dimension of $Ext_A^1(A/AeA,A)$ in the corresponding Nakayama algebra $A$ such that $eA$ is a minimal faithful projective-injective module.
Code
DeclareOperation("dimext1AAeAA",[IsList]);
InstallMethod(dimext1AAeAA, "for a representation of a quiver", [IsList],0,function(LIST)
local A,k,injA,RegA,temp,CoRegA,priA,U,UU;
A:=LIST[1];
k:=LIST[2];
projA:=IndecProjectiveModules(A);priA:=DirectSumOfQPAModules(Filtered(projA,x->IsInjectiveModule(x)=true));RegA:=DirectSumOfQPAModules(projA);
U:=TraceOfModule(priA,RegA);UU:=CoKernel(U);
return(Size(ExtOverAlgebra(NthSyzygy(UU,k-1),RegA)[2]));
end);
Diff Code
DeclareOperation("dimext1AAeAA",[IsList]); InstallMethod(dimext1AAeAA, "for a representation of a quiver", [IsList],0,function(LIST) local A,k,injA,RegA,temp,CoRegA,priA,U,UU; A:=LIST[1]; k:=LIST[2]; projA:=IndecProjectiveModules(A);priA:=DirectSumOfQPAModules(Filtered(projA,x->IsInjectiveModule(x)=true));RegA:=DirectSumOfQPAModules(projA); U:=TraceOfModule(priA,RegA);UU:=CoKernel(U); return(Size(ExtOverAlgebra(NthSyzygy(UU,k-1),RegA)[2])); end);
Created
May 13, 2018 at 11:41 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:41 by Nupur Jain
Identifier
St001192:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>1
[1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>1
[1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>1
[1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>1
[1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>1
[1,0,1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1,1,0,0,1,0,0,0,1,1,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>3
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>3
Description
The maximal dimension of $Ext_A^2(S,A)$ for a simple module $S$ over the corresponding Nakayama algebra $A$.
Code
DeclareOperation("dimextkSAmax",[IsList]);
InstallMethod(dimextkSAmax, "for a representation of a quiver", [IsList],0,function(LIST)
local A,k,simA,RegA,temp;
A:=LIST[1];
k:=LIST[2];
simA:=SimpleModules(A);
RegA:=DirectSumOfQPAModules(IndecProjectiveModules(A));
temp:=[];for i in simA do Append(temp,[Size(ExtOverAlgebra(NthSyzygy(i,k-1),RegA)[2])]);od;
return(Maximum(temp));
end);
Diff Code
DeclareOperation("dimextkSAmax",[IsList]); InstallMethod(dimextkSAmax, "for a representation of a quiver", [IsList],0,function(LIST) local A,k,simA,RegA,temp; A:=LIST[1]; k:=LIST[2]; simA:=SimpleModules(A); RegA:=DirectSumOfQPAModules(IndecProjectiveModules(A)); temp:=[];for i in simA do Append(temp,[Size(ExtOverAlgebra(NthSyzygy(i,k-1),RegA)[2])]);od; return(Maximum(temp)); end);
Created
May 13, 2018 at 11:02 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:41 by Nupur Jain
Identifier
St001191:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>1
[1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>1
[1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>1
[1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>0
[1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>1
[1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>1
[1,0,1,0,1,0,1,1,0,0,1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0,1,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>2
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>1
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>2
Description
Number of simple modules $S$ with $Ext_A^i(S,A)=0$ for all $i=0,1,...,g-1$ in the corresponding Nakayama algebra $A$ with global dimension $g$.
References
[1] Marczinzik, René Upper bounds for the dominant dimension of Nakayama and related algebras. zbMATH:06820683
Code
DeclareOperation("Isholonomic",[IsList]);
InstallMethod(Isholonomic, "for a representation of a quiver", [IsList],0,function(LIST)
local A,M,g,RegA,temp;
A:=LIST[1];
M:=LIST[2];
g:=GorensteinDimensionOfAlgebra(A,30);
RegA:=DirectSumOfQPAModules(IndecProjectiveModules(A));
temp:=[];Append(temp,[Size(HomOverAlgebra(M,RegA))]);for i in [0..g-2] do Append(temp,[Size(ExtOverAlgebra(NthSyzygy(M,i),RegA)[2])]);od;
if Sum(temp)=0 then return(1); else return(0);fi;
end);
DeclareOperation("Holonomicmodules",[IsList]);
InstallMethod(Holonomicmodules, "for a representation of a quiver", [IsList],0,function(LIST)
local A,M,g,RegA,temp,L,LL;
A:=LIST[1];
L:=SimpleModules(A);
LL:=Filtered(L,x->Isholonomic([A,x])=1);
return(Size(LL));
end);
Created
May 09, 2018 at 21:47 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:41 by Nupur Jain
Identifier
St001190:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>5
[1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>6
[1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>7
[1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>6
[1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>7
[1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>8
[1,0,1,0,1,0,1,1,0,0,1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0,1,0,0,1,0]=>9
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>9
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>9
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>9
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>9
Description
Number of simple modules with projective dimension at most 4 in the corresponding Nakayama algebra.
Code
DeclareOperation("numbersimplesprojdimatmostt",[IsList]);
InstallMethod(numbersimplesprojdimatmostt, "for a representation of a quiver", [IsList],0,function(LIST)
local A,t,simA,TT;
A:=LIST[1];
t:=LIST[2];
simA:=SimpleModules(A);
TT:=Filtered(simA,x->ProjDimensionOfModule(x,30)<=t);
return(Size(TT));
end);
Diff Code
DeclareOperation("numbersimplesprojdimatmostt",[IsList]); InstallMethod(numbersimplesprojdimatmostt, "for a representation of a quiver", [IsList],0,function(LIST) local A,t,simA,TT; A:=LIST[1]; t:=LIST[2]; simA:=SimpleModules(A); TT:=Filtered(simA,x->ProjDimensionOfModule(x,30)<=t); return(Size(TT)); end);
Created
May 09, 2018 at 22:33 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:41 by Nupur Jain
Identifier
St001188:
Dyck paths
⟶ ℤ
(values match
St001244The number of simple modules of projective dimension one that are not 1-regular for the Nakayama algebra associated to a Dyck path.)
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>1
[1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>1
[1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>2
[1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>1
[1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>1
[1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>2
[1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>2
[1,0,1,0,1,0,1,1,0,1,0,0,1,0]=>1
[1,0,1,0,1,0,1,1,0,1,0,1,0,0]=>2
[1,0,1,0,1,0,1,1,0,1,1,0,0,0]=>1
[1,0,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0,0,1,0]=>3
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>3
Description
The number of simple modules $S$ with grade $\inf \{ i \geq 0 | Ext^i(S,A) \neq 0 \}$ at least two in the Nakayama algebra $A$ corresponding to the Dyck path.
Also the number of simple modules that are isolated vertices in the sense of 4.5. (4) in the reference.
Also the number of simple modules that are isolated vertices in the sense of 4.5. (4) in the reference.
Diff Description
The number of simple modules S with grade \inf \{ i \geq 0 | Ext^i(S,A) \neq 0 \} at least two in the Nakayama algebra A corresponding to the Dyck path.
Also the number of simple modules that are isolated vertices in the sense of 4.5. (4) in the reference.
Also the number of simple modules that are isolated vertices in the sense of 4.5. (4) in the reference.
References
[1] Ringel, C. M., Zhang, P. Gorenstein-projective and semi-Gorenstein-projective modules arXiv:1808.01809
Code
DeclareOperation("gradeofmodule",[IsList]);
InstallMethod(gradeofmodule, "for a representation of a quiver", [IsList],0,function(LIST)
local A,M,RegA,g,temmi,UT;
A:=LIST[1];
M:=LIST[2];
RegA:=DirectSumOfQPAModules(IndecProjectiveModules(A));
g:=GorensteinDimensionOfAlgebra(A,30);
temmi:=[];Append(temmi,[Size(HomOverAlgebra(M,RegA))]);
for i in [0..g-1] do Append(temmi,[Size(ExtOverAlgebra(NthSyzygy(M,i),RegA)[2])]);od;
UT:=Filtered([0..g],x->temmi[x+1]>0);
return(Minimum(UT));
end);
DeclareOperation("numbersimpleswithgradeatleastk",[IsList]);
InstallMethod(numbersimpleswithgradeatleastk, "for a representation of a quiver", [IsList],0,function(LIST)
local A,k,simA,WW;
A:=LIST[1];
k:=LIST[2];
simA:=SimpleModules(A);
WW:=Filtered(simA,x->gradeofmodule([A,x])>=k);
return(Size(WW));
end);
Created
May 11, 2018 at 23:31 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:41 by Nupur Jain
Identifier
St001187:
Dyck paths
⟶ ℤ
(values match
St000024The number of double up and double down steps of a Dyck path., St000443The number of long tunnels of a Dyck path., St001007The number of simple modules with projective dimension one in the linear Nakay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
[1,0,1,1,1,1,0,0,0,1,0,1,1,0,0,0]=>5
[1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,0]=>5
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>5
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>5
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>6
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>4
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>5
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>4
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>4
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>5
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>4
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>4
Description
The number of simple modules of grade at least one in the linear Nakayama algebra corresponding to a Dyck path.
The grade of an $A$-module $M$ is $\inf\{i\ge 0\mid \operatorname{Ext}^i_A(M,A)\neq 0\}$.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
The grade of an $A$-module $M$ is $\inf\{i\ge 0\mid \operatorname{Ext}^i_A(M,A)\neq 0\}$.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("gradeofmodule",[IsList]);
InstallMethod(gradeofmodule, "for a representation of a quiver", [IsList],0,function(LIST)
local A, M, RegA, UT, g, i, temmi;
A := LIST[1];
M := LIST[2];
RegA := DirectSumOfQPAModules(IndecProjectiveModules(A));
g := GorensteinDimensionOfAlgebra(A,30);
temmi := [];
Append(temmi,[Size(HomOverAlgebra(M,RegA))]);
for i in [0..g-1] do Append(temmi,[Size(ExtOverAlgebra(NthSyzygy(M,i),RegA)[2])]);
od;
UT := Filtered([0..g],x->temmi[x+1]>0);
return(Minimum(UT));
end);
DeclareOperation("numbersimpleswithgradeatleastk",[IsList]);
InstallMethod(numbersimpleswithgradeatleastk, "for a representation of a quiver", [IsList],0,function(LIST)
local A, WW, k, simA;
A := LIST[1];
k := LIST[2];
simA := SimpleModules(A);
WW := Filtered(simA,x->gradeofmodule([A,x])>=k);
return(Size(WW));
end);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
A = gap.NakayamaAlgebra(gap.GF(3), K)
return ZZ(gap.numbersimpleswithgradeatleastk([A, 1]))
Created
May 11, 2018 at 23:40 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:41 by Nupur Jain
Identifier
St001186:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>1
[1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>1
[1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>1
[1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>0
[1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>1
[1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>2
[1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>1
[1,0,1,0,1,0,1,1,0,1,0,0,1,0]=>1
[1,0,1,0,1,0,1,1,0,1,0,1,0,0]=>1
[1,0,1,0,1,0,1,1,0,1,1,0,0,0]=>0
[1,0,1,0,1,0,1,1,1,0,0,0,1,0]=>1
[1,0,1,0,1,0,1,1,1,0,0,1,0,0]=>1
[1,0,1,0,1,0,1,1,1,0,1,0,0,0]=>0
[1,0,1,0,1,0,1,1,1,1,0,0,0,0]=>1
[1,0,1,0,1,1,0,0,1,0,1,0,1,0]=>2
[1,0,1,0,1,1,0,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0,0,0]=>0
[1,0,1,1,1,0,1,1,1,0,0,1,0,0,0,0]=>0
[1,0,1,1,1,0,1,1,1,0,1,0,0,0,0,0]=>0
[1,0,1,1,1,0,1,1,1,1,0,0,0,0,0,0]=>0
[1,0,1,1,1,1,0,0,0,0,1,0,1,0,1,0]=>1
[1,0,1,1,1,1,0,0,0,0,1,0,1,1,0,0]=>1
[1,0,1,1,1,1,0,0,0,0,1,1,0,0,1,0]=>0
[1,0,1,1,1,1,0,0,0,0,1,1,0,1,0,0]=>0
[1,0,1,1,1,1,0,0,0,0,1,1,1,0,0,0]=>0
[1,0,1,1,1,1,0,0,0,1,0,0,1,0,1,0]=>1
[1,0,1,1,1,1,0,0,0,1,0,0,1,1,0,0]=>1
[1,0,1,1,1,1,0,0,0,1,0,1,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,0,1,0,1,0,1,0,0]=>2
[1,0,1,1,1,1,0,0,0,1,0,1,1,0,0,0]=>1
[1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,0]=>0
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>0
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>0
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>0
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>2
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>1
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>2
Description
The number of simple modules of grade at least three in the linear Nakayama algebra corresponding to a Dyck path.
The grade of an $A$-module $M$ is $\inf\{i\ge 0\mid \operatorname{Ext}^i_A(M,A)\neq 0\}$.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
The grade of an $A$-module $M$ is $\inf\{i\ge 0\mid \operatorname{Ext}^i_A(M,A)\neq 0\}$.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("gradeofmodule",[IsList]);
InstallMethod(gradeofmodule, "for a representation of a quiver", [IsList],0,function(LIST)
local A, M, RegA, UT, g, i, temmi;
A := LIST[1];
M := LIST[2];
RegA := DirectSumOfQPAModules(IndecProjectiveModules(A));
g := GorensteinDimensionOfAlgebra(A,30);
temmi := [];
Append(temmi,[Size(HomOverAlgebra(M,RegA))]);
for i in [0..g-1] do Append(temmi,[Size(ExtOverAlgebra(NthSyzygy(M,i),RegA)[2])]);
od;
UT := Filtered([0..g],x->temmi[x+1]>0);
return(Minimum(UT));
end);
DeclareOperation("numbersimpleswithgradeatleastk",[IsList]);
InstallMethod(numbersimpleswithgradeatleastk, "for a representation of a quiver", [IsList],0,function(LIST)
local A, WW, k, simA;
A := LIST[1];
k := LIST[2];
simA := SimpleModules(A);
WW := Filtered(simA,x->gradeofmodule([A,x])>=k);
return(Size(WW));
end);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
A = gap.NakayamaAlgebra(gap.GF(3), K)
return ZZ(gap.numbersimpleswithgradeatleastk([A, 3]))
Created
May 11, 2018 at 23:47 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:41 by Nupur Jain
Identifier
St001185:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>1
[1,0,1,0,1,0,1,0,1,0,1,1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,1,1,1,0,0,0,1,1,0,1,0,0,0]=>3
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>0
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>0
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>2
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>0
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>2
Description
The number of indecomposable injective modules of grade at least two in the linear Nakayama algebra corresponding to a Dyck path.
The grade of an $A$-module $M$ is $\inf\{i\ge 0\mid \operatorname{Ext}^i_A(M,A)\neq 0\}$.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
The grade of an $A$-module $M$ is $\inf\{i\ge 0\mid \operatorname{Ext}^i_A(M,A)\neq 0\}$.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("gradeofmodule",[IsList]);
InstallMethod(gradeofmodule, "for a representation of a quiver", [IsList],0,function(LIST)
local A, M, RegA, UT, g, i, temmi;
A := LIST[1];
M := LIST[2];
RegA := DirectSumOfQPAModules(IndecProjectiveModules(A));
g := GorensteinDimensionOfAlgebra(A,30);
temmi := [];
Append(temmi,[Size(HomOverAlgebra(M,RegA))]);
for i in [0..g-1] do Append(temmi,[Size(ExtOverAlgebra(NthSyzygy(M,i),RegA)[2])]);
od;
UT := Filtered([0..g],x->temmi[x+1]>0);
return(Minimum(UT));
end);
DeclareOperation("numberindinjwithgradeatleastk",[IsList]);
InstallMethod(numberindinjwithgradeatleastk, "for a representation of a quiver", [IsList],0,function(LIST)
local A, WW, injA, k;
A := LIST[1];
k := LIST[2];
injA := IndecInjectiveModules(A);
WW := Filtered(injA,x->gradeofmodule([A,x])>=k);
return(Size(WW));
end);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
A = gap.NakayamaAlgebra(gap.GF(3), K)
return ZZ(gap.numberindinjwithgradeatleastk([A, 2]))
Created
May 11, 2018 at 23:56 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:41 by Nupur Jain
Identifier
St001184:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>1
[1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>2
[1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>1
[1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>2
[1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>3
[1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>1
[1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>2
[1,0,1,0,1,0,1,1,0,1,0,0,1,0]=>1
[1,0,1,0,1,0,1,1,0,1,0,1,0,0]=>2
[1,0,1,0,1,0,1,1,0,1,1,0,0,0]=>3
[1,0,1,0,1,0,1,1,1,0,0,0,1,0]=>1
[1,0,1,0,1,0,1,1,1,0,0,1,0,0]=>2
[1,0,1,0,1,0,1,1,1,0,1,0,0,0]=>3
[1,0,1,0,1,0,1,1,1,1,0,0,0,0]=>4
[1,0,1,0,1,1,0,0,1,0,1,0,1,0]=>1
[1,0,1,0,1,1,0,0,1,0,1,1,0,0]=>2
[1,0,1,0,1,1,0,0,1,1,0,0,1,0]=>1
[1,0,1,0,1,1,0,0,1,1,0,1,0,0]=>2
[1,0,1,0,1,1,0,0,1,1,1,0,0,0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,0,0]=>6
[1,0,1,1,1,1,0,0,0,0,1,0,1,0,1,0]=>1
[1,0,1,1,1,1,0,0,0,0,1,0,1,1,0,0]=>2
[1,0,1,1,1,1,0,0,0,0,1,1,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,0,0,1,1,0,1,0,0]=>2
[1,0,1,1,1,1,0,0,0,0,1,1,1,0,0,0]=>3
[1,0,1,1,1,1,0,0,0,1,0,0,1,0,1,0]=>1
[1,0,1,1,1,1,0,0,0,1,0,0,1,1,0,0]=>2
[1,0,1,1,1,1,0,0,0,1,0,1,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,0,1,0,1,0,1,0,0]=>2
[1,0,1,1,1,1,0,0,0,1,0,1,1,0,0,0]=>3
[1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>2
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>3
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>4
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>2
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>2
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>2
Description
The number of indecomposable injective modules of grade at least one in the linear Nakayama algebra corresponding to a Dyck path.
The grade of an $A$-module $M$ is $\inf\{i\ge 0\mid \operatorname{Ext}^i_A(M,A)\neq 0\}$.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
The grade of an $A$-module $M$ is $\inf\{i\ge 0\mid \operatorname{Ext}^i_A(M,A)\neq 0\}$.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("gradeofmodule",[IsList]);
InstallMethod(gradeofmodule, "for a representation of a quiver", [IsList],0,function(LIST)
local A, M, RegA, UT, g, i, temmi;
A := LIST[1];
M := LIST[2];
RegA := DirectSumOfQPAModules(IndecProjectiveModules(A));
g := GorensteinDimensionOfAlgebra(A,30);
temmi := [];
Append(temmi,[Size(HomOverAlgebra(M,RegA))]);
for i in [0..g-1] do Append(temmi,[Size(ExtOverAlgebra(NthSyzygy(M,i),RegA)[2])]);
od;
UT := Filtered([0..g],x->temmi[x+1]>0);
return(Minimum(UT));
end);
DeclareOperation("numberindinjwithgradeatleastk",[IsList]);
InstallMethod(numberindinjwithgradeatleastk, "for a representation of a quiver", [IsList],0,function(LIST)
local A, WW, injA, k;
A := LIST[1];
k := LIST[2];
injA := IndecInjectiveModules(A);
WW := Filtered(injA,x->gradeofmodule([A,x])>=k);
return(Size(WW));
end);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
A = gap.NakayamaAlgebra(gap.GF(3), K)
return ZZ(gap.numberindinjwithgradeatleastk([A, 1]))
Created
May 12, 2018 at 00:06 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:41 by Nupur Jain
Identifier
St001183:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>7
[1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>7
[1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>7
[1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>6
[1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>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1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>5
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>6
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>5
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>5
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>6
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>5
Description
The maximum of $\operatorname{projdim}(S)+\operatorname{injdim}(S)$ over all simple modules $S$ of the linear Nakayama algebra corresponding to a Dyck path.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
References
[1] Marczinzik, René Upper bounds for the dominant dimension of Nakayama and related algebras. zbMATH:06820683
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("sumprojinjdimsimple",[IsList]);
InstallMethod(sumprojinjdimsimple, "for a representation of a quiver", [IsList],0,function(LIST)
local A, TT, i, simA;
A := LIST[1];
simA := SimpleModules(A);
TT := [];
for i in simA do Append(TT,[ProjDimensionOfModule(i,30)+InjDimensionOfModule(i,30)]);
od;
return(Maximum(TT));
end);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
A = gap.NakayamaAlgebra(gap.GF(3), K)
return ZZ(gap.sumprojinjdimsimple([A]))
Created
May 09, 2018 at 16:27 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:41 by Nupur Jain
Identifier
St001182:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>8
[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,1,0,0,1,0,0]=>6
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>7
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>5
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>7
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>6
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>8
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>8
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>7
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>8
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>8
Description
The number of indecomposable injective modules with codominant dimension at least two of the linear Nakayama algebra corresponding to a Dyck path.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("numberindinjwithcodomdimatleastk",[IsList]);
InstallMethod(numberindinjwithcodomdimatleastk, "for a representation of a quiver", [IsList],0,function(LIST)
local A, WW, injA, k;
A := LIST[1];
k := LIST[2];
injA := IndecInjectiveModules(A);
WW := Filtered(injA,x->DominantDimensionOfModule(DualOfModule(x),30)>=k);
return(Size(WW));
end);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
A = gap.NakayamaAlgebra(gap.GF(3), K)
return ZZ(gap.numberindinjwithcodomdimatleastk([A, 2]))
Created
May 12, 2018 at 00:23 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:41 by Nupur Jain
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,1,0,0,0]=>8
[1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,0]=>9
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>7
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>7
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>9
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>8
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>8
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>8
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>7
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>8
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>8
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>7
Description
The number of indecomposable injective modules with projective dimension at most two of the linear Nakayama algebra corresponding to a Dyck path.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("numberindinjwithprojdimatmostk",[IsList]);
InstallMethod(numberindinjwithprojdimatmostk, "for a representation of a quiver", [IsList],0,function(LIST)
local A, WW, injA, k;
A := LIST[1];
k := LIST[2];
injA := IndecInjectiveModules(A);
WW := Filtered(injA,x->ProjDimensionOfModule(x,k)<=k);
return(Size(WW));
end);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
A = gap.NakayamaAlgebra(gap.GF(3), K)
return ZZ(gap.numberindinjwithprojdimatmostk([A, 2]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,0,1,1,1,1,0,0,0,1,0,1,0,1,0,0]=>7
[1,0,1,1,1,1,0,0,0,1,0,1,1,0,0,0]=>8
[1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,0]=>6
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>8
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>8
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>7
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>8
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>8
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>8
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>7
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>8
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>8
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>7
Description
The number of indecomposable injective modules whose socle has projective dimension at most the global dimension of the algebra minus one of the linear Nakayama algebra corresponding to a Dyck path.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
References
[1] Marczinzik, René Upper bounds for the dominant dimension of Nakayama and related algebras. zbMATH:06820683
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("numberindinjwithpdsocleatmostgldimminusone",[IsList]);
InstallMethod(numberindinjwithpdsocleatmostgldimminusone, "for a representation of a quiver", [IsList],0,function(LIST)
local A, UU, g, injA;
A := LIST[1];
g := GlobalDimensionOfAlgebra(A,100);
injA := IndecInjectiveModules(A);
UU := Filtered(injA,x->ProjDimensionOfModule(SocleOfModule(x),30)<=g-1);
return(Size(UU));
end);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
A = gap.NakayamaAlgebra(gap.GF(3), K)
return ZZ(gap.numberindinjwithpdsocleatmostgldimminusone([A]))
Created
Apr 29, 2018 at 14:14 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:39 by Nupur Jain
Identifier
St001169:
Dyck paths
⟶ ℤ
(values match
St000015The number of peaks of a Dyck path., St000053The number of valleys of the Dyck path., St001068The number of torsionless simple modules in the linear Nakayama algebra corresponding to a Dyck path.)
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>6
[1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>5
[1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>5
[1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>5
[1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>4
[1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>5
[1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>4
[1,0,1,0,1,0,1,1,0,1,0,0,1,0]=>5
[1,0,1,0,1,0,1,1,0,1,0,1,0,0]=>5
[1,0,1,0,1,0,1,1,0,1,1,0,0,0]=>4
[1,0,1,0,1,0,1,1,1,0,0,0,1,0]=>4
[1,0,1,0,1,0,1,1,1,0,0,1,0,0]=>4
[1,0,1,0,1,0,1,1,1,0,1,0,0,0]=>4
[1,0,1,0,1,0,1,1,1,1,0,0,0,0]=>3
[1,0,1,0,1,1,0,0,1,0,1,0,1,0]=>5
[1,0,1,0,1,1,0,0,1,0,1,1,0,0]=>4
[1,0,1,0,1,1,0,0,1,1,0,0,1,0]=>4
[1,0,1,0,1,1,0,0,1,1,0,1,0,0]=>4
[1,0,1,0,1,1,0,0,1,1,1,0,0,0]=>3
[1,0,1,0,1,1,0,1,0,0,1,0,1,0]=>5
[1,0,1,0,1,1,0,1,0,0,1,1,0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,0,1,0,1,1,0,0]=>3
[1,0,1,1,1,1,0,0,0,0,1,1,0,0,1,0]=>3
[1,0,1,1,1,1,0,0,0,0,1,1,0,1,0,0]=>3
[1,0,1,1,1,1,0,0,0,0,1,1,1,0,0,0]=>2
[1,0,1,1,1,1,0,0,0,1,0,0,1,0,1,0]=>4
[1,0,1,1,1,1,0,0,0,1,0,0,1,1,0,0]=>3
[1,0,1,1,1,1,0,0,0,1,0,1,0,0,1,0]=>4
[1,0,1,1,1,1,0,0,0,1,0,1,0,1,0,0]=>4
[1,0,1,1,1,1,0,0,0,1,0,1,1,0,0,0]=>3
[1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,0]=>3
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>3
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>3
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>2
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>4
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>4
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>4
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>4
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>4
Description
The number of simple modules with projective dimension at least two of the linear Nakayama algebra corresponding to a Dyck path.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
References
[1] Marczinzik, René Upper bounds for the dominant dimension of Nakayama and related algebras. zbMATH:06820683
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("numbersimplespdatleast2",[IsList]);
InstallMethod(numbersimplespdatleast2, "for a representation of a quiver", [IsList],0,function(LIST)
local A, UU, simA;
A := LIST[1];
simA := SimpleModules(A);
UU := Filtered(simA,x->ProjDimensionOfModule(x,30)>=2);
return(Size(UU));
end);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
A = gap.NakayamaAlgebra(gap.GF(3), K)
return ZZ(gap.numbersimplespdatleast2([A]))
Created
Apr 28, 2018 at 11:24 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:39 by Nupur Jain
Identifier
St001166:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>9
[1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>8
[1,0,1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>8
[1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>8
[1,0,1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>7
[1,0,1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>8
[1,0,1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>7
[1,0,1,0,1,0,1,0,1,1,0,1,0,0,1,0]=>8
[1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,0]=>7
[1,0,1,0,1,0,1,0,1,1,0,1,1,0,0,0]=>7
[1,0,1,0,1,0,1,0,1,1,1,0,0,0,1,0]=>7
[1,0,1,0,1,0,1,0,1,1,1,0,0,1,0,0]=>7
[1,0,1,0,1,0,1,0,1,1,1,0,1,0,0,0]=>7
[1,0,1,0,1,0,1,0,1,1,1,1,0,0,0,0]=>6
[1,0,1,0,1,0,1,1,0,0,1,0,1,0,1,0]=>9
[1,0,1,0,1,0,1,1,0,0,1,0,1,1,0,0]=>7
[1,0,1,0,1,0,1,1,0,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0,0,0,1,0]=>5
[1,0,1,1,1,0,1,1,1,0,0,0,0,1,0,0]=>5
[1,0,1,1,1,0,1,1,1,0,0,0,1,0,0,0]=>5
[1,0,1,1,1,0,1,1,1,0,0,1,0,0,0,0]=>4
[1,0,1,1,1,0,1,1,1,0,1,0,0,0,0,0]=>4
[1,0,1,1,1,0,1,1,1,1,0,0,0,0,0,0]=>4
[1,0,1,1,1,1,0,0,0,0,1,0,1,0,1,0]=>6
[1,0,1,1,1,1,0,0,0,0,1,0,1,1,0,0]=>5
[1,0,1,1,1,1,0,0,0,0,1,1,0,0,1,0]=>7
[1,0,1,1,1,1,0,0,0,0,1,1,0,1,0,0]=>5
[1,0,1,1,1,1,0,0,0,0,1,1,1,0,0,0]=>5
[1,0,1,1,1,1,0,0,0,1,0,0,1,0,1,0]=>6
[1,0,1,1,1,1,0,0,0,1,0,0,1,1,0,0]=>5
[1,0,1,1,1,1,0,0,0,1,0,1,0,0,1,0]=>5
[1,0,1,1,1,1,0,0,0,1,0,1,0,1,0,0]=>7
[1,0,1,1,1,1,0,0,0,1,0,1,1,0,0,0]=>4
[1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,0]=>7
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>5
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>4
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>5
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>6
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>5
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>5
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>7
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>4
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>5
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>7
Description
The number of indecomposable projective non-injective modules whose dominant dimension equals the global dimension of the linear Nakayama algebra corresponding to a Dyck path, plus the number of indecomposable projective-injective modules.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
References
[1] Marczinzik, René Upper bounds for the dominant dimension of Nakayama and related algebras. zbMATH:06820683
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("numberprojnoninjdomdimequalgldimplusprojinj",[IsList]);
InstallMethod(numberprojnoninjdomdimequalgldimplusprojinj, "for a representation of a quiver", [IsList],0,function(LIST)
local A, UU, g, priA, projA;
A := LIST[1];
g := GlobalDimensionOfAlgebra(A,100);
projA := IndecProjectiveModules(A);
priA := Filtered(projA,x->IsInjectiveModule(x)=true);
UU := Filtered(projA,x->DominantDimensionOfModule(x,100)=g);
return(Size(UU)+Size(priA));
end);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
A = gap.NakayamaAlgebra(gap.GF(3), K)
return ZZ(gap.numberprojnoninjdomdimequalgldimplusprojinj([A]))
Created
Apr 29, 2018 at 13:31 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:39 by Nupur Jain
Identifier
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>4
[1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>4
[1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>4
[1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>4
[1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>3
[1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>4
[1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>4
[1,0,1,0,1,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,1,1,1,0,0,1,0,0,1,0,1,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>4
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>3
Description
The number of simple modules with even projective dimension of the linear Nakayama algebra corresponding to a Dyck path.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
References
[1] Marczinzik, René Upper bounds for the dominant dimension of Nakayama and related algebras. zbMATH:06820683
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("numbersimpleswithevenprojdim",[IsList]);
InstallMethod(numbersimpleswithevenprojdim, "for a representation of a quiver", [IsList],0,function(LIST)
local A, UU, simA;
A := LIST[1];
simA := SimpleModules(A);
UU := Filtered(simA,x->IsEvenInt(ProjDimensionOfModule(x,100))=true);
return(Size(UU));
end);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
A = gap.NakayamaAlgebra(gap.GF(3), K)
return ZZ(gap.numbersimpleswithevenprojdim([A]))
Created
Apr 29, 2018 at 14:49 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:39 by Nupur Jain
Identifier
St001164:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>0
[1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>1
[1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>1
[1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>1
[1,0,1,0,1,0,1,0,1,1,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,1,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>4
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>2
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>4
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>3
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>2
Description
The number of indecomposable injective modules whose socle has projective dimension at most the global dimension of the algebra minus one of the linear Nakayama algebra corresponding to a Dyck path, minus the number of indecomposable projective-injective modules.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
References
[1] Marczinzik, René Upper bounds for the dominant dimension of Nakayama and related algebras. zbMATH:06820683
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("numberindinjwithpdsocleatmostgldimminusoneminusnumberofprojink",[IsList]);
InstallMethod(numberindinjwithpdsocleatmostgldimminusoneminusnumberofprojink, "for a representation of a quiver", [IsList],0,function(LIST)
local A, UU, g, injA, priA;
A := LIST[1];
g := GlobalDimensionOfAlgebra(A,100);
injA := IndecInjectiveModules(A);
UU := Filtered(injA,x->ProjDimensionOfModule(SocleOfModule(x),30)<=g-1);
priA := Filtered(injA,x->IsProjectiveModule(x)=true);
return(Size(UU)-Size(priA));
end);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
A = gap.NakayamaAlgebra(gap.GF(3), K)
return ZZ(gap.numberindinjwithpdsocleatmostgldimminusoneminusnumberofprojink([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1
[1,0,1,1,1,1,0,0,0,1,0,1,0,1,0,0]=>0
[1,0,1,1,1,1,0,0,0,1,0,1,1,0,0,0]=>0
[1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,0]=>0
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>0
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>0
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>0
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>0
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>0
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>0
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>0
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>0
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>0
Description
The number of simple modules of dominant dimension at least three in the linear Nakayama algebra corresponding to a Dyck path.
The number of simple modules of dominant dimension at least two is given by St001067The number of simple modules of dominant dimension at least two in the linear Nakayama algebra corresponding to a Dyck path..
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
The number of simple modules of dominant dimension at least two is given by St001067The number of simple modules of dominant dimension at least two in the linear Nakayama algebra corresponding to a Dyck path..
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
References
[1] Marczinzik, René Upper bounds for the dominant dimension of Nakayama and related algebras. zbMATH:06820683
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("numberdomdimatleast3",[IsList]);
InstallMethod(numberdomdimatleast3, "for a representation of a quiver", [IsList],0,function(LIST)
local A, UU, simA;
A := LIST[1];
simA := SimpleModules(A);
UU := Filtered(simA,x->DominantDimensionOfModule(x,30)>=3);
return(Size(UU));
end);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
A = gap.NakayamaAlgebra(gap.GF(3), K)
return ZZ(gap.numberdomdimatleast3([A]))
Created
Apr 28, 2018 at 10:39 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:39 by Nupur Jain
Identifier
St001159:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>1
[1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>1
[1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>1
[1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>1
[1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>1
[1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>1
[1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>1
[1,0,1,0,1,0,1,1,0,1,0,0,1,0]=>1
[1,0,1,0,1,0,1,1,0,1,0,1,0,0]=>0
[1,0,1,0,1,0,1,1,0,1,1,0,0,0]=>1
[1,0,1,0,1,0,1,1,1,0,0,0,1,0]=>1
[1,0,1,0,1,0,1,1,1,0,0,1,0,0]=>1
[1,0,1,0,1,0,1,1,1,0,1,0,0,0]=>1
[1,0,1,0,1,0,1,1,1,1,0,0,0,0]=>1
[1,0,1,0,1,1,0,0,1,0,1,0,1,0]=>0
[1,0,1,0,1,1,0,0,1,0,1,1,0,0]=>1
[1,0,1,0,1,1,0,0,1,1,0,0,1,0]=>1
[1,0,1,0,1,1,0,0,1,1,0,1,0,0]=>1
[1,0,1,0,1,1,0,0,1,1,1,0,0,0]=>1
[1,0,1,0,1,1,0,1,0,0,1,0,1,0]=>1
[1,0,1,0,1,1,0,1,0,0,1,1,0,0]=>1
[1,0,1,0,1,1,0,1,0,1,0,0,1,0]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0,0,1,1,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,0,0,1,1,0,1,0,0]=>0
[1,0,1,1,1,1,0,0,0,0,1,1,1,0,0,0]=>1
[1,0,1,1,1,1,0,0,0,1,0,0,1,0,1,0]=>0
[1,0,1,1,1,1,0,0,0,1,0,0,1,1,0,0]=>0
[1,0,1,1,1,1,0,0,0,1,0,1,0,0,1,0]=>0
[1,0,1,1,1,1,0,0,0,1,0,1,0,1,0,0]=>0
[1,0,1,1,1,1,0,0,0,1,0,1,1,0,0,0]=>0
[1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>0
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>0
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>0
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>0
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>0
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>0
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>0
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>0
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>0
Description
The number of simple modules of the linear Nakayama algebra corresponding to a Dyck path whose dominant dimension equals the global dimension of the algebra.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
References
[1] Marczinzik, René Upper bounds for the dominant dimension of Nakayama and related algebras. zbMATH:06820683
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("numbersimplesmaxdomdim",[IsList]);
InstallMethod(numbersimplesmaxdomdim, "for a representation of a quiver", [IsList],0,function(LIST)
local A, U, g, simA;
A := LIST[1];
simA := SimpleModules(A);
g := GlobalDimensionOfAlgebra(A,30);
U := Filtered(simA,x->DominantDimensionOfModule(x,30)=g);
return(Size(U));
end);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
A = gap.NakayamaAlgebra(gap.GF(3), K)
return ZZ(gap.numbersimplesmaxdomdim([A]))
Created
Apr 23, 2018 at 14:08 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:39 by Nupur Jain
Identifier
St001140:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>4
[1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>3
[1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>3
[1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>3
[1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>2
[1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>2
[1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>2
[1,0,1,0,1,0,1,1,0,1,0,0,1,0]=>3
[1,0,1,0,1,0,1,1,0,1,0,1,0,0]=>4
[1,0,1,0,1,0,1,1,0,1,1,0,0,0]=>2
[1,0,1,0,1,0,1,1,1,0,0,0,1,0]=>2
[1,0,1,0,1,0,1,1,1,0,0,1,0,0]=>3
[1,0,1,0,1,0,1,1,1,0,1,0,0,0]=>2
[1,0,1,0,1,0,1,1,1,1,0,0,0,0]=>1
[1,0,1,0,1,1,0,0,1,0,1,0,1,0]=>2
[1,0,1,0,1,1,0,0,1,0,1,1,0,0]=>1
[1,0,1,0,1,1,0,0,1,1,0,0,1,0]=>2
[1,0,1,0,1,1,0,0,1,1,0,1,0,0]=>1
[1,0,1,0,1,1,0,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1,1,1,0,0,0,0,0,0]=>0
[1,0,1,1,1,1,0,0,0,0,1,0,1,0,1,0]=>2
[1,0,1,1,1,1,0,0,0,0,1,0,1,1,0,0]=>1
[1,0,1,1,1,1,0,0,0,0,1,1,0,0,1,0]=>2
[1,0,1,1,1,1,0,0,0,0,1,1,0,1,0,0]=>1
[1,0,1,1,1,1,0,0,0,0,1,1,1,0,0,0]=>1
[1,0,1,1,1,1,0,0,0,1,0,0,1,0,1,0]=>3
[1,0,1,1,1,1,0,0,0,1,0,0,1,1,0,0]=>2
[1,0,1,1,1,1,0,0,0,1,0,1,0,0,1,0]=>4
[1,0,1,1,1,1,0,0,0,1,0,1,0,1,0,0]=>3
[1,0,1,1,1,1,0,0,0,1,0,1,1,0,0,0]=>2
[1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,0]=>4
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>3
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>2
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>2
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>4
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>5
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>4
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>6
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>5
Description
The number of indecomposable modules of the linear Nakayama algebra corresponding to a Dyck path whose projective dimension and injective dimension are at least two.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
References
[1] Marczinzik, René Upper bounds for the dominant dimension of Nakayama and related algebras. zbMATH:06820683
Code
gap('LoadPackage("QPA");')
def NthRadical(M, n):
if n == 0:
f = gap.IdentityMapping(M)
else:
f = gap.RadicalOfModuleInclusion(M)
N = gap.Source(f)
for i in range(n-1):
h = gap.RadicalOfModuleInclusion(N)
N = gap.Source(h)
f = h * f
return f
def ARQuiverNak(A):
injA = gap.IndecInjectiveModules(A)
L = [gap.Source(NthRadical(inj, j))
for inj in injA
for j in range(gap.Dimension(inj).sage())]
return L
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
A = gap.NakayamaAlgebra(K, gap.GF(3))
L = ARQuiverNak(A)
return sum(1 for x in L
if gap.ProjDimensionOfModule(x, 30) >= 2 and gap.InjDimensionOfModule(x, 30) >= 2)
Created
Apr 09, 2018 at 14:30 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:39 by Nupur Jain
Identifier
St001138:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>11
[1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>13
[1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>13
[1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>14
[1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>16
[1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>14
[1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>15
[1,0,1,0,1,0,1,1,0,1,0,0,1,0]=>14
[1,0,1,0,1,0,1,1,0,1,0,1,0,0]=>14
[1,0,1,0,1,0,1,1,0,1,1,0,0,0]=>17
[1,0,1,0,1,0,1,1,1,0,0,0,1,0]=>16
[1,0,1,0,1,0,1,1,1,0,0,1,0,0]=>16
[1,0,1,0,1,0,1,1,1,0,1,0,0,0]=>18
[1,0,1,0,1,0,1,1,1,1,0,0,0,0]=>20
[1,0,1,0,1,1,0,0,1,0,1,0,1,0]=>14
[1,0,1,0,1,1,0,0,1,0,1,1,0,0]=>16
[1,0,1,0,1,1,0,0,1,1,0,0,1,0]=>15
[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1,1,1,0,1,1,1,0,1,0,0,0,0,0]=>30
[1,0,1,1,1,0,1,1,1,1,0,0,0,0,0,0]=>34
[1,0,1,1,1,1,0,0,0,0,1,0,1,0,1,0]=>21
[1,0,1,1,1,1,0,0,0,0,1,0,1,1,0,0]=>23
[1,0,1,1,1,1,0,0,0,0,1,1,0,0,1,0]=>22
[1,0,1,1,1,1,0,0,0,0,1,1,0,1,0,0]=>24
[1,0,1,1,1,1,0,0,0,0,1,1,1,0,0,0]=>25
[1,0,1,1,1,1,0,0,0,1,0,0,1,0,1,0]=>21
[1,0,1,1,1,1,0,0,0,1,0,0,1,1,0,0]=>23
[1,0,1,1,1,1,0,0,0,1,0,1,0,0,1,0]=>21
[1,0,1,1,1,1,0,0,0,1,0,1,0,1,0,0]=>23
[1,0,1,1,1,1,0,0,0,1,0,1,1,0,0,0]=>25
[1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,0]=>22
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>24
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>26
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>27
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>21
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>23
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>21
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>23
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>25
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>21
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>23
Description
The number of indecomposable modules of the linear Nakayama algebra corresponding to a Dyck path whose projective dimension or injective dimension is at most one.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
References
[1] Marczinzik, René Upper bounds for the dominant dimension of Nakayama and related algebras. zbMATH:06820683
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("ARQuiver", [IsList]);
InstallMethod(ARQuiver, "for an algebra and bound", [IsList], 0, function(LIST)
local A, L, N, PI, bound, dim, f, h, inj, injA, j;
A := LIST[1];
bound := LIST[2];
injA := IndecInjectiveModules(A);
L := [];
for inj in injA do
dim := Dimension(inj);
for j in [0..dim-1] do
if j = 0 then
f := IdentityMapping(inj);
else
f := RadicalOfModuleInclusion(inj);
N := Source(f);
h := 1;
while h < j do
f := RadicalOfModuleInclusion(N);
N := Source(f);
h := h + 1;
od;
fi;
Add(L, Source(f));
od;
od;
PI := Filtered(L, x -> IsProjectiveModule(x) and IsInjectiveModule(x));
return [PI, L];
end);
DeclareOperation("numberofmoduleswithprojinjdimlessorequal1",[IsList]);
InstallMethod(numberofmoduleswithprojinjdimlessorequal1, "for a representation of a quiver", [IsList],0,function(LIST)
local A, L, LL, LU;
LU := LIST[1];
A := NakayamaAlgebra(LU,GF(3));
L := ARQuiver([A,1000])[2];
LL := Filtered(L,x->ProjDimensionOfModule(x,30)<=1 or InjDimensionOfModule(x,30)<=1);
return(Size(LL));
end);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
return ZZ(gap.numberofmoduleswithprojinjdimlessorequal1([K]))
Created
Apr 09, 2018 at 14:03 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:39 by Nupur Jain
Identifier
St001135:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>8
[1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>1
[1,0,1,0,1,0,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1,1,1,1,0,0,0,1,0,1,0,1,0,0]=>3
[1,0,1,1,1,1,0,0,0,1,0,1,1,0,0,0]=>1
[1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,0]=>2
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>3
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>3
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>4
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>4
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>1
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>4
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>3
Description
The projective dimension of the first simple module in the Nakayama algebra corresponding to the Dyck path.
References
[1] Marczinzik, René Upper bounds for the dominant dimension of Nakayama and related algebras. zbMATH:06820683
Code
gap('LoadPackage("QPA");')
def kupisch(D):
H = D.heights()
return [1+H[i] for i, s in enumerate(D) if s == 0] + [1]
def statistic(D):
D = DyckWord(D)
K = kupisch(D.reverse())
A = gap.NakayamaAlgebra(K, gap.GF(3))
S = gap.SimpleModules(A)
return ZZ(gap.ProjDimensionOfModule(S[1], 100))
Created
Apr 06, 2018 at 21:39 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:38 by Nupur Jain
Identifier
St001126:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>0
[1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>1
[1,0,1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>0
[1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>1
[1,0,1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>2
[1,0,1,0,1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,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>3
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>2
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>4
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>2
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>2
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>1
Description
The number of 1-regular simple modules of the linear Nakayama algebra corresponding to a Dyck path.
A simple module $S$ is $k$-regular ($k\geq 1$) if $S$ has projective dimension $k$, $\operatorname{Ext}^k_A(S,A)$ is one-dimensional, and $\operatorname{Ext}^i_A(S,A)=0$ for $i=0,\ldots,k-1$.
The number of 2-regular and 3-regular simple modules are given by St001125The number of 2-regular simple modules of the linear Nakayama algebra corresponding to a Dyck path. and St001137The number of 3-regular simple modules of the linear Nakayama algebra corresponding to a Dyck path. respectively.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
A simple module $S$ is $k$-regular ($k\geq 1$) if $S$ has projective dimension $k$, $\operatorname{Ext}^k_A(S,A)$ is one-dimensional, and $\operatorname{Ext}^i_A(S,A)=0$ for $i=0,\ldots,k-1$.
The number of 2-regular and 3-regular simple modules are given by St001125The number of 2-regular simple modules of the linear Nakayama algebra corresponding to a Dyck path. and St001137The number of 3-regular simple modules of the linear Nakayama algebra corresponding to a Dyck path. respectively.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
References
[1] Enomoto, H. Classifications of exact structures and Cohen-Macaulay-finite algebras arXiv:1705.02163
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("has1regularcondition",[IsList]);
InstallMethod(has1regularcondition, "for a representation of a quiver", [IsList],0,function(LIST)
local A, M, RegA, g1, g2, g3;
A := LIST[1];
M := LIST[2];
RegA := DirectSumOfQPAModules(IndecProjectiveModules(A));
g1 := ProjDimensionOfModule(M,30)-1;
g2 := Size(HomOverAlgebra(M,RegA));
g3 := Size(ExtOverAlgebra(M,RegA)[2])-1;
return([g1,g2,g3]);
end);
DeclareOperation("numberofsim1ausreg",[IsList]);
InstallMethod(numberofsim1ausreg, "for a representation of a quiver", [IsList],0,function(LIST)
local A, WU, simA;
A := LIST[1];
simA := SimpleModules(A);
WU := Filtered(simA,x->has1regularcondition([A,x])=[0,0,0]);
return(Size(WU));
end);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
A = gap.NakayamaAlgebra(gap.GF(3), K)
return ZZ(gap.numberofsim1ausreg([A]))
Created
Mar 21, 2018 at 18:38 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:38 by Nupur Jain
Identifier
St001125:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>0
[1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>0
[1,0,1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>1
[1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>0
[1,0,1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>0
[1,0,1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>0
[1,0,1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>1
[1,0,1,0,1,0,1,0,1,1,0,1,0,0,1,0]=>0
[1,0,1,0,1,0,1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,1,1,1,0,0,1,0,0,0,1,0,1,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>1
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>1
Description
The number of 2-regular simple modules of the linear Nakayama algebra corresponding to a Dyck path.
A simple module $S$ is $k$-regular ($k\geq 1$) if $S$ has projective dimension $k$, $\operatorname{Ext}^k_A(S,A)$ is one-dimensional, and $\operatorname{Ext}^i_A(S,A)=0$ for $i=0,\ldots,k-1$.
The number of 1-regular and 3-regular simple modules are given by St001126The number of 1-regular simple modules of the linear Nakayama algebra corresponding to a Dyck path. and St001137The number of 3-regular simple modules of the linear Nakayama algebra corresponding to a Dyck path. respectively.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
A simple module $S$ is $k$-regular ($k\geq 1$) if $S$ has projective dimension $k$, $\operatorname{Ext}^k_A(S,A)$ is one-dimensional, and $\operatorname{Ext}^i_A(S,A)=0$ for $i=0,\ldots,k-1$.
The number of 1-regular and 3-regular simple modules are given by St001126The number of 1-regular simple modules of the linear Nakayama algebra corresponding to a Dyck path. and St001137The number of 3-regular simple modules of the linear Nakayama algebra corresponding to a Dyck path. respectively.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
References
[1] Enomoto, H. Classifications of exact structures and Cohen-Macaulay-finite algebras arXiv:1705.02163
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("has2regularcondition",[IsList]);
InstallMethod(has2regularcondition, "for a representation of a quiver", [IsList],0,function(LIST)
local A, M, RegA, g1, g2, g3;
A := LIST[1];
M := LIST[2];
RegA := DirectSumOfQPAModules(IndecProjectiveModules(A));
g1 := ProjDimensionOfModule(M,30)-2;
g2 := Size(HomOverAlgebra(M,RegA))+Size(ExtOverAlgebra(M,RegA)[2]);
g3 := Size(ExtOverAlgebra(NthSyzygy(M,1),RegA)[2])-1;
return([g1,g2,g3]);
end);
# has 2-redular condition iff output is [0,0,0].
DeclareOperation("numberofsim2ausreg",[IsList]);
InstallMethod(numberofsim2ausreg, "for a representation of a quiver", [IsList],0,function(LIST)
local A, WU, simA;
A := LIST[1];
simA := SimpleModules(A);
WU := Filtered(simA,x->has2regularcondition([A,x])=[0,0,0]);
return(Size(WU));
end);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
A = gap.NakayamaAlgebra(gap.GF(3), K)
return ZZ(gap.numberofsim2ausreg([A]))
Created
Mar 21, 2018 at 17:18 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:38 by Nupur Jain
Identifier
St001113:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>1
[1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>1
[1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>1
[1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>1
[1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>1
[1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>1
[1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>1
[1,0,1,0,1,0,1,1,0,1,0,0,1,0]=>1
[1,0,1,0,1,0,1,1,0,1,0,1,0,0]=>1
[1,0,1,0,1,0,1,1,0,1,1,0,0,0]=>1
[1,0,1,0,1,0,1,1,1,0,0,0,1,0]=>1
[1,0,1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,0,0,1,0,0]=>0
Description
The number of indecomposable projective non-injective modules of the linear Nakayama algebra corresponding to a Dyck path that have reflexive Auslander–Reiten sequences.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
References
[1] , Tachikawa, H. Reflexive Auslander-Reiten sequences MathSciNet:1048418 zbMATH:0686.16023
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("IsReflexive", [IsList]);
InstallMethod(IsReflexive, "for a representation of a quiver", [IsList],0,function(L)
local A, CoRegA, SS, dd1, dd2;
A := L[1];
SS := L[2];
CoRegA := DirectSumOfQPAModules(IndecInjectiveModules(A));
dd1 := Size(ExtOverAlgebra(CoRegA,DTr(SS))[2]);
dd2 := Size(ExtOverAlgebra(NthSyzygy(CoRegA,1),DTr(SS))[2]);
return(dd1+dd2);
end
);
DeclareOperation("HasProjreflexiveARseq", [IsList]);
InstallMethod(HasProjreflexiveARseq, "for a representation of a quiver", [IsList],0,function(L)
local A, P, UU1, UU2;
A := L[1];
P := L[2];
UU1 := DTr(P,-1);
UU2 := Source(AlmostSplitSequence(UU1)[2]);
return(IsReflexive([A,UU1])+IsReflexive([A,UU2]));
end
);
DeclareOperation("NumberreflexiveARseq22", [IsList]);
InstallMethod(NumberreflexiveARseq22, "for a representation of a quiver", [IsList],0,function(L)
local A, LL, i, prnotinjA, projA, tr, tulu;
LL := L[1];
A := NakayamaAlgebra(LL,GF(3));
projA := IndecProjectiveModules(A);
prnotinjA := Filtered(projA,x->IsInjectiveModule(x)=false);
tulu := [];
for i in prnotinjA do Append(tulu,[HasProjreflexiveARseq([A,i])]);
od;
tr := Filtered(tulu,x->(x=0));
return(Size(tr));
end
);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
return ZZ(gap.NumberreflexiveARseq22([K]))
Created
Feb 24, 2018 at 10:07 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:38 by Nupur Jain
Identifier
St001089:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>0
[1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>0
[1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>0
[1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>1
[1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>0
[1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>0
[1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>0
[1,0,1,0,1,0,1,1,0,1,0,0,1,0]=>1
[1,0,1,0,1,0,1,1,0,1,0,1,0,0]=>1
[1,0,1,0,1,0,1,1,0,1,1,0,0,0]=>1
[1,0,1,0,1,0,1,1,1,0,0,0,1,0]=>0
[1,0,1,0,1,0,1,1,1,0,0,1,0,0]=>1
[1,0,1,0,1,0,1,1,1,0,1,0,0,0]=>2
[1,0,1,0,1,0,1,1,1,1,0,0,0,0]=>0
[1,0,1,0,1,1,0,0,1,0,1,0,1,0]=>0
[1,0,1,0,1,1,0,0,1,0,1,1,0,0]=>0
[1,0,1,0,1,1,0,0,1,1,0,0,1,0]=>0
[1,0,1,0,1,1,0,0,1,1,0,1,0,0]=>1
[1,0,1,0,1,1,0,0,1,1,1,0,0,0]=>0
[1,0,1,0,1,1,0,1,0,0,1,0,1,0]=>1
[1,0,1,0,1,1,0,1,0,0,1,1,0,0]=>1
[1,0,1,0,1,1,0,1,0,1,0,0,1,0]=>1
[1,0,1,0,1,1,0,1,0,1,0,1,0,0]=>0
[1,0,1,0,1,1,0,1,0,1,1,0,0,0]=>1
[1,0,1,0,1,1,0,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,0,0]=>0
[1,0,1,1,1,1,0,0,0,1,0,0,1,0,1,0]=>1
[1,0,1,1,1,1,0,0,0,1,0,0,1,1,0,0]=>1
[1,0,1,1,1,1,0,0,0,1,0,1,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,0,1,0,1,0,1,0,0]=>0
[1,0,1,1,1,1,0,0,0,1,0,1,1,0,0,0]=>1
[1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>2
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>2
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>2
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>2
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>2
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>2
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>2
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>1
Description
The number of indecomposable projective non-injective modules of the linear Nakayama algebra corresponding to a Dyck path, minus the number of indecomposable projective non-injective modules whose dominant dimension equals their injective dimension.
The number of indecomposable projective non-injective modules whose dominant dimension equals their injective dimension is given by St001088The number of indecomposable projective non-injective modules with dominant dimension equal to the injective dimension in the linear Nakayama algebra corresponding to a Dyck path..
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
The number of indecomposable projective non-injective modules whose dominant dimension equals their injective dimension is given by St001088The number of indecomposable projective non-injective modules with dominant dimension equal to the injective dimension in the linear Nakayama algebra corresponding to a Dyck path..
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
References
[1] Marczinzik, R. Upper bounds for the dominant dimension of Nakayama and related algebras arXiv:1605.09634
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("numberofprojwithdomdimequalinjdim2", [IsList]);
InstallMethod(numberofprojwithdomdimequalinjdim2, "for a representation of a quiver", [IsList],0,function(L)
local A, UU, i, list, prinA, projA, tempp;
list := L;
A := NakayamaAlgebra(list,GF(3));
projA := IndecProjectiveModules(A);
prinA := Filtered(projA,x->IsInjectiveModule(x)=false);
tempp := [];
for i in prinA do Append(tempp,[InjDimensionOfModule(i,30)-DominantDimensionOfModule(i,30)]);
od;
UU := Filtered(tempp,x->(x=0));
return(Size(prinA)-Size(UU));
end
);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
return ZZ(gap.numberofprojwithdomdimequalinjdim2(K))
Created
Jan 14, 2018 at 19:21 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:38 by Nupur Jain
Identifier
St001088:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>1
[1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>2
[1,0,1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>2
[1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>1
[1,0,1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>3
[1,0,1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>2
[1,0,1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>3
[1,0,1,0,1,0,1,0,1,1,0,1,0,0,1,0]=>1
[1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,0]=>1
[1,0,1,0,1,0,1,0,1,1,0,1,1,0,0,0]=>2
[1,0,1,0,1,0,1,0,1,1,1,0,0,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0,0,1,0,0,1,0]=>2
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>2
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>3
Description
The number of indecomposable projective non-injective modules with dominant dimension equal to the injective dimension in the linear Nakayama algebra corresponding to a Dyck path.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
References
[1] Marczinzik, R. Upper bounds for the dominant dimension of Nakayama and related algebras arXiv:1605.09634
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("numberofprojwithdomdimequalinjdim", [IsList]);
InstallMethod(numberofprojwithdomdimequalinjdim, "for a representation of a quiver", [IsList],0,function(L)
local A, UU, i, list, prinA, projA, temp;
list := L;
A := NakayamaAlgebra(GF(3), list);
projA := IndecProjectiveModules(A);
prinA := Filtered(projA, x -> IsInjectiveModule(x) = false);
temp := [];
for i in prinA do
Append(temp, [InjDimensionOfModule(i, 30) - DominantDimensionOfModule(i, 30)]);
od;
UU := Filtered(temp, x -> (x = 0));
return(Size(UU));
end);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
return ZZ(gap.numberofprojwithdomdimequalinjdim(K))
Created
Jan 14, 2018 at 19:16 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:38 by Nupur Jain
Identifier
St001068:
Dyck paths
⟶ ℤ
(values match
St000015The number of peaks of a Dyck path., St000053The number of valleys of the Dyck path., St001169The number of simple modules with projective dimension at least two of the linear Nakayama algebra corresponding to a Dyck path.)
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>8
[1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>7
[1,0,1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>7
[1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>7
[1,0,1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>6
[1,0,1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>7
[1,0,1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>6
[1,0,1,0,1,0,1,0,1,1,0,1,0,0,1,0]=>7
[1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,0]=>7
[1,0,1,0,1,0,1,0,1,1,0,1,1,0,0,0]=>6
[1,0,1,0,1,0,1,0,1,1,1,0,0,0,1,0]=>6
[1,0,1,0,1,0,1,0,1,1,1,0,0,1,0,0]=>6
[1,0,1,0,1,0,1,0,1,1,1,0,1,0,0,0]=>6
[1,0,1,0,1,0,1,0,1,1,1,1,0,0,0,0]=>5
[1,0,1,0,1,0,1,1,0,0,1,0,1,0,1,0]=>7
[1,0,1,0,1,0,1,1,0,0,1,0,1,1,0,0]=>6
[1,0,1,0,1,0,1,1,0,0,1,1,0,0,1,0]=>6
[1,0,1,0,1,0,1,1,0,0,1,1,0,1,0,0]=>6
[1,0,1,0,1,0,1,1,0,0,1,1,1,0,0,0]=>5
[1,0,1,0,1,0,1,1,0,1,0,0,1,0,1,0]=>7
[1,0,1,0,1,0,1,1,0,1,0,0,1,1,0,0]=>6
[1,0,1,0,1,0,1,1,0,1,0,1,0,0,1,0]=>7
[1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,0]=>7
[1,0,1,0,1,0,1,1,0,1,0,1,1,0,0,0]=>6
[1,0,1,0,1,0,1,1,0,1,1,0,0,0,1,0]=>6
[1,0,1,0,1,0,1,1,0,1,1,0,0,1,0,0]=>6
[1,0,1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,1,0,0,0,0,1,1,1,0,0,0]=>3
[1,0,1,1,1,1,0,0,0,1,0,0,1,0,1,0]=>5
[1,0,1,1,1,1,0,0,0,1,0,0,1,1,0,0]=>4
[1,0,1,1,1,1,0,0,0,1,0,1,0,0,1,0]=>5
[1,0,1,1,1,1,0,0,0,1,0,1,0,1,0,0]=>5
[1,0,1,1,1,1,0,0,0,1,0,1,1,0,0,0]=>4
[1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,0]=>4
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>4
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>4
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>5
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>4
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>5
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>5
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>4
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>5
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>5
Description
The number of torsionless simple modules in the linear Nakayama algebra corresponding to a Dyck path.
A module $M$ is called $r$-torsionfree in case $\operatorname{Ext}^i_A(D(A),\tau(M))=0$ for all $i=1,2,..,r$. A torsionless module is a 1-torsionfree module.
The number of simple 2-torsionfree (i.e. reflexive) modules is given by St001066The number of simple reflexive modules of the linear Nakayama algebra corresponding to a Dyck path.. The number of simple 3-torsionfree modules is given by St001063The number of 3-torsionfree simple modules in the linear Nakayama algebra corresponding to a Dyck path..
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
A module $M$ is called $r$-torsionfree in case $\operatorname{Ext}^i_A(D(A),\tau(M))=0$ for all $i=1,2,..,r$. A torsionless module is a 1-torsionfree module.
The number of simple 2-torsionfree (i.e. reflexive) modules is given by St001066The number of simple reflexive modules of the linear Nakayama algebra corresponding to a Dyck path.. The number of simple 3-torsionfree modules is given by St001063The number of 3-torsionfree simple modules in the linear Nakayama algebra corresponding to a Dyck path..
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
References
[1] https://en.wikipedia.org/wiki/Torsionless_module
[2] https://en.wikipedia.org/wiki/Torsionfree_module
[3] Auslander, M., Bridger, M. Stable module theory DOI:10.1090/memo/0094
[2] https://en.wikipedia.org/wiki/Torsionfree_module
[3] Auslander, M., Bridger, M. Stable module theory DOI:10.1090/memo/0094
Code
# Pure combinatorial: count simple modules that are 1-syzygies (torsionless).
# S_i is a 1-syzygy iff S_i is projective (K[i] = 1) or ∃ M(j, l) with Ω(M(j, l)) = S_i.
# Ω(M(j, l)) = M(j+l, K[j]-l) when l < K[j] and j+l < n.
# So Ω(M(j, l)) = S_i = M(i, 1) iff j+l = i and K[j]-l = 1, i.e., l = K[j]-1 and j = i-K[j]+1.
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
n = len(K)
syzygy1_simples = set()
# Projective simples are n-th syzygies for all n
for i in range(n):
if K[i] == 1:
syzygy1_simples.add(i)
# Non-projective simples: S_i is a 1st syzygy iff ∃ (j, l) with Ω(j, l) = (i, 1)
for j in range(n):
for l in range(1, K[j] + 1):
if l == K[j]: # projective, Ω = 0
continue
ni, nl = j + l, K[j] - l
if ni < n and nl == 1:
syzygy1_simples.add(ni)
return ZZ(len(syzygy1_simples))
Created
Dec 30, 2017 at 14:43 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:38 by Nupur Jain
Identifier
St001066:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>7
[1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>6
[1,0,1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>5
[1,0,1,0,1,0,1,0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,1,1,0,0,0,1,0,1,1,0,0,0]=>2
[1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>1
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>2
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>2
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>2
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>1
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>2
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>2
Description
The number of simple reflexive modules of the linear Nakayama algebra corresponding to a Dyck path.
A module $M$ is called $r$-torsionfree in case $\operatorname{Ext}^i_A(D(A),\tau(M))=0$ for all $i=1,2,..,r$. A reflexive module is the same as a $2$-torsionfree module (when it is finitely generated over a Noetherian ring).
The number of simple 1-torsionfree (i.e. torsionless) modules is given by St001068The number of torsionless simple modules in the linear Nakayama algebra corresponding to a Dyck path.. The number of simple 3-torsionfree modules is given by St001063The number of 3-torsionfree simple modules in the linear Nakayama algebra corresponding to a Dyck path..
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
A module $M$ is called $r$-torsionfree in case $\operatorname{Ext}^i_A(D(A),\tau(M))=0$ for all $i=1,2,..,r$. A reflexive module is the same as a $2$-torsionfree module (when it is finitely generated over a Noetherian ring).
The number of simple 1-torsionfree (i.e. torsionless) modules is given by St001068The number of torsionless simple modules in the linear Nakayama algebra corresponding to a Dyck path.. The number of simple 3-torsionfree modules is given by St001063The number of 3-torsionfree simple modules in the linear Nakayama algebra corresponding to a Dyck path..
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
References
[1] wikipedia:Torsion-free module
[2] Auslander, M., Bridger, M. Stable module theory DOI:10.1090/memo/0094
[2] Auslander, M., Bridger, M. Stable module theory DOI:10.1090/memo/0094
Code
# Pure combinatorial: count simple 2-syzygy (reflexive) modules.
# S_i is a 2-syzygy iff S_i is projective OR ∃ X with Ω²(X) = S_i.
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
n = len(K)
def omega(i, l):
if l == K[i]:
return None
ni, nl = i + l, K[i] - l
if ni >= n or nl <= 0:
return None
return (ni, nl)
syzygy2_simples = set()
# Projective simples are n-th syzygies for all n
for i in range(n):
if K[i] == 1:
syzygy2_simples.add(i)
# Non-projective simples: check if ∃ X with Ω²(X) = S_i
for j in range(n):
for l in range(1, K[j] + 1):
cur = (j, l)
for _ in range(2):
if cur is None:
break
cur = omega(cur[0], cur[1])
if cur is not None and cur[1] == 1:
syzygy2_simples.add(cur[0])
return ZZ(len(syzygy2_simples))
Created
Dec 30, 2017 at 14:30 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:38 by Nupur Jain
Identifier
St001064:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>6
[1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>5
[1,0,1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>4
[1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>5
[1,0,1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>4
[1,0,1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>3
[1,0,1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>3
[1,0,1,0,1,0,1,0,1,1,0,1,0,0,1,0]=>5
[1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,0]=>5
[1,0,1,0,1,0,1,0,1,1,0,1,1,0,0,0]=>4
[1,0,1,0,1,0,1,0,1,1,1,0,0,0,1,0]=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,0,1,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>1
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>2
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>1
Description
The number of simple modules of the linear Nakayama algebra corresponding to a Dyck path that are 3-syzygy modules.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
References
[1] http://www.ams.org/notices/200604/what-is.pdf
[2] Auslander, M., Bridger, M. Stable module theory DOI:10.1090/memo/0094
[2] Auslander, M., Bridger, M. Stable module theory DOI:10.1090/memo/0094
Code
# Pure combinatorial approach: for a linear Nakayama algebra with Kupisch series
# K = [c_0, c_1, ..., c_{n-1}], the indecomposable modules are M(i, l) at vertex i
# with length l (1 <= l <= c_i). The syzygy is:
# Ω(M(i, l)) = M(i+l, c_i - l) if l < c_i and i+l < n
# Ω(M(i, l)) = 0 if l = c_i (projective) or i+l >= n
#
# S_i = M(i, 1) is a 3-syzygy iff there exists M(j, l) with Ω³(M(j, l)) = M(i, 1).
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
n = len(K)
def omega(i, l):
"""Syzygy of M(i, l). Returns (i', l') or None if zero."""
if l == K[i]: # projective
return None
ni, nl = i + l, K[i] - l
if ni >= n or nl <= 0:
return None
return (ni, nl)
# Find all simples that are 3rd syzygies
syzygy3_simples = set()
# Projective simples are n-th syzygies for all n by convention
for i in range(n):
if K[i] == 1: # S_i is projective iff K[i] = 1
syzygy3_simples.add(i)
# Non-projective simples: S_i is a 3rd syzygy iff ∃ X with Ω³(X) = S_i
for j in range(n):
for l in range(1, K[j] + 1):
cur = (j, l)
for _ in range(3):
if cur is None:
break
cur = omega(cur[0], cur[1])
if cur is not None and cur[1] == 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1,1,1,0,0,0,0,1,1,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,0,0,1,1,0,1,0,0]=>1
[1,0,1,1,1,1,0,0,0,0,1,1,1,0,0,0]=>1
[1,0,1,1,1,1,0,0,0,1,0,0,1,0,1,0]=>1
[1,0,1,1,1,1,0,0,0,1,0,0,1,1,0,0]=>1
[1,0,1,1,1,1,0,0,0,1,0,1,0,0,1,0]=>2
[1,0,1,1,1,1,0,0,0,1,0,1,0,1,0,0]=>1
[1,0,1,1,1,1,0,0,0,1,0,1,1,0,0,0]=>1
[1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>1
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>1
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>1
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>2
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>1
Description
The number of 3-torsionfree simple modules in the linear Nakayama algebra corresponding to a Dyck path.
A module $M$ is called $r$-torsionfree in case $\operatorname{Ext}^i_A(D(A),\tau(M))=0$ for all $i=1,2,..,r$.
The number of simple 1-torsionfree (i.e. torsionless) modules is given by St001068The number of torsionless simple modules in the linear Nakayama algebra corresponding to a Dyck path.. The number of simple 2-torsionfree (i.e. reflexive) modules is given by St001066The number of simple reflexive modules of the linear Nakayama algebra corresponding to a Dyck path..
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
A module $M$ is called $r$-torsionfree in case $\operatorname{Ext}^i_A(D(A),\tau(M))=0$ for all $i=1,2,..,r$.
The number of simple 1-torsionfree (i.e. torsionless) modules is given by St001068The number of torsionless simple modules in the linear Nakayama algebra corresponding to a Dyck path.. The number of simple 2-torsionfree (i.e. reflexive) modules is given by St001066The number of simple reflexive modules of the linear Nakayama algebra corresponding to a Dyck path..
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
References
[1] wikipedia:Torsion-free module
[2] Auslander, M., Bridger, M. Stable module theory DOI:10.1090/memo/0094
[2] Auslander, M., Bridger, M. Stable module theory DOI:10.1090/memo/0094
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("ntorsionlesstest",[IsList]);
InstallMethod(ntorsionlesstest, "for a representation of a quiver", [IsList],0,function(LIST)
local A, CoRegA, M, i, n, temp;
A := LIST[1];
M := LIST[2];
n := LIST[3];
CoRegA := DirectSumOfQPAModules(IndecInjectiveModules(A));
temp := [];
for i in [0..n-1] do Append(temp,[Size(ExtOverAlgebra(NthSyzygy(CoRegA,i),DTr(M))[2])]);
od;
return(Sum(temp));
end);
DeclareOperation("Numberofsimple3torsionfree",[IsList]);
InstallMethod(Numberofsimple3torsionfree, "for a representation of a quiver", [IsList],0,function(LIST)
local A, L, U, simA;
L := LIST[1];
A := NakayamaAlgebra(L,GF(3));
simA := SimpleModules(A);
U := Filtered(simA,x->ntorsionlesstest([A,x,3])=0);
return(Size(U));
end);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
return ZZ(gap.Numberofsimple3torsionfree([K]))
Created
Dec 30, 2017 at 15:48 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:38 by Nupur Jain
Identifier
St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
[1,0,1,1,1,1,0,0,0,1,0,0,1,0,1,0]=>3
[1,0,1,1,1,1,0,0,0,1,0,0,1,1,0,0]=>2
[1,0,1,1,1,1,0,0,0,1,0,1,0,0,1,0]=>3
[1,0,1,1,1,1,0,0,0,1,0,1,0,1,0,0]=>1
[1,0,1,1,1,1,0,0,0,1,0,1,1,0,0,0]=>2
[1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,0]=>5
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>3
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>3
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>4
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>4
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>4
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>2
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>4
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>2
Description
The number of simple modules with projective dimension equal to injective dimension in the linear Nakayama algebra corresponding to a Dyck path.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("Simplesprojdimequalinjdim", [IsList]);
InstallMethod(Simplesprojdimequalinjdim, "for a representation of a quiver", [IsList],0,function(L)
local A, R, RR, list, x;
list := L;
A := NakayamaAlgebra(GF(3),list);
R := SimpleModules(A);
RR := Filtered(R,x->ProjDimensionOfModule(x,100)=InjDimensionOfModule(x,100));
return(Size(RR));
end
);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
return ZZ(gap.Simplesprojdimequalinjdim(K))
Created
Oct 31, 2017 at 00:06 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:38 by Nupur Jain
Identifier
St001028:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>9
[1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>8
[1,0,1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>8
[1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>8
[1,0,1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>7
[1,0,1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>8
[1,0,1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>7
[1,0,1,0,1,0,1,0,1,1,0,1,0,0,1,0]=>8
[1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,0]=>3
[1,0,1,0,1,0,1,0,1,1,0,1,1,0,0,0]=>7
[1,0,1,0,1,0,1,0,1,1,1,0,0,0,1,0]=>7
[1,0,1,0,1,0,1,0,1,1,1,0,0,1,0,0]=>7
[1,0,1,0,1,0,1,0,1,1,1,0,1,0,0,0]=>7
[1,0,1,0,1,0,1,0,1,1,1,1,0,0,0,0]=>6
[1,0,1,0,1,0,1,1,0,0,1,0,1,0,1,0]=>8
[1,0,1,0,1,0,1,1,0,0,1,0,1,1,0,0]=>7
[1,0,1,0,1,0,1,1,0,0,1,1,0,0,1,0]=>7
[1,0,1,0,1,0,1,1,0,0,1,1,0,1,0,0]=>7
[1,0,1,0,1,0,1,1,0,0,1,1,1,0,0,0]=>6
[1,0,1,0,1,0,1,1,0,1,0,0,1,0,1,0]=>8
[1,0,1,0,1,0,1,1,0,1,0,0,1,1,0,0]=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1,0,1,1,1,0,1,1,1,1,0,0,0,0,0,0]=>4
[1,0,1,1,1,1,0,0,0,0,1,0,1,0,1,0]=>6
[1,0,1,1,1,1,0,0,0,0,1,0,1,1,0,0]=>5
[1,0,1,1,1,1,0,0,0,0,1,1,0,0,1,0]=>5
[1,0,1,1,1,1,0,0,0,0,1,1,0,1,0,0]=>5
[1,0,1,1,1,1,0,0,0,0,1,1,1,0,0,0]=>4
[1,0,1,1,1,1,0,0,0,1,0,0,1,0,1,0]=>6
[1,0,1,1,1,1,0,0,0,1,0,0,1,1,0,0]=>5
[1,0,1,1,1,1,0,0,0,1,0,1,0,0,1,0]=>6
[1,0,1,1,1,1,0,0,0,1,0,1,0,1,0,0]=>5
[1,0,1,1,1,1,0,0,0,1,0,1,1,0,0,0]=>5
[1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,0]=>5
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>5
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>5
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>4
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>6
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>5
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>6
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>6
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>5
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>6
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>5
Description
The number of simple modules with injective dimension equal to the dominant dimension in the linear Nakayama algebra corresponding to a Dyck path.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("Simplesinjdimequaldomdim", [IsList]);
InstallMethod(Simplesinjdimequaldomdim, "for a representation of a quiver", [IsList],0,function(L)
local A, R, RR, list, x;
list := L;
A := NakayamaAlgebra(GF(3),list);
R := SimpleModules(A);
RR := Filtered(R,x->DominantDimensionOfModule(x,100)=InjDimensionOfModule(x,100));
return(Size(RR));
end
);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
return ZZ(gap.Simplesinjdimequaldomdim(K))
Created
Oct 31, 2017 at 00:19 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:38 by Nupur Jain
Identifier
St001026:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>0
[1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>6
[1,0,1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>4
[1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>0
[1,0,1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>5
[1,0,1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>2
[1,0,1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>4
[1,0,1,0,1,0,1,0,1,1,0,1,0,0,1,0]=>1
[1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,0]=>5
[1,0,1,0,1,0,1,0,1,1,0,1,1,0,0,0]=>5
[1,0,1,0,1,0,1,0,1,1,1,0,0,0,1,0]=>4
[1,0,1,0,1,0,1,0,1,1,1,0,0,1,0,0]=>3
[1,0,1,0,1,0,1,0,1,1,1,0,1,0,0,0]=>0
[1,0,1,0,1,0,1,0,1,1,1,1,0,0,0,0]=>4
[1,0,1,0,1,0,1,1,0,0,1,0,1,0,1,0]=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,1,0,0]=>1
Description
The difference between the maximum and the minimum of the projective dimensions of the indecomposable non-projective injective modules of the linear Nakayama algebra corresponding to a Dyck path.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("indecinjmaxmin", [IsList]);
InstallMethod(indecinjmaxmin, "for a representation of a quiver", [IsList],0,function(L)
local A, R, RR, i, list, temp, x;
list := L;
A := NakayamaAlgebra(GF(3),list);
R := IndecInjectiveModules(A);
RR := Filtered(R,x->IsProjectiveModule(x)=false);
temp := [];
for i in RR do Append(temp,[ProjDimensionOfModule(i,30)]);
od;
return(Maximum(temp)-Minimum(temp));
end
);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
return ZZ(gap.indecinjmaxmin(K))
Created
Oct 31, 2017 at 06:57 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:38 by Nupur Jain
Identifier
St001024:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>7
[1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>6
[1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>5
[1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>6
[1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>5
[1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>4
[1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>4
[1,0,1,0,1,0,1,1,0,1,0,0,1,0]=>6
[1,0,1,0,1,0,1,1,0,1,0,1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0,1,0,0,1,1,0,0,0]=>2
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>3
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>2
Description
The maximum of the dominant dimensions of the simple modules of the linear Nakayama algebra corresponding to a Dyck path.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("Maximumdomdimsimples", [IsList]);
InstallMethod(Maximumdomdimsimples, "for a representation of a quiver", [IsList],0,function(L)
local A, R, i, list, temp;
list := L;
A := NakayamaAlgebra(GF(3),list);
R := SimpleModules(A);
temp := [];
for i in R do Append(temp,[DominantDimensionOfModule(i,100)]);
od;
return(Maximum(temp));
end
);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
return ZZ(gap.Maximumdomdimsimples(K))
Created
Oct 30, 2017 at 22:08 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:37 by Nupur Jain
Identifier
St001023:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>4
[1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>5
[1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>6
[1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>5
[1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>6
[1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>7
[1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>7
[1,0,1,0,1,0,1,1,0,1,0,0,1,0]=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0,1,0,0]=>9
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>9
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>8
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>9
Description
The number of simple modules with projective dimension at most three in the linear Nakayama algebra corresponding to a Dyck path.
See St001007The number of simple modules with projective dimension one in the linear Nakayama algebra corresponding to a Dyck path., St001011The number of simple modules with projective dimension two in the linear Nakayama algebra corresponding to a Dyck path., and St001022The number of simple modules with projective dimension three in the linear Nakayama algebra corresponding to a Dyck path. for the number of simple modules with projective dimension one, two, and three respectively.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
See St001007The number of simple modules with projective dimension one in the linear Nakayama algebra corresponding to a Dyck path., St001011The number of simple modules with projective dimension two in the linear Nakayama algebra corresponding to a Dyck path., and St001022The number of simple modules with projective dimension three in the linear Nakayama algebra corresponding to a Dyck path. for the number of simple modules with projective dimension one, two, and three respectively.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("numberssimpprojdimatmost3", [IsList]);
InstallMethod(numberssimpprojdimatmost3, "for a representation of a quiver", [IsList],0,function(L)
local A, R, RR, list;
list := L;
A := NakayamaAlgebra(GF(3),list);
R := SimpleModules(A);
RR := Filtered(R,x->ProjDimensionOfModule(x,3)<=3);
return(Size(RR));
end
);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
return ZZ(gap.numberssimpprojdimatmost3(K))
Created
Oct 30, 2017 at 21:48 by Rene Marczinzik
Updated
Mar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,0,1,1,1,1,0,0,0,1,0,1,1,0,0,0]=>1
[1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>3
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>3
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>2
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>2
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>2
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>2
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>2
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>1
Description
The sum of the differences between the projective and codominant dimensions of the non-projective indecomposable injective modules of the linear Nakayama algebra corresponding to a Dyck path.
The sum of the codominant dimensions of the non-projective indecomposable injective modules of the linear Nakayama algebra corresponding to a Dyck path is given by St001020The sum of the codominant dimensions of the non-projective indecomposable injective modules of the linear Nakayama algebra corresponding to a Dyck path..
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
The sum of the codominant dimensions of the non-projective indecomposable injective modules of the linear Nakayama algebra corresponding to a Dyck path is given by St001020The sum of the codominant dimensions of the non-projective indecomposable injective modules of the linear Nakayama algebra corresponding to a Dyck path..
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("difference", [IsList]);
InstallMethod(difference, "for a representation of a quiver", [IsList],0,function(L)
local A, R, i, list, temp;
list := L;
A := NakayamaAlgebra(GF(3),list);
R := Filtered(IndecInjectiveModules(A),x->IsProjectiveModule(x)=false);
temp := [];
for i in R do Append(temp,[ProjDimensionOfModule(i,1000)-DominantDimensionOfModule(DualOfModule(i),1000)]);
od;
return(Sum(temp));
end
);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
return ZZ(gap.difference(K))
Created
Oct 30, 2017 at 11:10 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:18 by Nupur Jain
Identifier
St001020:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>8
[1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>8
[1,0,1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>8
[1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>8
[1,0,1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>8
[1,0,1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>8
[1,0,1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>8
[1,0,1,0,1,0,1,0,1,1,0,1,0,0,1,0]=>8
[1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,0]=>4
[1,0,1,0,1,0,1,0,1,1,0,1,1,0,0,0]=>8
[1,0,1,0,1,0,1,0,1,1,1,0,0,0,1,0]=>8
[1,0,1,0,1,0,1,0,1,1,1,0,0,1,0,0]=>8
[1,0,1,0,1,0,1,0,1,1,1,0,1,0,0,0]=>8
[1,0,1,0,1,0,1,0,1,1,1,1,0,0,0,0]=>8
[1,0,1,0,1,0,1,1,0,0,1,0,1,0,1,0]=>8
[1,0,1,0,1,0,1,1,0,0,1,0,1,1,0,0]=>8
[1,0,1,0,1,0,1,1,0,0,1,1,0,0,1,0]=>8
[1,0,1,0,1,0,1,1,0,0,1,1,0,1,0,0]=>8
[1,0,1,0,1,0,1,1,0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,0,1,0,0,0]=>8
[1,0,1,1,1,0,1,1,1,0,0,1,0,0,0,0]=>7
[1,0,1,1,1,0,1,1,1,0,1,0,0,0,0,0]=>7
[1,0,1,1,1,0,1,1,1,1,0,0,0,0,0,0]=>8
[1,0,1,1,1,1,0,0,0,0,1,0,1,0,1,0]=>8
[1,0,1,1,1,1,0,0,0,0,1,0,1,1,0,0]=>8
[1,0,1,1,1,1,0,0,0,0,1,1,0,0,1,0]=>8
[1,0,1,1,1,1,0,0,0,0,1,1,0,1,0,0]=>8
[1,0,1,1,1,1,0,0,0,0,1,1,1,0,0,0]=>8
[1,0,1,1,1,1,0,0,0,1,0,0,1,0,1,0]=>8
[1,0,1,1,1,1,0,0,0,1,0,0,1,1,0,0]=>8
[1,0,1,1,1,1,0,0,0,1,0,1,0,0,1,0]=>8
[1,0,1,1,1,1,0,0,0,1,0,1,0,1,0,0]=>9
[1,0,1,1,1,1,0,0,0,1,0,1,1,0,0,0]=>8
[1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,0]=>8
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>8
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>8
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>8
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>8
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>8
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>8
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>9
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>8
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>8
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>9
Description
The sum of the codominant dimensions of the non-projective indecomposable injective modules of the linear Nakayama algebra corresponding to a Dyck path.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("Sumcodomdimink", [IsList]);
InstallMethod(Sumcodomdimink, "for a representation of a quiver", [IsList],0,function(L)
local A, R, i, list, temp;
list := L;
A := NakayamaAlgebra(GF(3),list);
R := Filtered(IndecInjectiveModules(A),x->IsProjectiveModule(x)=false);
temp := [];
for i in R do Append(temp,[DominantDimensionOfModule(DualOfModule(i),1000)]);
od;
return(Sum(temp));
end
);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
return ZZ(gap.Sumcodomdimink(K))
Created
Oct 30, 2017 at 11:05 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:18 by Nupur Jain
Identifier
St001067:
Dyck paths
⟶ ℤ
(values match
St000932The number of occurrences of the pattern UDU in a Dyck path., St001223Number of indecomposable projective non-injective modules P such that the modules X and Y in a an Auslander-Reiten sequence ending at P are torsionless.)
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>7
[1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>6
[1,0,1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>5
[1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>6
[1,0,1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>5
[1,0,1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>5
[1,0,1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>4
[1,0,1,0,1,0,1,0,1,1,0,1,0,0,1,0]=>5
[1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,0]=>6
[1,0,1,0,1,0,1,0,1,1,0,1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,1,0,0,0,1,1,0,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>2
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>1
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>2
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>2
Description
The number of simple modules of dominant dimension at least two in the linear Nakayama algebra corresponding to a Dyck path.
The number of simple modules of dominant dimension at least three is given by St001163The number of simple modules of dominant dimension at least three in the linear Nakayama algebra corresponding to a Dyck path..
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
The number of simple modules of dominant dimension at least three is given by St001163The number of simple modules of dominant dimension at least three in the linear Nakayama algebra corresponding to a Dyck path..
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("NumberOfdomdim2SimpleModules",[IsList]);
InstallMethod(NumberOfdomdim2SimpleModules, "for a representation of a quiver", [IsList],0,function(LIST)
local A, L, U, simA;
L := LIST[1];
A := NakayamaAlgebra(L,GF(3));
simA := SimpleModules(A);
U := Filtered(simA,x->DominantDimensionOfModule(x,30)>=2);
return(Size(U));
end);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
return ZZ(gap.NumberOfdomdim2SimpleModules([K]))
Created
Dec 30, 2017 at 14:59 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:14 by Nupur Jain
Identifier
St001018:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,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
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>11
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>11
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>9
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>10
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>10
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>10
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>10
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>10
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>10
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>10
Description
The sum of the projective dimensions of the indecomposable injective modules of the linear Nakayama algebra corresponding to a Dyck path.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("Sumprojdiminj", [IsList]);
InstallMethod(Sumprojdiminj, "for a representation of a quiver", [IsList],0,function(L)
local A, R, i, list, temp;
list := L;
A := NakayamaAlgebra(GF(3),list);
R := IndecInjectiveModules(A);
temp := [];
for i in R do Append(temp,[ProjDimensionOfModule(i,1000)]);
od;
return(Sum(temp));
end
);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
return ZZ(gap.Sumprojdiminj(K))
Created
Oct 30, 2017 at 10:52 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:12 by Nupur Jain
Identifier
St001013:
Dyck paths
⟶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,1,1,0,0,0,1,1,0,0,0,1,0]=>3
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>1
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>0
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>2
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>0
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>2
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>0
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>0
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>2
Description
The number of indecomposable injective modules with codominant dimension equal to the global dimension in the linear Nakayama algebra corresponding to a Dyck path.
The global dimension is given by St000684The global dimension of the linear Nakayama algebra associated to a Dyck path..
The correspondence between linear Nakayama algebras and Dyck paths is also explained on the Nakayama algebras page.
The global dimension is given by St000684The global dimension of the linear Nakayama algebra associated to a Dyck path..
The correspondence between linear Nakayama algebras and Dyck paths is also explained on the Nakayama algebras page.
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("numbersinjcodomdimg", [IsList]);
InstallMethod(numbersinjcodomdimg, "for a representation of a quiver", [IsList],0,function(LIST)
local A, R, RR, g, list;
list := LIST[1];
A := NakayamaAlgebra(GF(3),list);
g := LIST[2];
R := IndecInjectiveModules(A);
RR := Filtered(R,x->DominantDimensionOfModule(DualOfModule(x),g)=g);
return(Size(RR));
end);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def gldim_from_kupisch(L):
n = len(L)
def f(x, y):
c = (x + y) % n
if c == 0: c = n
z = (x + 1) % n
if z == 0: z = n
return (c, L[z - 1] - y)
temp = [[(i, 1)] for i in range(n)]
for i in range(n):
for _ in range(2 * n + 2):
temp[i].append(f(temp[i][-1][0], temp[i][-1][1]))
temp3 = []
for i in range(n):
zeros = [j + 1 for j in range(len(temp[i])) if temp[i][j][1] == 0]
if zeros:
temp3.append(min(zeros))
else:
return "inf"
return max(temp3) - 2
def statistic(D):
K = kupisch(D)
g = gldim_from_kupisch(K)
return ZZ(gap.numbersinjcodomdimg([K, g]))
Created
Oct 29, 2017 at 17:38 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:12 by Nupur Jain
Identifier
St001010:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>0
[1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>0
[1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>0
[1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>0
[1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>0
[1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>1
[1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>0
[1,0,1,0,1,0,1,1,0,1,0,0,1,0]=>1
[1,0,1,0,1,0,1,1,0,1,0,1,0,0]=>0
[1,0,1,0,1,0,1,1,0,1,1,0,0,0]=>0
[1,0,1,0,1,0,1,1,1,0,0,0,1,0]=>0
[1,0,1,0,1,0,1,1,1,0,0,1,0,0]=>0
[1,0,1,0,1,0,1,1,1,0,1,0,0,0]=>0
[1,0,1,0,1,0,1,1,1,1,0,0,0,0]=>0
[1,0,1,0,1,1,0,0,1,0,1,0,1,0]=>1
[1,0,1,0,1,1,0,0,1,0,1,1,0,0]=>0
[1,0,1,0,1,1,0,0,1,1,0,0,1,0]=>2
[1,0,1,0,1,1,0,0,1,1,0,1,0,0]=>0
[1,0,1,0,1,1,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1,1,1,1,0,0,0,0,0,0]=>0
[1,0,1,1,1,1,0,0,0,0,1,0,1,0,1,0]=>0
[1,0,1,1,1,1,0,0,0,0,1,0,1,1,0,0]=>1
[1,0,1,1,1,1,0,0,0,0,1,1,0,0,1,0]=>2
[1,0,1,1,1,1,0,0,0,0,1,1,0,1,0,0]=>1
[1,0,1,1,1,1,0,0,0,0,1,1,1,0,0,0]=>4
[1,0,1,1,1,1,0,0,0,1,0,0,1,0,1,0]=>0
[1,0,1,1,1,1,0,0,0,1,0,0,1,1,0,0]=>2
[1,0,1,1,1,1,0,0,0,1,0,1,0,0,1,0]=>0
[1,0,1,1,1,1,0,0,0,1,0,1,0,1,0,0]=>1
[1,0,1,1,1,1,0,0,0,1,0,1,1,0,0,0]=>2
[1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>2
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>2
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>0
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>0
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>2
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>0
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>2
Description
The number of indecomposable injective modules with projective dimension equal to the global dimension minus one of the linear Nakayama algebra corresponding to a Dyck path.
The global dimension is given by St000684The global dimension of the linear Nakayama algebra associated to a Dyck path..
The correspondence between linear Nakayama algebras and Dyck paths is also explained on the Nakayama algebras page.
The global dimension is given by St000684The global dimension of the linear Nakayama algebra associated to a Dyck path..
The correspondence between linear Nakayama algebras and Dyck paths is also explained on the Nakayama algebras page.
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("numbersinjprojdimgminus", [IsList]);
InstallMethod(numbersinjprojdimgminus, "for a representation of a quiver", [IsList],0,function(LIST)
local A, R, RR, g, list;
list := LIST[1];
A := NakayamaAlgebra(GF(3),list);
g := LIST[2]-1;
R := IndecInjectiveModules(A);
RR := Filtered(R,x->ProjDimensionOfModule(x,g)=g);
return(Size(RR));
end);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def gldim_from_kupisch(L):
n = len(L)
def f(x, y):
c = (x + y) % n
if c == 0: c = n
z = (x + 1) % n
if z == 0: z = n
return (c, L[z - 1] - y)
temp = [[(i, 1)] for i in range(n)]
for i in range(n):
for _ in range(2 * n + 2):
temp[i].append(f(temp[i][-1][0], temp[i][-1][1]))
temp3 = []
for i in range(n):
zeros = [j + 1 for j in range(len(temp[i])) if temp[i][j][1] == 0]
if zeros:
temp3.append(min(zeros))
else:
return "inf"
return max(temp3) - 2
def statistic(D):
K = kupisch(D)
g = gldim_from_kupisch(K)
return ZZ(gap.numbersinjprojdimgminus([K, g]))
Created
Oct 29, 2017 at 16:47 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:12 by Nupur Jain
Identifier
St001009:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>1
[1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>1
[1,0,1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>1
[1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>2
[1,0,1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>1
[1,0,1,0,1,0,1,0,1,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1,0,0,0,1,1,0,0,1,0,0]=>2
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>2
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>2
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>1
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>2
Description
The number of indecomposable injective modules with projective dimension equal to the global dimension of the linear Nakayama algebra corresponding to a Dyck path.
The global dimension is given by St000684The global dimension of the linear Nakayama algebra associated to a Dyck path..
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
The global dimension is given by St000684The global dimension of the linear Nakayama algebra associated to a Dyck path..
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("numbersinjprojdimg", [IsList]);
InstallMethod(numbersinjprojdimg, "for a representation of a quiver", [IsList],0,function(LIST)
local A, R, RR, g, list;
list := LIST[1];
A := NakayamaAlgebra(GF(3),list);
g := LIST[2];
R := IndecInjectiveModules(A);
RR := Filtered(R,x->ProjDimensionOfModule(x,g)=g);
return(Size(RR));
end);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def gldim_from_kupisch(L):
n = len(L)
def f(x, y):
c = (x + y) % n
if c == 0: c = n
z = (x + 1) % n
if z == 0: z = n
return (c, L[z - 1] - y)
temp = [[(i, 1)] for i in range(n)]
for i in range(n):
for _ in range(2 * n + 2):
temp[i].append(f(temp[i][-1][0], temp[i][-1][1]))
temp3 = []
for i in range(n):
zeros = [j + 1 for j in range(len(temp[i])) if temp[i][j][1] == 0]
if zeros:
temp3.append(min(zeros))
else:
return "inf"
return max(temp3) - 2
def statistic(D):
K = kupisch(D)
g = gldim_from_kupisch(K)
return ZZ(gap.numbersinjprojdimg([K, g]))
Created
Oct 29, 2017 at 16:59 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:12 by Nupur Jain
Identifier
St001008:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>0
[1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>1
[1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>0
[1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>0
[1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>2
[1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>0
[1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>1
[1,0,1,0,1,0,1,1,0,1,0,0,1,0]=>0
[1,0,1,0,1,0,1,1,0,1,0,1,0,0]=>0
[1,0,1,0,1,0,1,1,0,1,1,0,0,0]=>1
[1,0,1,0,1,0,1,1,1,0,0,0,1,0]=>1
[1,0,1,0,1,0,1,1,1,0,0,1,0,0]=>0
[1,0,1,0,1,0,1,1,1,0,1,0,0,0]=>0
[1,0,1,0,1,0,1,1,1,1,0,0,0,0]=>3
[1,0,1,0,1,1,0,0,1,0,1,0,1,0]=>0
[1,0,1,0,1,1,0,0,1,0,1,1,0,0]=>1
[1,0,1,0,1,1,0,0,1,1,0,0,1,0]=>0
[1,0,1,0,1,1,0,0,1,1,0,1,0,0]=>0
[1,0,1,0,1,1,0,0,1,1,1,0,0,0]=>2
[1,0,1,0,1,1,0,1,0,0,1,0,1,0]=>0
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1,0]=>2
[1,0,1,1,1,1,0,0,0,0,1,0,1,1,0,0]=>3
[1,0,1,1,1,1,0,0,0,0,1,1,0,0,1,0]=>2
[1,0,1,1,1,1,0,0,0,0,1,1,0,1,0,0]=>2
[1,0,1,1,1,1,0,0,0,0,1,1,1,0,0,0]=>4
[1,0,1,1,1,1,0,0,0,1,0,0,1,0,1,0]=>1
[1,0,1,1,1,1,0,0,0,1,0,0,1,1,0,0]=>2
[1,0,1,1,1,1,0,0,0,1,0,1,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,0,1,0,1,0,1,0,0]=>1
[1,0,1,1,1,1,0,0,0,1,0,1,1,0,0,0]=>2
[1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>1
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>1
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>0
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>0
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>0
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>1
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>0
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>0
Description
The number of indecomposable injective modules with projective dimension one in the linear Nakayama algebra corresponding to a Dyck path.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("numbersinjprojdim1", [IsList]);
InstallMethod(numbersinjprojdim1, "for a representation of a quiver", [IsList],0,function(LIST)
local A, R, RR, g, list;
list := LIST[1];
A := NakayamaAlgebra(GF(3),list);
g := LIST[2];
R := IndecInjectiveModules(A);
RR := Filtered(R,x->ProjDimensionOfModule(x,1)=1);
return(Size(RR));
end);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def gldim_from_kupisch(L):
n = len(L)
def f(x, y):
c = (x + y) % n
if c == 0: c = n
z = (x + 1) % n
if z == 0: z = n
return (c, L[z - 1] - y)
temp = [[(i, 1)] for i in range(n)]
for i in range(n):
for _ in range(2 * n + 2):
temp[i].append(f(temp[i][-1][0], temp[i][-1][1]))
temp3 = []
for i in range(n):
zeros = [j + 1 for j in range(len(temp[i])) if temp[i][j][1] == 0]
if zeros:
temp3.append(min(zeros))
else:
return "inf"
return max(temp3) - 2
def statistic(D):
K = kupisch(D)
g = gldim_from_kupisch(K)
return ZZ(gap.numbersinjprojdim1([K, g]))
Created
Oct 29, 2017 at 16:41 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:12 by Nupur Jain
Identifier
St001006:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>1
[1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>1
[1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>1
[1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>1
[1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>1
[1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>1
[1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>1
[1,0,1,0,1,0,1,1,0,1,0,0,1,0]=>1
[1,0,1,0,1,0,1,1,0,1,0,1,0,0]=>1
[1,0,1,0,1,0,1,1,0,1,1,0,0,0]=>1
[1,0,1,0,1,0,1,1,1,0,0,0,1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1,1,0,0,1,0,1,0,0,1,0,0]=>2
Description
The number of simple modules with projective dimension equal to the global dimension of the linear Nakayama algebra corresponding to a Dyck path.
The global dimension is given by St000684The global dimension of the linear Nakayama algebra associated to a Dyck path..
The correspondence between linear Nakayama algebras and Dyck paths is also explained on the Nakayama algebras page.
The global dimension is given by St000684The global dimension of the linear Nakayama algebra associated to a Dyck path..
The correspondence between linear Nakayama algebras and Dyck paths is also explained on the Nakayama algebras page.
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("numberssimpprojdimg", [IsList]);
InstallMethod(numberssimpprojdimg, "for a representation of a quiver", [IsList],0,function(LIST)
local A, R, RR, g, list;
list := LIST[1];
A := NakayamaAlgebra(GF(3),list);
g := LIST[2];
R := SimpleModules(A);
RR := Filtered(R,x->ProjDimensionOfModule(x,g)=g);
return(Size(RR));
end);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def gldim_from_kupisch(L):
n = len(L)
def f(x, y):
c = (x + y) % n
if c == 0: c = n
z = (x + 1) % n
if z == 0: z = n
return (c, L[z - 1] - y)
temp = [[(i, 1)] for i in range(n)]
for i in range(n):
for _ in range(2 * n + 2):
temp[i].append(f(temp[i][-1][0], temp[i][-1][1]))
temp3 = []
for i in range(n):
zeros = [j + 1 for j in range(len(temp[i])) if temp[i][j][1] == 0]
if zeros:
temp3.append(min(zeros))
else:
return "inf"
return max(temp3) - 2
def statistic(D):
K = kupisch(D)
g = gldim_from_kupisch(K)
return ZZ(gap.numberssimpprojdimg([K, g]))
Created
Oct 29, 2017 at 17:10 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:11 by Nupur Jain
Identifier
St001003:
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,1,1,1,0,0,1,0,0,1,0,1,0,0]=>16
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>17
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>16
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>16
Description
The number of indecomposable modules with projective dimension at most one in the linear Nakayama algebra corresponding to a Dyck path.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("ARQuiver", [IsList]);
InstallMethod(ARQuiver, "for an algebra and bound", [IsList], 0, function(LIST)
local A, L, N, PI, bound, dim, f, h, inj, injA, j;
A := LIST[1];
bound := LIST[2];
injA := IndecInjectiveModules(A);
L := [];
for inj in injA do
dim := Dimension(inj);
for j in [0..dim-1] do
if j = 0 then
f := IdentityMapping(inj);
else
f := RadicalOfModuleInclusion(inj);
N := Source(f);
h := 1;
while h < j do
f := RadicalOfModuleInclusion(N);
N := Source(f);
h := h + 1;
od;
fi;
Add(L, Source(f));
od;
od;
PI := Filtered(L, x -> IsProjectiveModule(x) and IsInjectiveModule(x));
return [PI, L];
end);
DeclareOperation("numbersprojdim1", [IsList]);
InstallMethod(numbersprojdim1, "for a representation of a quiver", [IsList],0,function(L)
local A, LL, list;
list := L;
A := NakayamaAlgebra(GF(3),list);
L := ARQuiver([A,1000])[2];
LL := Filtered(L,x->ProjDimensionOfModule(x,1)<=1);
return(Size(LL));
end
);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
return ZZ(gap.num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[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>10
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>8
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>7
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>9
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>9
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>7
Description
The number of indecomposable modules with projective and injective dimension at most one in the linear Nakayama algebra corresponding to a Dyck path.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("ARQuiver", [IsList]);
InstallMethod(ARQuiver, "for an algebra and bound", [IsList], 0, function(LIST)
local A, L, N, PI, bound, dim, f, h, inj, injA, j;
A := LIST[1];
bound := LIST[2];
injA := IndecInjectiveModules(A);
L := [];
for inj in injA do
dim := Dimension(inj);
for j in [0..dim-1] do
if j = 0 then
f := IdentityMapping(inj);
else
f := RadicalOfModuleInclusion(inj);
N := Source(f);
h := 1;
while h < j do
f := RadicalOfModuleInclusion(N);
N := Source(f);
h := h + 1;
od;
fi;
Add(L, Source(f));
od;
od;
PI := Filtered(L, x -> IsProjectiveModule(x) and IsInjectiveModule(x));
return [PI, L];
end);
DeclareOperation("numbersprojinjdim1", [IsList]);
InstallMethod(numbersprojinjdim1, "for a representation of a quiver", [IsList],0,function(L)
local A, LL, list;
list := L;
A := NakayamaAlgebra(GF(3),list);
L := ARQuiver([A,1000])[2];
LL := Filtered(L,x->ProjDimensionOfModule(x,1)<=1 and InjDimensionOfModule(x,1)<=1);
return(Size(LL));
end
);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
return ZZ(gap.numbersprojinjdim1(K))
Created
Oct 27, 2017 at 20:49 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:11 by Nupur Jain
Identifier
St001001:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0]=>0
[1,0,1,0,1,0,1,0,1,1,0,0]=>0
[1,0,1,0,1,0,1,1,0,0,1,0]=>0
[1,0,1,0,1,0,1,1,0,1,0,0]=>0
[1,0,1,0,1,0,1,1,1,0,0,0]=>0
[1,0,1,0,1,1,0,0,1,0,1,0]=>1
[1,0,1,0,1,1,0,0,1,1,0,0]=>0
[1,0,1,0,1,1,0,1,0,0,1,0]=>0
[1,0,1,0,1,1,0,1,0,1,0,0]=>0
[1,0,1,0,1,1,0,1,1,0,0,0]=>0
[1,0,1,0,1,1,1,0,0,0,1,0]=>0
[1,0,1,0,1,1,1,0,0,1,0,0]=>0
[1,0,1,0,1,1,1,0,1,0,0,0]=>0
[1,0,1,0,1,1,1,1,0,0,0,0]=>0
[1,0,1,1,0,0,1,0,1,0,1,0]=>0
[1,0,1,1,0,0,1,0,1,1,0,0]=>0
[1,0,1,1,0,0,1,1,0,0,1,0]=>2
[1,0,1,1,0,0,1,1,0,1,0,0]=>0
[1,0,1,1,0,0,1,1,1,0,0,0]=>1
[1,0,1,1,0,1,0,0,1,0,1,0]=>0
[1,0,1,1,0,1,0,0,1,1,0,0]=>0
[1,0,1,1,0,1,0,1,0,0,1,0]=>0
[1,0,1,1,0,1,0,1,0,1,0,0]=>0
[1,0,1,1,0,1,0,1,1,0,0,0]=>0
[1,0,1,1,0,1,1,0,0,0,1,0]=>0
[1,0,1,1,0,1,1,0,0,1,0,0]=>0
[1,0,1,1,0,1,1,0,1,0,0,0]=>0
[1,0,1,1,0,1,1,1,0,0,0,0]=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,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>0
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>2
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>0
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>0
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>0
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>0
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>0
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>0
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>0
Description
The number of indecomposable modules with projective and injective dimension equal to the global dimension of the linear Nakayama algebra corresponding to a Dyck path.
The global dimension is given by St000684The global dimension of the linear Nakayama algebra associated to a Dyck path..
The correspondence between linear Nakayama algebras and Dyck paths is also explained on the Nakayama algebras page.
The global dimension is given by St000684The global dimension of the linear Nakayama algebra associated to a Dyck path..
The correspondence between linear Nakayama algebras and Dyck paths is also explained on the Nakayama algebras page.
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("ARQuiver", [IsList]);
InstallMethod(ARQuiver, "for an algebra and bound", [IsList], 0, function(LIST)
local A, L, N, PI, bound, dim, f, h, inj, injA, j;
A := LIST[1];
bound := LIST[2];
injA := IndecInjectiveModules(A);
L := [];
for inj in injA do
dim := Dimension(inj);
for j in [0..dim-1] do
if j = 0 then
f := IdentityMapping(inj);
else
f := RadicalOfModuleInclusion(inj);
N := Source(f);
h := 1;
while h < j do
f := RadicalOfModuleInclusion(N);
N := Source(f);
h := h + 1;
od;
fi;
Add(L, Source(f));
od;
od;
PI := Filtered(L, x -> IsProjectiveModule(x) and IsInjectiveModule(x));
return [PI, L];
end);
DeclareOperation("numbersprojinjdimg", [IsList]);
InstallMethod(numbersprojinjdimg, "for a representation of a quiver", [IsList],0,function(LIST)
local A, L, LL, g, list;
list := LIST[1];
g := LIST[2];
A := NakayamaAlgebra(GF(3),list);
L := ARQuiver([A,1000])[2];
LL := Filtered(L,x->ProjDimensionOfModule(x,g)=g and InjDimensionOfModule(x,g)=g);
return(Size(LL));
end);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def gldim_from_kupisch(L):
n = len(L)
def f(x, y):
c = (x + y) % n
if c == 0: c = n
z = (x + 1) % n
if z == 0: z = n
return (c, L[z - 1] - y)
temp = [[(i, 1)] for i in range(n)]
for i in range(n):
for _ in range(2 * n + 2):
temp[i].append(f(temp[i][-1][0], temp[i][-1][1]))
temp3 = []
for i in range(n):
zeros = [j + 1 for j in range(len(temp[i])) if temp[i][j][1] == 0]
if zeros:
temp3.append(min(zeros))
else:
return "inf"
return max(temp3) - 2
def statistic(D):
K = kupisch(D)
g = gldim_from_kupisch(K)
return ZZ(gap.numbersprojinjdimg([K, g]))
Created
Oct 27, 2017 at 21:10 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:11 by Nupur Jain
Identifier
St001000:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0]=>1
[1,0,1,0,1,0,1,0,1,1,0,0]=>2
[1,0,1,0,1,0,1,1,0,0,1,0]=>2
[1,0,1,0,1,0,1,1,0,1,0,0]=>2
[1,0,1,0,1,0,1,1,1,0,0,0]=>3
[1,0,1,0,1,1,0,0,1,0,1,0]=>3
[1,0,1,0,1,1,0,0,1,1,0,0]=>2
[1,0,1,0,1,1,0,1,0,0,1,0]=>1
[1,0,1,0,1,1,0,1,0,1,0,0]=>1
[1,0,1,0,1,1,0,1,1,0,0,0]=>4
[1,0,1,0,1,1,1,0,0,0,1,0]=>3
[1,0,1,0,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,0,1,1,1,0,1,1,1,1,0,0,0,0,0,0]=>12
[1,0,1,1,1,1,0,0,0,0,1,0,1,0,1,0]=>1
[1,0,1,1,1,1,0,0,0,0,1,0,1,1,0,0]=>2
[1,0,1,1,1,1,0,0,0,0,1,1,0,0,1,0]=>7
[1,0,1,1,1,1,0,0,0,0,1,1,0,1,0,0]=>2
[1,0,1,1,1,1,0,0,0,0,1,1,1,0,0,0]=>7
[1,0,1,1,1,1,0,0,0,1,0,0,1,0,1,0]=>1
[1,0,1,1,1,1,0,0,0,1,0,0,1,1,0,0]=>2
[1,0,1,1,1,1,0,0,0,1,0,1,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,0,1,0,1,0,1,0,0]=>3
[1,0,1,1,1,1,0,0,0,1,0,1,1,0,0,0]=>2
[1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,0]=>9
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>2
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>2
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>10
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>2
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>2
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>3
Description
The number of indecomposable modules with projective dimension equal to the global dimension in the linear Nakayama algebra corresponding to a Dyck path.
The global dimension is St000684The global dimension of the linear Nakayama algebra associated to a Dyck path..
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
The global dimension is St000684The global dimension of the linear Nakayama algebra associated to a Dyck path..
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("ARQuiver", [IsList]);
InstallMethod(ARQuiver, "for an algebra and bound", [IsList], 0, function(LIST)
local A, L, N, PI, bound, dim, f, h, inj, injA, j;
A := LIST[1];
bound := LIST[2];
injA := IndecInjectiveModules(A);
L := [];
for inj in injA do
dim := Dimension(inj);
for j in [0..dim-1] do
if j = 0 then
f := IdentityMapping(inj);
else
f := RadicalOfModuleInclusion(inj);
N := Source(f);
h := 1;
while h < j do
f := RadicalOfModuleInclusion(N);
N := Source(f);
h := h + 1;
od;
fi;
Add(L, Source(f));
od;
od;
PI := Filtered(L, x -> IsProjectiveModule(x) and IsInjectiveModule(x));
return [PI, L];
end);
DeclareOperation("numbersprojdimg", [IsList]);
InstallMethod(numbersprojdimg, "for a representation of a quiver", [IsList],0,function(LIST)
local A, L, LL, g, list;
list := LIST[1];
g := LIST[2];
A := NakayamaAlgebra(GF(3),list);
L := ARQuiver([A,1000])[2];
LL := Filtered(L,x->ProjDimensionOfModule(x,g)=g);
return(Size(LL));
end);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def gldim_from_kupisch(L):
n = len(L)
def f(x, y):
c = (x + y) % n
if c == 0: c = n
z = (x + 1) % n
if z == 0: z = n
return (c, L[z - 1] - y)
temp = [[(i, 1)] for i in range(n)]
for i in range(n):
for _ in range(2 * n + 2):
temp[i].append(f(temp[i][-1][0], temp[i][-1][1]))
temp3 = []
for i in range(n):
zeros = [j + 1 for j in range(len(temp[i])) if temp[i][j][1] == 0]
if zeros:
temp3.append(min(zeros))
else:
return "inf"
return max(temp3) - 2
def statistic(D):
K = kupisch(D)
g = gldim_from_kupisch(K)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,0,0,1,0,1,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,0,1,0,1,0,1,0,0]=>2
[1,0,1,1,1,1,0,0,0,1,0,1,1,0,0,0]=>1
[1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,0]=>4
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>2
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>1
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>2
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>2
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>3
Description
The number of indecomposable projective modules with injective dimension equal to the global dimension in the linear Nakayama algebra corresponding to a Dyck path.
The global dimension is St000684The global dimension of the linear Nakayama algebra associated to a Dyck path..
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
The global dimension is St000684The global dimension of the linear Nakayama algebra associated to a Dyck path..
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("numbersprojinjdimgsmall", [IsList]);
InstallMethod(numbersprojinjdimgsmall, "for a representation of a quiver", [IsList],0,function(LIST)
local A, R, RR, g, list;
list := LIST[1];
A := NakayamaAlgebra(GF(3),list);
g := LIST[2];
R := IndecProjectiveModules(A);
RR := Filtered(R,x->InjDimensionOfModule(x,g)=g);
return(Size(RR));
end);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def gldim_from_kupisch(L):
n = len(L)
def f(x, y):
c = (x + y) % n
if c == 0: c = n
z = (x + 1) % n
if z == 0: z = n
return (c, L[z - 1] - y)
temp = [[(i, 1)] for i in range(n)]
for i in range(n):
for _ in range(2 * n + 2):
temp[i].append(f(temp[i][-1][0], temp[i][-1][1]))
temp3 = []
for i in range(n):
zeros = [j + 1 for j in range(len(temp[i])) if temp[i][j][1] == 0]
if zeros:
temp3.append(min(zeros))
else:
return "inf"
return max(temp3) - 2
def statistic(D):
K = kupisch(D)
g = gldim_from_kupisch(K)
return ZZ(gap.numbersprojinjdimgsmall([K, g]))
Created
Oct 27, 2017 at 21:22 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:11 by Nupur Jain
Identifier
St000998:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>9
[1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>9
[1,0,1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>9
[1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>8
[1,0,1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>9
[1,0,1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>9
[1,0,1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>9
[1,0,1,0,1,0,1,0,1,1,0,1,0,0,1,0]=>8
[1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,0]=>8
[1,0,1,0,1,0,1,0,1,1,0,1,1,0,0,0]=>8
[1,0,1,0,1,0,1,0,1,1,1,0,0,0,1,0]=>9
[1,0,1,0,1,0,1,0,1,1,1,0,0,1,0,0]=>8
[1,0,1,0,1,0,1,0,1,1,1,0,1,0,0,0]=>7
[1,0,1,0,1,0,1,0,1,1,1,1,0,0,0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,0,0,0,1,0]=>7
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>8
Description
The number of indecomposable projective modules with injective dimension less than or equal to the dominant dimension in the linear Nakayama algebra corresponding to a Dyck path.
The dominant dimension is St000685The dominant dimension of the linear Nakayama algebra corresponding to a Dyck path..
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
The dominant dimension is St000685The dominant dimension of the linear Nakayama algebra corresponding to a Dyck path..
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("numbersprojinjequaldomdim", [IsList]);
InstallMethod(numbersprojinjequaldomdim, "for a representation of a quiver", [IsList],0,function(LIST)
local A, R, RR, g, list;
list := LIST[1];
A := NakayamaAlgebra(GF(3),list);
g := LIST[2];
R := IndecProjectiveModules(A);
RR := Filtered(R,x->InjDimensionOfModule(x,g)<=DominantDimensionOfModule(x,g));
return(Size(RR));
end);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def gldim_from_kupisch(L):
n = len(L)
def f(x, y):
c = (x + y) % n
if c == 0: c = n
z = (x + 1) % n
if z == 0: z = n
return (c, L[z - 1] - y)
temp = [[(i, 1)] for i in range(n)]
for i in range(n):
for _ in range(2 * n + 2):
temp[i].append(f(temp[i][-1][0], temp[i][-1][1]))
temp3 = []
for i in range(n):
zeros = [j + 1 for j in range(len(temp[i])) if temp[i][j][1] == 0]
if zeros:
temp3.append(min(zeros))
else:
return "inf"
return max(temp3) - 2
def statistic(D):
K = kupisch(D)
g = gldim_from_kupisch(K)
return ZZ(gap.numbersprojinjequaldomdim([K, g]))
Created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,1,0,0,0,0,1,1,0,1,0,0]=>3
[1,0,1,1,1,1,0,0,0,0,1,1,1,0,0,0]=>2
[1,0,1,1,1,1,0,0,0,1,0,0,1,0,1,0]=>4
[1,0,1,1,1,1,0,0,0,1,0,0,1,1,0,0]=>3
[1,0,1,1,1,1,0,0,0,1,0,1,0,0,1,0]=>4
[1,0,1,1,1,1,0,0,0,1,0,1,0,1,0,0]=>4
[1,0,1,1,1,1,0,0,0,1,0,1,1,0,0,0]=>3
[1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,0]=>3
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>3
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>3
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>2
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>4
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>4
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>4
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>4
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>4
Description
The number of peaks of a Dyck path minus the dominant dimension of the corresponding linear Nakayama algebra.
The dominant dimension is St000685The dominant dimension of the linear Nakayama algebra corresponding to a Dyck path..
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
The dominant dimension is St000685The dominant dimension of the linear Nakayama algebra corresponding to a Dyck path..
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
Code
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def proj_to_inj_nak(L):
"""ProjToInjNak: for each j, collect all k in L where k >= L[(j-k) mod n], take minimum."""
n = len(L)
Liste_d = []
for j in range(1, n + 1):
candidates = []
for k in L:
r = (j - k) % n
if r == 0: r = n
if k >= L[r - 1]:
candidates.append(k)
Liste_d.append(min(candidates))
return Liste_d
def domdim_from_kupisch(L):
"""Dominant dimension of LNakayama algebra from Kupisch series."""
n = len(L)
Liste_d = proj_to_inj_nak(L)
List1 = set()
for i in range(1, n + 1):
r = i % n
if r == 0: r = n
s = (i + 1) % n
if s == 0: s = n
if Liste_d[s - 1] <= Liste_d[r - 1]:
List1.add(i - 1)
List2 = set()
for i in range(1, n + 1):
r = i % n
if r == 0: r = n
s = (i - 1) % n
if s == 0: s = n
if L[s - 1] <= L[r - 1]:
List2.add(i - 1)
List_not_in_List2 = [i for i in range(n) if i not in List2]
if not List_not_in_List2:
return n
List_for_dom = []
for j in List_not_in_List2:
List_for_dom.append([(j + L[j] - 1, L[j])])
def f(x, y):
c = (x - y) % n
if c == 0: c = n
z = (x + 1) % n
if z == 0: z = n
return (c, Liste_d[z - 1] - y)
for r_idx in range(len(List_for_dom)):
while True:
last = List_for_dom[r_idx][-1]
result = f(last[0], last[1])
if result[0] % n in List1:
List_for_dom[r_idx].append(result)
else:
break
temp2 = [len(lst) for lst in List_for_dom]
return min(temp2)
def statistic(D):
d = domdim_from_kupisch(kupisch(D))
return D.number_of_peaks() - d
Created
Sep 03, 2017 at 16:33 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:11 by Nupur Jain
Identifier
St000969:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>9
[1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>8
[1,0,1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>7
[1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>8
[1,0,1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>7
[1,0,1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>6
[1,0,1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>6
[1,0,1,0,1,0,1,0,1,1,0,1,0,0,1,0]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0,0,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>4
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>4
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>4
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>3
Description
The global dimension of the cyclic Nakayama algebra obtained from the linear Nakayama algebra corresponding to a Dyck path.
We make a cyclic Nakayama algebra out of the linear Nakayama algebra (corresponding to the Dyck path) with Kupisch series $[c_0,c_1,\ldots,c_{n-1}]$ by adding $c_0$ to $c_{n-1}$. Then we calculate the global dimension of that cyclic Nakayama algebra.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
We make a cyclic Nakayama algebra out of the linear Nakayama algebra (corresponding to the Dyck path) with Kupisch series $[c_0,c_1,\ldots,c_{n-1}]$ by adding $c_0$ to $c_{n-1}$. Then we calculate the global dimension of that cyclic Nakayama algebra.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
Code
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def lnak_to_cnak(L):
"""Convert LNakayama Kupisch series to CNakayama: set last entry to first + 1."""
K = list(L)
K[-1] = K[0] + 1
return K
def gldim_from_kupisch(L):
n = len(L)
def f(x, y):
c = (x + y) % n
if c == 0: c = n
z = (x + 1) % n
if z == 0: z = n
return (c, L[z - 1] - y)
temp = [[(i, 1)] for i in range(n)]
for i in range(n):
for _ in range(2 * n + 2):
temp[i].append(f(temp[i][-1][0], temp[i][-1][1]))
temp3 = []
for i in range(n):
zeros = [j + 1 for j in range(len(temp[i])) if temp[i][j][1] == 0]
if zeros:
temp3.append(min(zeros))
else:
return "inf"
return max(temp3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]=>1
[1,0,1,1,1,1,0,0,0,1,0,1,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,0,1,0,1,0,1,0,0]=>1
[1,0,1,1,1,1,0,0,0,1,0,1,1,0,0,0]=>1
[1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>1
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>1
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>1
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>1
Description
The dominant dimension of the cyclic Nakayama algebra obtained from the linear Nakayama algebra corresponding to a Dyck path.
We make a cyclic Nakayama algebra out of the linear Nakayama algebra (corresponding to the Dyck path) with Kupisch series $[c_0,c_1,\ldots,c_{n-1}]$ by adding $c_0$ to $c_{n-1}$. Then we calculate the dominant dimension of that cyclic Nakayama algebra.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
We make a cyclic Nakayama algebra out of the linear Nakayama algebra (corresponding to the Dyck path) with Kupisch series $[c_0,c_1,\ldots,c_{n-1}]$ by adding $c_0$ to $c_{n-1}$. Then we calculate the dominant dimension of that cyclic Nakayama algebra.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
Code
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def proj_to_inj_nak(L):
"""ProjToInjNak: for each j, collect all k in L where k >= L[(j-k) mod n], take minimum."""
n = len(L)
Liste_d = []
for j in range(1, n + 1):
candidates = []
for k in L:
r = (j - k) % n
if r == 0: r = n
if k >= L[r - 1]:
candidates.append(k)
Liste_d.append(min(candidates))
return Liste_d
def domdim_from_kupisch(L):
"""Dominant dimension of LNakayama algebra from Kupisch series."""
n = len(L)
Liste_d = proj_to_inj_nak(L)
List1 = set()
for i in range(1, n + 1):
r = i % n
if r == 0: r = n
s = (i + 1) % n
if s == 0: s = n
if Liste_d[s - 1] <= Liste_d[r - 1]:
List1.add(i - 1)
List2 = set()
for i in range(1, n + 1):
r = i % n
if r == 0: r = n
s = (i - 1) % n
if s == 0: s = n
if L[s - 1] <= L[r - 1]:
List2.add(i - 1)
List_not_in_List2 = [i for i in range(n) if i not in List2]
if not List_not_in_List2:
return n
List_for_dom = []
for j in List_not_in_List2:
List_for_dom.append([(j + L[j] - 1, L[j])])
def f(x, y):
c = (x - y) % n
if c == 0: c = n
z = (x + 1) % n
if z == 0: z = n
return (c, Liste_d[z - 1] - y)
for r_idx in range(len(List_for_dom)):
while True:
last = List_for_dom[r_idx][-1]
result = f(last[0], last[1])
if result[0] % n in List1:
List_for_dom[r_idx].append(result)
else:
break
temp2 = [len(lst) for lst in List_for_dom]
return min(temp2)
def lnak_to_cnak(L):
K = list(L)
K[-1] = K[0] + 1
return K
def statistic(D):
return domdim_from_kupisch(lnak_to_cnak(kupisch(D)))
Created
Sep 03, 2017 at 15:08 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:11 by Nupur Jain
Identifier
St000967:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>9
[1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>9
[1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>9
[1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>4
[1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>9
[1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>9
[1,0,1,0,1,0,1,1,0,0,1,1,0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[1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,0]=>-2
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>-12
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>0
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>-2
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>-8
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>-8
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>0
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>-2
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>0
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>0
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>-6
Description
The value $p(1)$ for the Coxeter polynomial $p$ of the linear Nakayama algebra corresponding to a Dyck path.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
References
[1] de la Peña, José A. Algebras whose Coxeter polynomials are products of cyclotomic polynomials MathSciNet:3254775 DOI:10.1007/s10468-013-9424-0
Code
gap('LoadPackage("QPA");')
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
A = gap.NakayamaAlgebra(K, gap.GF(3))
p = gap.CoxeterPolynomial(A)
return ZZ(gap.Value(p, 1))
Created
Sep 03, 2017 at 14:16 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:11 by Nupur Jain
Identifier
St000966:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>0
[1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>0
[1,0,1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>1
[1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>0
[1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0]=>1
[1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,0]=>2
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>1
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>1
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>2
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>1
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>2
Description
The number of peaks of a Dyck path minus the global dimension of the corresponding linear Nakayama algebra.
The global dimension is St000684The global dimension of the linear Nakayama algebra associated to a Dyck path.. The correspondence between linear Nakayama algebras and Dyck paths is also explained on the Nakayama algebras page.
The global dimension is St000684The global dimension of the linear Nakayama algebra associated to a Dyck path.. The correspondence between linear Nakayama algebras and Dyck paths is also explained on the Nakayama algebras page.
Code
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def gldim_from_kupisch(L):
n = len(L)
def f(x, y):
c = (x + y) % n
if c == 0: c = n
z = (x + 1) % n
if z == 0: z = n
return (c, L[z - 1] - y)
temp = [[(i, 1)] for i in range(n)]
for i in range(n):
for _ in range(2 * n + 2):
temp[i].append(f(temp[i][-1][0], temp[i][-1][1]))
temp3 = []
for i in range(n):
zeros = [j + 1 for j in range(len(temp[i])) if temp[i][j][1] == 0]
if zeros:
temp3.append(min(zeros))
else:
return "inf"
return max(temp3) - 2
def statistic(D):
g = gldim_from_kupisch(kupisch(D))
if g == "inf":
return "inf"
return D.number_of_peaks() - g
Created
Sep 03, 2017 at 14:25 by Rene Marczinzik
Updated
Mar 13, 2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1,1,1,0,0,0,1,0,1,1,0,0,0]=>1
[1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,0]=>5
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>4
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>2
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>4
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>2
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>4
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>2
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>5
Description
The dimension of $\operatorname{Ext}^g(D(A),A)$ for the linear Nakayama algebra corresponding to a Dyck path, where $g$ is the global dimension of that algebra.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
Code
gap('LoadPackage("QPA");')
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def gldim_from_kupisch(L):
n = len(L)
def f(x, y):
c = (x + y) % n
if c == 0: c = n
z = (x + 1) % n
if z == 0: z = n
return (c, L[z - 1] - y)
temp = [[(i, 1)] for i in range(n)]
for i in range(n):
for _ in range(2 * n + 2):
temp[i].append(f(temp[i][-1][0], temp[i][-1][1]))
temp3 = []
for i in range(n):
zeros = [j + 1 for j in range(len(temp[i])) if temp[i][j][1] == 0]
if zeros:
temp3.append(min(zeros))
else:
return "inf"
return max(temp3) - 2
def statistic(D):
K = kupisch(D)
g = gldim_from_kupisch(K)
if g == "inf":
return Infinity
A = gap.NakayamaAlgebra(K, gap.GF(3))
projA = gap.IndecProjectiveModules(A)
RegA = gap.DirectSumOfQPAModules(projA)
injA = gap.IndecInjectiveModules(A)
CoRegA = gap.DirectSumOfQPAModules(injA)
t = gap.Size(gap.ExtOverAlgebra(gap.NthSyzygy(CoRegA, g - 1), RegA)[2])
return ZZ(t)
Created
Aug 31, 2017 at 11:02 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:11 by Nupur Jain
Identifier
St000955:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>1
[1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>2
[1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>3
[1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>2
[1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>2
[1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>3
[1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>3
[1,0,1,0,1,0,1,1,0,1,0,0,1,0]=>3
[1,0,1,0,1,0,1,1,0,1,0,1,0,0]=>2
[1,0,1,0,1,0,1,1,0,1,1,0,0,0]=>3
[1,0,1,0,1,0,1,1,1,0,0,0,1,0]=>3
[1,0,1,0,1,0,1,1,1,0,0,1,0,0]=>3
[1,0,1,0,1,0,1,1,1,0,1,0,0,0]=>2
[1,0,1,0,1,0,1,1,1,1,0,0,0,0]=>2
[1,0,1,0,1,1,0,0,1,0,1,0,1,0]=>3
[1,0,1,0,1,1,0,0,1,0,1,1,0,0]=>2
[1,0,1,0,1,1,0,0,1,1,0,0,1,0]=>3
[1,0,1,0,1,1,0,0,1,1,0,1,0,0]=>3
[1,0,1,0,1,1,0,0,1,1,1,0,0,0]=>3
[1,0,1,0,1,1,0,1,0,0,1,0,1,0]=>2
[1,0,1,0,1,1,0,1,0,0,1,1,0,0]=>4
[1,0,1,0,1,1,0,1,0,1,0,0,1,0]=>2
[1,0,1,0,1,1,0,1,0,1,0,1,0,0]=>2
[1,0,1,0,1,1,0,1,0,1,1,0,0,0]=>3
[1,0,1,0,1,1,0,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,0,0]=>2
[1,0,1,1,1,1,0,0,0,1,0,0,1,0,1,0]=>3
[1,0,1,1,1,1,0,0,0,1,0,0,1,1,0,0]=>3
[1,0,1,1,1,1,0,0,0,1,0,1,0,0,1,0]=>3
[1,0,1,1,1,1,0,0,0,1,0,1,0,1,0,0]=>3
[1,0,1,1,1,1,0,0,0,1,0,1,1,0,0,0]=>3
[1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,0]=>2
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>3
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>3
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>2
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>3
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>3
Description
The number of integers $i > 0$ such that $\operatorname{Ext}^i(D(A),A) > 0$ for the linear Nakayama algebra corresponding to a Dyck path.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("TimesExtNotVan",[IsList]);
InstallMethod(TimesExtNotVan, "for a representation of a quiver", [IsList],0,function(LIST)
local A, CoRegA, RegA, U, UU, g, i, injA, projA, r, temp, u;
u := LIST[1];
A := NakayamaAlgebra(GF(3),u);
g := GlobalDimensionOfAlgebra(A,30);
r := g-1;
projA := IndecProjectiveModules(A);
RegA := DirectSumOfQPAModules(projA);
injA := IndecInjectiveModules(A);
CoRegA := DirectSumOfQPAModules(injA);
temp := [];
for i in [0..r] do Append(temp,[Size(ExtOverAlgebra(NthSyzygy(CoRegA,i),RegA)[2])]);
od;
U := [1..g];
UU := Filtered(U,x->temp[x]>0);
return(Size(UU));
end);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
return ZZ(gap.TimesExtNotVan([K]))
Created
Aug 25, 2017 at 21:21 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:11 by Nupur Jain
Identifier
St000954:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>6
[1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>4
[1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>2
[1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>4
[1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>3
[1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>1
[1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>1
[1,0,1,0,1,0,1,1,0,1,0,0,1,0]=>3
[1,0,1,0,1,0,1,1,0,1,0,1,0,0]=>4
[1,0,1,0,1,0,1,1,0,1,1,0,0,0]=>2
[1,0,1,0,1,0,1,1,1,0,0,0,1,0]=>1
[1,0,1,0,1,0,1,1,1,0,0,1,0,0]=>1
[1,0,1,0,1,0,1,1,1,0,1,0,0,0]=>3
[1,0,1,0,1,0,1,1,1,1,0,0,0,0]=>2
[1,0,1,0,1,1,0,0,1,0,1,0,1,0]=>1
[1,0,1,0,1,1,0,0,1,0,1,1,0,0]=>1
[1,0,1,0,1,1,0,0,1,1,0,0,1,0]=>0
[1,0,1,0,1,1,0,0,1,1,0,1,0,0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]=>2
[1,0,1,1,1,0,1,1,1,1,0,0,0,0,0,0]=>0
[1,0,1,1,1,1,0,0,0,0,1,0,1,0,1,0]=>1
[1,0,1,1,1,1,0,0,0,0,1,0,1,1,0,0]=>0
[1,0,1,1,1,1,0,0,0,0,1,1,0,0,1,0]=>0
[1,0,1,1,1,1,0,0,0,0,1,1,0,1,0,0]=>0
[1,0,1,1,1,1,0,0,0,0,1,1,1,0,0,0]=>0
[1,0,1,1,1,1,0,0,0,1,0,0,1,0,1,0]=>1
[1,0,1,1,1,1,0,0,0,1,0,0,1,1,0,0]=>0
[1,0,1,1,1,1,0,0,0,1,0,1,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,0,1,0,1,0,1,0,0]=>0
[1,0,1,1,1,1,0,0,0,1,0,1,1,0,0,0]=>0
[1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,0]=>0
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>0
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>0
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>0
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>0
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>0
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>0
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>0
Description
The number of integers $i > 0$ such that $\operatorname{Ext}^i(D(A),A)=0$ for the linear Nakayama algebra corresponding to a Dyck path.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("TimesExtVan",[IsList]);
InstallMethod(TimesExtVan, "for a representation of a quiver", [IsList],0,function(LIST)
local A, CoRegA, RegA, U, UU, g, i, injA, projA, r, temp, u;
u := LIST[1];
A := NakayamaAlgebra(GF(3),u);
g := GlobalDimensionOfAlgebra(A,30);
r := g-1;
projA := IndecProjectiveModules(A);
RegA := DirectSumOfQPAModules(projA);
injA := IndecInjectiveModules(A);
CoRegA := DirectSumOfQPAModules(injA);
temp := [];
for i in [0..r] do Append(temp,[Size(ExtOverAlgebra(NthSyzygy(CoRegA,i),RegA)[2])]);
od;
U := [1..g];
UU := Filtered(U,x->temp[x]=0);
return(Size(UU));
end);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
return ZZ(gap.TimesExtVan([K]))
Created
Aug 25, 2017 at 21:14 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:11 by Nupur Jain
Identifier
St000953:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>6
[1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>6
[1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>6
[1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>6
[1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>6
[1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>6
[1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>6
[1,0,1,0,1,0,1,1,0,1,0,0,1,0]=>8
[1,0,1,0,1,0,1,1,0,1,0,1,0,0]=>6
[1,0,1,0,1,0,1,1,0,1,1,0,0,0]=>8
[1,0,1,0,1,0,1,1,1,0,0,0,1,0]=>6
[1,0,1,0,1,0,1,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0]=>6
Description
The largest degree of an irreducible factor over $\mathbb{Q}$ of the Coxeter polynomial of the linear Nakayama algebra corresponding to a Dyck path.
Here, the Coxeter polynomial of a Dyck path is defined to be the Coxeter polynomial of its corresponding linear Nakayama algebra.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
Here, the Coxeter polynomial of a Dyck path is defined to be the Coxeter polynomial of its corresponding linear Nakayama algebra.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
References
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("MaxDegree",[IsList]);
InstallMethod(MaxDegree, "for a representation of a quiver", [IsList],0,function(LIST)
local A, F, i, p, t, temp, u;
u := LIST[1];
A := NakayamaAlgebra(GF(3),u);
p := CoxeterPolynomial(A);
F := Factors(p);
temp := [];
for i in F do Append(temp,[Degree(i)]);
od;
t := Maximum(temp);
return(t);
end);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
return ZZ(gap.MaxDegree([K]))
Created
Aug 25, 2017 at 15:33 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:11 by Nupur Jain
Identifier
St000952:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>2
[1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>2
[1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>2
[1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>3
[1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>2
[1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>2
[1,0,1,0,1,0,1,1,0,0,1,1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1,0,0,1,0]=>5
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>2
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>5
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>5
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>3
Description
The number of irreducible factors over $\mathbb{Q}$ of the Coxeter polynomial of the linear Nakayama algebra corresponding to a Dyck path.
Here, the Coxeter polynomial of a Dyck path is defined to be the Coxeter polynomial of its corresponding linear Nakayama algebra.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
Here, the Coxeter polynomial of a Dyck path is defined to be the Coxeter polynomial of its corresponding linear Nakayama algebra.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
References
Code
gap('LoadPackage("QPA");')
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
A = gap.NakayamaAlgebra(K, gap.GF(3))
p = gap.CoxeterPolynomial(A)
return ZZ(gap.Size(gap.Factors(p)))
Created
Aug 25, 2017 at 15:13 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:08 by Nupur Jain
Identifier
St000930:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>7
[1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>6
[1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>5
[1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>1
[1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>5
[1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>4
[1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>4
[1,0,1,0,1,0,1,1,0,1,0,0,1,0]=>1
[1,0,1,0,1,0,1,1,0,1,0,1,0,0]=>6
[1,0,1,0,1,0,1,1,0,1,1,0,0,0]=>1
[1,0,1,0,1,0,1,1,1,0,0,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,1,1,1,0,0,1,0,1,0,0,1,0,0]=>1
Description
The $k$-Gorenstein degree of the linear Nakayama algebra corresponding to a Dyck path.
The $k$-Gorenstein degree is the maximal integer $k$ such that the algebra is $k$-Gorenstein. We apply the convention that the value equals the global dimension of the algebra in case the $k$-Gorenstein degree is greater than or equal to the global dimension.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
The $k$-Gorenstein degree is the maximal integer $k$ such that the algebra is $k$-Gorenstein. We apply the convention that the value equals the global dimension of the algebra in case the $k$-Gorenstein degree is greater than or equal to the global dimension.
The correspondence between linear Nakayama algebras and Dyck paths is explained on the Nakayama algebras page.
References
[1] Auslander, M., Reiten, I. $k$-Gorenstein algebras and syzygy modules MathSciNet:1259667
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("kGortestgiven",[IsList]);
InstallMethod(kGortestgiven, "for a representation of a quiver", [IsList],0,function(LIST)
local A, CoRegA, M, g, i, injA, t, temp, temp2;
M := LIST[1];
g := LIST[2]-1;
A := NakayamaAlgebra(M,GF(3));
injA := IndecInjectiveModules(A);
CoRegA := DirectSumOfQPAModules(injA);
temp := [];
for i in [1..g] do Append(temp,[Source(ProjectiveCover(NthSyzygy(CoRegA,i)))]);
od;
temp2 := [];
for i in [1..g] do Append(temp2,[i-InjDimensionOfModule(Source(ProjectiveCover(NthSyzygy(CoRegA,i))),30)]);
od;
t := Minimum(temp2);
return(t);
end);
DeclareOperation("kGortestgivenhelp",[IsList]);
InstallMethod(kGortestgivenhelp, "for a representation of a quiver", [IsList],0,function(LIST)
local A, CoRegA, M, g, i, injA, t, temp, temp2;
M := LIST[1];
g := LIST[2]-1;
A := NakayamaAlgebra(M,GF(3));
injA := IndecInjectiveModules(A);
CoRegA := DirectSumOfQPAModules(injA);
temp := [];
for i in [1..g] do Append(temp,[Source(ProjectiveCover(NthSyzygy(CoRegA,i)))]);
od;
temp2 := [];
for i in [1..g] do Append(temp2,[i-InjDimensionOfModule(Source(ProjectiveCover(NthSyzygy(CoRegA,i))),30)]);
od;
t := Minimum(temp2);
if (t>=0) then
return(1);
else return(0);
fi;
end);
DeclareOperation("kGordegree",[IsList]);
InstallMethod(kGordegree, "for a representation of a quiver", [IsList],0,function(LIST)
local A, M, gg, i, temp5, tt;
M := LIST[1];
A := NakayamaAlgebra(M,GF(3));
gg := GlobalDimensionOfAlgebra(A,30);
temp5 := [];
for i in [2..gg] do Append(temp5,[kGortestgivenhelp([M,i])]);
od;
tt := Sum(temp5)+1;
return(tt);
end);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
return ZZ(gap.kGordegree([K]))
Created
Aug 09, 2017 at 11:38 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:08 by Nupur Jain
Identifier
St000689:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0]=>5
[1,0,1,0,1,0,1,0,1,1,0,0]=>0
[1,0,1,0,1,0,1,1,0,0,1,0]=>0
[1,0,1,0,1,0,1,1,0,1,0,0]=>1
[1,0,1,0,1,0,1,1,1,0,0,0]=>0
[1,0,1,0,1,1,0,0,1,0,1,0]=>0
[1,0,1,0,1,1,0,0,1,1,0,0]=>0
[1,0,1,0,1,1,0,1,0,0,1,0]=>2
[1,0,1,0,1,1,0,1,0,1,0,0]=>1
[1,0,1,0,1,1,0,1,1,0,0,0]=>0
[1,0,1,0,1,1,1,0,0,0,1,0]=>0
[1,0,1,0,1,1,1,0,0,1,0,0]=>0
[1,0,1,0,1,1,1,0,1,0,0,0]=>1
[1,0,1,0,1,1,1,1,0,0,0,0]=>0
[1,0,1,1,0,0,1,0,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0,1,1,0,0]=>0
[1,0,1,1,1,1,0,0,0,0,1,1,0,0,1,0]=>0
[1,0,1,1,1,1,0,0,0,0,1,1,0,1,0,0]=>0
[1,0,1,1,1,1,0,0,0,0,1,1,1,0,0,0]=>0
[1,0,1,1,1,1,0,0,0,1,0,0,1,0,1,0]=>0
[1,0,1,1,1,1,0,0,0,1,0,0,1,1,0,0]=>0
[1,0,1,1,1,1,0,0,0,1,0,1,0,0,1,0]=>0
[1,0,1,1,1,1,0,0,0,1,0,1,0,1,0,0]=>0
[1,0,1,1,1,1,0,0,0,1,0,1,1,0,0,0]=>0
[1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,0]=>0
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>0
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>0
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>0
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>0
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>0
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>0
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>0
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>0
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>0
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>0
Description
The maximal $n$ such that the minimal generator-cogenerator module in the linear Nakayama algebra corresponding to a Dyck path is $n$-rigid.
The correspondence between linear Nakayama algebras and Dyck paths is explained in St000684The global dimension of the linear Nakayama algebra associated to a Dyck path. and on the Nakayama algebras page. A module $M$ is $n$-rigid if $\operatorname{Ext}^i(M,M)=0$ for $1\le i\le n$.
This statistic is the maximal $n$ such that the minimal generator-cogenerator module $A\oplus D(A)$ of the linear Nakayama algebra $A$ corresponding to a Dyck path is $n$-rigid.
An application is to check for maximal $n$-orthogonal objects in the module category in the sense of [2].
The correspondence between linear Nakayama algebras and Dyck paths is explained in St000684The global dimension of the linear Nakayama algebra associated to a Dyck path. and on the Nakayama algebras page. A module $M$ is $n$-rigid if $\operatorname{Ext}^i(M,M)=0$ for $1\le i\le n$.
This statistic is the maximal $n$ such that the minimal generator-cogenerator module $A\oplus D(A)$ of the linear Nakayama algebra $A$ corresponding to a Dyck path is $n$-rigid.
An application is to check for maximal $n$-orthogonal objects in the module category in the sense of [2].
References
[1] Marczinzik, R. Upper bounds for the dominant dimension of Nakayama and related algebras arXiv:1605.09634
[2] Iyama, O. Higher-dimensional Auslander-Reiten theory on maximal orthogonal subcategories MathSciNet:2298819 arXiv:math/0407052
[2] Iyama, O. Higher-dimensional Auslander-Reiten theory on maximal orthogonal subcategories MathSciNet:2298819 arXiv:math/0407052
Code
gap('LoadPackage("QPA");')
import tempfile as _tf, os as _os
_gap_code = r"""
DeclareOperation("domdimend", [IsList]);
InstallMethod(domdimend, "for a representation of a quiver", [IsList],0,function(L)
local A, CoRegA, M, N, R, RegA, W, injA, list, n, projA;
list := L;
A := NakayamaAlgebra(GF(3),list);
R := [0..20];
projA := IndecProjectiveModules(A);
RegA := DirectSumOfQPAModules(projA);
injA := IndecInjectiveModules(A);
CoRegA := DirectSumOfQPAModules(injA);
N := DirectSumOfQPAModules([RegA,CoRegA]);
M := BasicVersionOfModule(N);
W := Filtered(R,x->N_RigidModule(M,x)=true);
n := Maximum(W);
return(n);
end
);
"""
with _tf.NamedTemporaryFile(mode="w", suffix=".g", delete=False, dir="/tmp") as _f:
_f.write('LoadPackage("QPA");;\n')
_f.write(_gap_code)
_tmp = _f.name
gap.eval('Read("' + _tmp + '");')
_os.unlink(_tmp)
def kupisch(D):
DR = D.reverse()
H = DR.heights()
return [1 + H[i] for i, s in enumerate(DR) if s == 0] + [1]
def statistic(D):
K = kupisch(D)
return ZZ(gap.domdimend(K))
Created
Jan 18, 2017 at 00:26 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:08 by Nupur Jain





































































































































