There are 87 pending statistics:
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 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(c for c in D if c 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(c for c in D if c 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(Dc for c in D if c 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(D)+c for c in D if c 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
Mar 18, 2026 at 16:51 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
Mar 18, 2026 at 16:44 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
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 statistic(w):
d = 0
while w.count(0):
w = filling(w)
d += 1
return d
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) defdegreestatistic(w): d = 0 while w.count(0): w = filling(w) d += 1 return d
Created
May 20, 2021 at 12:23 by Martin Rubey
Updated
Mar 18, 2026 at 16:08 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,0,0,1,0]=>2
[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]=>2
[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]=>2
[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]=>2
[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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,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]=>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]=>2
[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]=>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
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,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]=>0
[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]=>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,0,0,1,0]=>0
[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]=>0
[1,0,1,0,1,1,0,1,1,0,0,0,1,0]=>0
[1,0,1,0,1,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,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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]=>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,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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
St001213:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>14
[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]=>12
[1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>13
[1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>12
[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]=>15
[1,0,1,0,1,0,1,1,0,1,1,0,0,0]=>13
[1,0,1,0,1,0,1,1,1,0,0,0,1,0]=>12
[1,0,1,0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,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,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,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]=>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]=>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]=>2
[1,0,1,0,1,1,0,1,0,0,1,0,1,0]=>2
[1,0,1,0,1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,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]=>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]=>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]=>2
[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]=>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]=>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]=>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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,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]=>7
[1,0,1,1,1,1,0,0,0,1,0,0,1,1,0,0]=>7
[1,0,1,1,1,1,0,0,0,1,0,1,0,0,1,0]=>7
[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]=>7
[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]=>6
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>6
[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]=>7
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>7
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>7
[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]=>7
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>7
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>7
Description
The number of 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)[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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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,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,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]=>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]=>3
[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]=>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,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$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,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]=>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]=>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]=>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]=>0
[1,0,1,0,1,1,0,0,1,1,1,0,0,0]=>1
[1,0,1,0,1,1,0,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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]=>4
[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]=>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]=>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 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,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,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]=>1
[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]=>1
[1,0,1,0,1,1,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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]=>2
[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]=>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]=>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]=>2
[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]=>2
[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]=>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 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,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]=>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]=>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]=>1
[1,0,1,0,1,1,0,0,1,1,1,0,0,0]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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]=>3
[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]=>2
[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]=>3
[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]=>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]=>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,1,0,0]=>8
[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,0,0]=>6
[1,0,1,0,1,0,1,1,0,1,1,0,0,0]=>7
[1,0,1,0,1,0,1,1,1,0,0,0,1,0]=>8
[1,0,1,0,1,0,1,1,1,0,0,1,0,0]=>8
[1,0,1,0,1,0,1,1,1,0,1,0,0,0]=>7
[1,0,1,0,1,0,1,1,1,1,0,0,0,0]=>8
[1,0,1,0,1,1,0,0,1,0,1,0,1,0]=>8
[1,0,1,0,1,1,0,0,1,0,1,1,0,0]=>8
[1,0,1,0,1,1,0,0,1,1,0,0,1,0]=>8
[1,0,1,0,1,1,0,0,1,1,0,1,0,0]=>8
[1,0,1,0,1,1,0,0,1,1,1,0,0,0]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0,0]=>9
[1,0,1,1,1,1,0,0,0,0,1,0,1,0,1,0]=>9
[1,0,1,1,1,1,0,0,0,0,1,0,1,1,0,0]=>9
[1,0,1,1,1,1,0,0,0,0,1,1,0,0,1,0]=>9
[1,0,1,1,1,1,0,0,0,0,1,1,0,1,0,0]=>9
[1,0,1,1,1,1,0,0,0,0,1,1,1,0,0,0]=>9
[1,0,1,1,1,1,0,0,0,1,0,0,1,0,1,0]=>9
[1,0,1,1,1,1,0,0,0,1,0,0,1,1,0,0]=>9
[1,0,1,1,1,1,0,0,0,1,0,1,0,0,1,0]=>9
[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]=>9
[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]=>9
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>9
[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]=>9
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>9
[1,0,1,1,1,1,0,0,1,0,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,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]=>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]=>2
[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]=>2
[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]=>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]=>2
[1,0,1,0,1,1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=>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]=>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]=>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]=>2
[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]=>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 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 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:
[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]=>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]=>3
[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]=>3
[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]=>3
[1,0,1,0,1,0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]=>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.numbersimp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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,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]=>2
[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]=>2
[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]=>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]=>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,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]=>3
[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]=>5
[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]=>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]=>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]=>2
[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]=>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]=>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:
[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,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]=>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]=>6
[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,0,0]=>6
[1,0,1,0,1,0,1,1,0,1,1,0,0,0]=>6
[1,0,1,0,1,0,1,1,1,0,0,0,1,0]=>5
[1,0,1,0,1,0,1,1,1,0,0,1,0,0]=>6
[1,0,1,0,1,0,1,1,1,0,1,0,0,0]=>5
[1,0,1,0,1,0,1,1,1,1,0,0,0,0]=>5
[1,0,1,0,1,1,0,0,1,0,1,0,1,0]=>7
[1,0,1,0,1,1,0,0,1,0,1,1,0,0]=>6
[1,0,1,0,1,1,0,0,1,1,0,0,1,0]=>5
[1,0,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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]=>5
[1,0,1,1,1,1,0,0,0,0,1,0,1,1,0,0]=>4
[1,0,1,1,1,1,0,0,0,0,1,1,0,0,1,0]=>4
[1,0,1,1,1,1,0,0,0,0,1,1,0,1,0,0]=>4
[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]=>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]=>4
[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]=>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]=>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
[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]=>8
[1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>7
[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]=>8
[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]=>7
[1,0,1,0,1,0,1,1,0,1,0,1,0,0]=>8
[1,0,1,0,1,0,1,1,0,1,1,0,0,0]=>6
[1,0,1,0,1,0,1,1,1,0,0,0,1,0]=>7
[1,0,1,0,1,0,1,1,1,0,0,1,0,0]=>7
[1,0,1,0,1,0,1,1,1,0,1,0,0,0]=>6
[1,0,1,0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,1,0]=>6
[1,0,1,1,1,0,1,1,1,0,0,0,0,1,0,0]=>6
[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]=>6
[1,0,1,1,1,0,1,1,1,0,1,0,0,0,0,0]=>6
[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]=>7
[1,0,1,1,1,1,0,0,0,0,1,0,1,1,0,0]=>6
[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]=>6
[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]=>7
[1,0,1,1,1,1,0,0,0,1,0,0,1,1,0,0]=>6
[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]=>8
[1,0,1,1,1,1,0,0,0,1,0,1,1,0,0,0]=>7
[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]=>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
Identifier
St001179:
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]=>7
[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]=>7
[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,0,0]=>7
[1,0,1,0,1,0,1,1,0,1,1,0,0,0]=>6
[1,0,1,0,1,0,1,1,1,0,0,0,1,0]=>7
[1,0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,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]))
Created
May 12, 2018 at 00:35 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:41 by Nupur Jain
Identifier
St001170:
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]=>7
[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]=>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]=>7
[1,0,1,0,1,0,1,1,0,1,0,1,0,0]=>7
[1,0,1,0,1,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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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,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
⟶ ℤ
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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,0,1,1,0,1,0,0,1,0]=>4
[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]=>3
[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]=>3
[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]=>4
[1,0,1,0,1,1,0,0,1,0,1,1,0,0]=>3
[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]=>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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,0,0,0,1,0,1,0,1,0]=>4
[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]=>4
[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]=>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]=>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]=>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]=>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 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,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]=>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]=>1
[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]=>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,0,1,0,1,1,0,0]=>1
[1,0,1,0,1,1,0,0,1,1,0,0,1,0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
[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]=>5
[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]=>4
[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]=>4
[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]=>3
[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]=>3
[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]=>4
[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]=>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]=>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]=>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([A]))
Created
Apr 29, 2018 at 14:24 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:39 by Nupur Jain
Identifier
St001163:
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]=>4
[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]=>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]=>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]=>4
[1,0,1,0,1,0,1,1,0,1,0,1,0,0]=>3
[1,0,1,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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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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
⟶ ℤ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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
M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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,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]=>7
[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,1,0,0,1,0,1,0]=>3
[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]=>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]=>1
[1,0,1,0,1,0,1,0,1,1,1,0,0,0,1,0]=>2
[1,0,1,0,1,0,1,0,1,1,1,0,0,1,0,0]=>2
[1,0,1,0,1,0,1,0,1,1,1,0,1,0,0,0]=>6
[1,0,1,0,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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,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]=>1
[1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,0]=>0
[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,0,1,0]=>1
[1,0,1,0,1,0,1,0,1,1,1,0,0,1,0,0]=>1
[1,0,1,0,1,0,1,0,1,1,1,0,1,0,0,0]=>2
[1,0,1,0,1,0,1,0,1,1,1,1,0,0,0,0]=>3
[1,0,1,0,1,0,1,1,0,0,1,0,1,0,1,0]=>0
[1,0,1,0,1,0,1,1,0,0,1,0,1,1,0,0]=>1
[1,0,1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yck 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,0,1,1,0,1,0,1,0,0]=>0
[1,0,1,0,1,0,1,0,1,1,0,1,1,0,0,0]=>0
[1,0,1,0,1,0,1,0,1,1,1,0,0,0,1,0]=>1
[1,0,1,0,1,0,1,0,1,1,1,0,0,1,0,0]=>0
[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]=>0
[1,0,1,0,1,0,1,1,0,0,1,0,1,0,1,0]=>0
[1,0,1,0,1,0,1,1,0,0,1,0,1,1,0,0]=>0
[1,0,1,0,1,0,1,1,0,0,1,1,0,0,1,0]=>2
[1,0,1,0,1,0,1,1,0,0,1,1,0,1,0,0]=>0
[1,0,1,0,1,0,1,1,0,0,1,1,1,0,0,0]=>1
[1,0,1,0,1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,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]=>3
[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]=>2
[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]=>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]=>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,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]=>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]=>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]=>1
[1,0,1,0,1,1,0,1,0,1,0,1,0,0]=>2
[1,0,1,0,1,1,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,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 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,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,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,0,1,0]=>3
[1,0,1,0,1,0,1,0,1,1,1,0,0,1,0,0]=>2
[1,0,1,0,1,0,1,0,1,1,1,0,1,0,0,0]=>1
[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]=>2
[1,0,1,0,1,0,1,1,0,0,1,0,1,1,0,0]=>3
[1,0,1,0,1,0,1,1,0,0,1,1,0,0,1,0]=>3
[1,0,1,0,1,0,1,1,0,0,1,1,0,1,0,0]=>2
[1,0,1,0,1,0,1,1,0,0,1,1,1,0,0,0]=>4
[1,0,1,0,1,0,1,1,0,1,0,0,1,0,1,0]=>1
[1,0,1,0,1,0,1,1,0,1,0,0,1,1,0,0]=>2
[1,0,1,0,1,0,1,1,0,1,0,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0,0,0]=>4
[1,0,1,1,1,1,0,0,0,0,1,0,1,0,1,0]=>4
[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]=>4
[1,0,1,1,1,1,0,0,0,0,1,1,1,0,0,0]=>6
[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]=>4
[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]=>4
[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]=>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]=>5
[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]=>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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,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,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,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]=>4
[1,0,1,0,1,0,1,0,1,1,1,0,1,0,0,0]=>5
[1,0,1,0,1,0,1,0,1,1,1,1,0,0,0,0]=>4
[1,0,1,0,1,0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,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]=>3
[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]=>4
[1,0,1,0,1,0,1,0,1,1,1,1,0,0,0,0]=>3
[1,0,1,0,1,0,1,1,0,0,1,0,1,0,1,0]=>3
[1,0,1,0,1,0,1,1,0,0,1,0,1,1,0,0]=>2
[1,0,1,0,1,0,1,1,0,0,1,1,0,0,1,0]=>2
[1,0,1,0,1,0,1,1,0,0,1,1,0,1,0,0]=>2
[1,0,1,0,1,0,1,1,0,0,1,1,1,0,0,0]=>2
[1,0,1,0,1,0,1,1,0,1,0,0,1,0,1,0]=>4
[1,0,1,0,1,0,1,1,0,1,0,0,1,1,0,0]=>4
[1,0,1,0,1,0,1,1,0,1,0,1,0,0,1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>1
[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]=>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 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] == 1:
syzygy3_simples.add(cur[0])
return ZZ(len(syzygy3_simples))
Created
Dec 30, 2017 at 15:25 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:38 by Nupur Jain
Identifier
St001063:
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,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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
St001027:
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]=>0
[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]=>2
[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,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,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]=>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,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>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 Marcz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>2
[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]=>3
[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]=>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]=>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 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,0,0]=>5
[1,0,1,0,1,0,1,1,0,1,1,0,0,0]=>5
[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]=>5
[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]=>3
[1,0,1,0,1,1,0,0,1,0,1,1,0,0]=>3
[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]=>6
[1,0,1,0,1,1,0,1,0,0,1,1,0,0]=>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0,1,1,0,0]=>2
[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]=>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]=>3
[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]=>2
[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]=>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]=>2
[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]=>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]=>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]=>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]=>6
[1,0,1,0,1,0,1,1,1,0,0,0,1,0]=>7
[1,0,1,0,1,0,1,1,1,0,0,1,0,0]=>7
[1,0,1,0,1,0,1,1,1,0,1,0,0,0]=>6
[1,0,1,0,1,0,1,1,1,1,0,0,0,0]=>7
[1,0,1,0,1,1,0,0,1,0,1,0,1,0]=>7
[1,0,1,0,1,1,0,0,1,0,1,1,0,0]=>8
[1,0,1,0,1,1,0,0,1,1,0,0,1,0]=>8
[1,0,1,0,1,1,0,0,1,1,0,1,0,0]=>8
[1,0,1,0,1,1,0,0,1,1,1,0,0,0]=>8
[1,0,1,0,1,1,0,1,0,0,1,0,1,0]=>5
[1,0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=>8
[1,0,1,1,1,1,0,0,0,0,1,0,1,1,0,0]=>9
[1,0,1,1,1,1,0,0,0,0,1,1,0,0,1,0]=>9
[1,0,1,1,1,1,0,0,0,0,1,1,0,1,0,0]=>9
[1,0,1,1,1,1,0,0,0,0,1,1,1,0,0,0]=>9
[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]=>9
[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]=>9
[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]=>9
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>9
[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]=>9
[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]=>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 13, 2026 at 16:37 by Nupur Jain
Identifier
St001021:
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]=>5
[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]=>4
[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]=>4
[1,0,1,0,1,0,1,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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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,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,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]=>4
[1,0,1,0,1,0,1,0,1,1,1,0,1,0,0,0]=>5
[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]=>5
[1,0,1,0,1,0,1,1,0,0,1,0,1,1,0,0]=>4
[1,0,1,0,1,0,1,1,0,0,1,1,0,0,1,0]=>3
[1,0,1,0,1,0,1,1,0,0,1,1,0,1,0,0]=>4
[1,0,1,0,1,0,1,1,0,0,1,1,1,0,0,0]=>3
[1,0,1,0,1,0,1,1,0,1,0,0,1,0,1,0]=>5
[1,0,1,0,1,0,1,1,0,1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,0,0,0,0]=>3
[1,0,1,1,1,0,1,1,1,1,0,0,0,0,0,0]=>2
[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]=>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]=>1
[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]=>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]=>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]=>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 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,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]=>12
[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]=>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]=>11
[1,0,1,0,1,0,1,1,0,1,0,1,0,0]=>8
[1,0,1,0,1,0,1,1,0,1,1,0,0,0]=>11
[1,0,1,0,1,0,1,1,1,0,0,0,1,0]=>7
[1,0,1,0,1,0,1,1,1,0,0,1,0,0]=>8
[1,0,1,0,1,0,1,1,1,0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ayama 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
⟶ ℤ
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,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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
⟶ 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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,1,0,0,1,0,1,0]=>1
[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]=>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,0,1,0]=>1
[1,0,1,0,1,0,1,0,1,1,1,0,0,1,0,0]=>1
[1,0,1,0,1,0,1,0,1,1,1,0,1,0,0,0]=>3
[1,0,1,0,1,0,1,0,1,1,1,1,0,0,0,0]=>1
[1,0,1,0,1,0,1,1,0,0,1,0,1,0,1,0]=>2
[1,0,1,0,1,0,1,1,0,0,1,0,1,1,0,0]=>1
[1,0,1,0,1,0,1,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0,0,0,0,0,1,0]=>3
[1,0,1,1,1,0,1,1,1,0,0,0,0,1,0,0]=>3
[1,0,1,1,1,0,1,1,1,0,0,0,1,0,0,0]=>3
[1,0,1,1,1,0,1,1,1,0,0,1,0,0,0,0]=>3
[1,0,1,1,1,0,1,1,1,0,1,0,0,0,0,0]=>3
[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]=>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]=>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]=>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]=>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]=>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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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,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]=>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]=>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]=>1
[1,0,1,0,1,1,0,1,0,1,0,1,0,0]=>1
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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]=>2
[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]=>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]=>1
[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]=>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 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:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0]=>8
[1,0,1,0,1,0,1,0,1,1,0,0]=>9
[1,0,1,0,1,0,1,1,0,0,1,0]=>9
[1,0,1,0,1,0,1,1,0,1,0,0]=>9
[1,0,1,0,1,0,1,1,1,0,0,0]=>11
[1,0,1,0,1,1,0,0,1,0,1,0]=>9
[1,0,1,0,1,1,0,0,1,1,0,0]=>10
[1,0,1,0,1,1,0,1,0,0,1,0]=>9
[1,0,1,0,1,1,0,1,0,1,0,0]=>9
[1,0,1,0,1,1,0,1,1,0,0,0]=>10
[1,0,1,0,1,1,1,0,0,0,1,0]=>11
[1,0,1,0,1,1,1,0,0,1,0,0]=>11
[1,0,1,0,1,1,1,0,1,0,0,0]=>11
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,0,0,0,1,0,1,0,1,0]=>16
[1,0,1,1,1,1,0,0,0,0,1,0,1,1,0,0]=>17
[1,0,1,1,1,1,0,0,0,0,1,1,0,0,1,0]=>17
[1,0,1,1,1,1,0,0,0,0,1,1,0,1,0,0]=>17
[1,0,1,1,1,1,0,0,0,0,1,1,1,0,0,0]=>19
[1,0,1,1,1,1,0,0,0,1,0,0,1,0,1,0]=>16
[1,0,1,1,1,1,0,0,0,1,0,0,1,1,0,0]=>17
[1,0,1,1,1,1,0,0,0,1,0,1,0,0,1,0]=>16
[1,0,1,1,1,1,0,0,0,1,0,1,0,1,0,0]=>16
[1,0,1,1,1,1,0,0,0,1,0,1,1,0,0,0]=>17
[1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,0]=>17
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>17
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>17
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>19
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>16
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>17
[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]=>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.numbersprojdim1(K))
Created
Oct 27, 2017 at 20:35 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:11 by Nupur Jain
Identifier
St001002:
Dyck paths
⟶ ℤ
Values
Modified entries:
[1,0,1,0,1,0,1,0,1,0,1,0]=>6
[1,0,1,0,1,0,1,0,1,1,0,0]=>7
[1,0,1,0,1,0,1,1,0,0,1,0]=>6
[1,0,1,0,1,0,1,1,0,1,0,0]=>6
[1,0,1,0,1,0,1,1,1,0,0,0]=>9
[1,0,1,0,1,1,0,0,1,0,1,0]=>5
[1,0,1,0,1,1,0,0,1,1,0,0]=>7
[1,0,1,0,1,1,0,1,0,0,1,0]=>5
[1,0,1,0,1,1,0,1,0,1,0,0]=>6
[1,0,1,0,1,1,0,1,1,0,0,0]=>7
[1,0,1,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,1,0,1,1,1,0,1,0,0,0,0,0]=>10
[1,0,1,1,1,0,1,1,1,1,0,0,0,0,0,0]=>15
[1,0,1,1,1,1,0,0,0,0,1,0,1,0,1,0]=>11
[1,0,1,1,1,1,0,0,0,0,1,0,1,1,0,0]=>12
[1,0,1,1,1,1,0,0,0,0,1,1,0,0,1,0]=>12
[1,0,1,1,1,1,0,0,0,0,1,1,0,1,0,0]=>11
[1,0,1,1,1,1,0,0,0,0,1,1,1,0,0,0]=>15
[1,0,1,1,1,1,0,0,0,1,0,0,1,0,1,0]=>9
[1,0,1,1,1,1,0,0,0,1,0,0,1,1,0,0]=>10
[1,0,1,1,1,1,0,0,0,1,0,1,0,0,1,0]=>9
[1,0,1,1,1,1,0,0,0,1,0,1,0,1,0,0]=>8
[1,0,1,1,1,1,0,0,0,1,0,1,1,0,0,0]=>10
[1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,0]=>11
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>9
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>9
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>14
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>9
[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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,0,1,1,1,0,0,0,0,1,0,0]=>0
[1,0,1,1,1,0,1,1,1,0,0,0,1,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]=>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]=>2
[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]=>4
[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]=>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,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]=>4
[1,0,1,1,0,0,1,0,1,0,1,0]=>1
[1,0,1,1,0,0,1,0,1,1,0,0]=>2
[1,0,1,1,0,0,1,1,0,0,1,0]=>5
[1,0,1,1,0,0,1,1,0,1,0,0]=>2
[1,0,1,1,0,0,1,1,1,0,0,0]=>5
[1,0,1,1,0,1,0,0,1,0,1,0]=>1
[1,0,1,1,0,1,0,0,1,1,0,0]=>2
[1,0,1,1,0,1,0,1,0,0,1,0]=>1
[1,0,1,1,0,1,0,1,0,1,0,0]=>2
[1,0,1,1,0,1,0,1,1,0,0,0]=>2
[1,0,1,1,0,1,1,0,0,0,1,0]=>4
[1,0,1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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)
return ZZ(gap.numbersprojdimg([K, g]))
Created
Oct 27, 2017 at 21:00 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:11 by Nupur Jain
Identifier
St000999:
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,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,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.numbersproj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,0]=>9
[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]=>9
[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]=>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]=>8
[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]=>7
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>7
[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]=>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
Oct 27, 2017 at 21:37 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:11 by Nupur Jain
Identifier
St000970:
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]=>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]=>4
[1,0,1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>5
[1,0,1,0,1,0,1,0,1,1,0,1,0,0,1,0]=>6
[1,0,1,0,1,0,1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,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]=>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]=>7
[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]=>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]=>5
[1,0,1,0,1,0,1,1,0,0,1,0,1,1,0,0]=>5
[1,0,1,0,1,0,1,1,0,0,1,1,0,0,1,0]=>5
[1,0,1,0,1,0,1,1,0,0,1,1,0,1,0,0]=>5
[1,0,1,0,1,0,1,1,0,0,1,1,1,0,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=>5
[1,0,1,1,1,0,1,1,1,0,0,1,0,0,0,0]=>5
[1,0,1,1,1,0,1,1,1,0,1,0,0,0,0,0]=>5
[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]=>4
[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]=>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]=>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]=>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) - 2
def statistic(D):
return gldim_from_kupisch(lnak_to_cnak(kupisch(D)))
Created
Sep 03, 2017 at 14:54 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:11 by Nupur Jain
Identifier
St000968:
Dyck paths
⟶ ℤ
Values
Modified entries:
[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,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]=>3
[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
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,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,0]=>9
[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]=>4
[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]=>9
[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]=>1
[1,0,1,0,1,0,1,1,1,1,0,0,0,0]=>9
[1,0,1,0,1,1,0,0,1,0,1,0,1,0]=>9
[1,0,1,0,1,1,0,0,1,0,1,1,0,0]=>9
[1,0,1,0,1,1,0,0,1,1,0,0,1,0]=>9
[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]=>9
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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,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]=>2
[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,0,1,1,0,1,0,1,0,0]=>0
[1,0,1,0,1,0,1,0,1,1,0,1,1,0,0,0]=>0
[1,0,1,0,1,0,1,0,1,1,1,0,0,0,1,0]=>1
[1,0,1,0,1,0,1,0,1,1,1,0,0,1,0,0]=>1
[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]=>0
[1,0,1,0,1,0,1,1,0,0,1,0,1,0,1,0]=>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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, 2026 at 16:11 by Nupur Jain
Identifier
St000964:
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]=>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]=>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]=>2
[1,0,1,0,1,0,1,1,1,0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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,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,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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,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,1,1,0,0,1,0,0]=>6
[1,0,1,0,1,0,1,1,1,0,1,0,0,0]=>8
[1,0,1,0,1,0,1,1,1,1,0,0,0,0]=>6
[1,0,1,0,1,1,0,0,1,0,1,0,1,0]=>6
[1,0,1,0,1,1,0,0,1,0,1,1,0,0]=>6
[1,0,1,0,1,1,0,0,1,1,0,0,1,0]=>6
[1,0,1,0,1,1,0,0,1,1,0,1,0,0]=>6
[1,0,1,0,1,1,0,0,1,1,1,0,0,0]=>6
[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]=>2
[1,0,1,0,1,1,0,1,0,1,0,0,1,0]=>6
[1,0,1,0,1,1,0,1,0,1,0,1,0,0]=>8
[1,0,1,0,1,1,0,1,0,1,1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,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]=>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]=>4
[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]=>6
[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]=>8
[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]=>6
[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]=>8
[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]=>4
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,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,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]=>3
[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]=>3
[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]=>2
[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]=>2
[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]=>3
[1,0,1,0,1,1,0,0,1,1,1,0,0,0]=>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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]=>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]=>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]=>5
[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]=>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]=>5
[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]=>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,0,1,0]=>4
[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]=>4
[1,0,1,0,1,1,0,0,1,0,1,0,1,0]=>4
[1,0,1,0,1,1,0,0,1,0,1,1,0,0]=>3
[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]=>1
[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]=>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]=>6
[1,0,1,0,1,1,0,1,0,1,0,1,0,0]=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,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]=>2
[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]=>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]=>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]=>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 $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,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]=>0
[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]=>0
[1,0,1,1,0,1,0,0,1,0,1,0]=>2
[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]=>1
[1,0,1,1,0,1,0,1,0,1,0,0]=>2
[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]=>1
[1,0,1,1,0,1,1,1,0,0,0,0]=>0
[1,0,1,1,1,0,0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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






















































































