There are 88 pending statistics:

Identifier
St000479: Graphs ⟶ ℤ
Values
No modified entries

Description
The Ramsey number of a graph.
This is the smallest integer $n$ such that every two-colouring of the edges of the complete graph $K_n$ contains a (not necessarily induced) monochromatic copy of the given graph. [1]
Thus, the Ramsey number of the complete graph $K_n$ is the ordinary Ramsey number $R(n,n)$. Very few of these numbers are known, in particular, it is only known that $43\leq R(5,5)\leq 46$. [2,3,4,5,6]
Diff Description
The Ramsey number of a graph.

This is the smallest integer n such that every two-colouring of the edges of the complete graph K_n contains a (not necessarily induced) monochromatic copy of the given graph. [1]

Thus, the Ramsey number of the complete graph K_n is the ordinary Ramsey number R(n,n). Very few of these numbers are known, in particular, it is only known that 43\leq R(5,5)\leq 4
86. [2,3,4,5,6]
References
[1] Chvatál, C., Rödl, V., Szemerédi, E., Trotter, Jr., W. T. The Ramsey number of a graph with bounded maximum degree MathSciNet:0714447
[2] Radziszowski, Stanisław P. Small Ramsey numbers MathSciNet:1670625
[3] wikipedia:Ramsey's theorem#Ramsey numbers
[4] Hendry, G. R. T. Ramsey numbers for graphs with five vertices MathSciNet:0994745
[5] Angeltveit, V., McKay, B. D. $R(5,5) \le 48$ arXiv:1703.08768
[6] arXiv 2409.15709
Diff References
[1] Chvatál, C., Rödl, V., Szemerédi, E., Trotter, Jr., W. T. The Ramsey number of a graph with bounded maximum degree [[MathSciNet:0714447]]
[2] Radziszowski, Stanisław P. Small Ramsey numbers [[MathSciNet:1670625]]
[3] [[wikipedia:Ramsey's theorem#Ramsey numbers]]
[4] Hendry, G. R. T. Ramsey numbers for graphs with five vertices [[MathSciNet:0994745]]
[5] Angeltveit, V., McKay, B. D. R(5,5) \le 48 [[arXiv:1703.08768]]

[6] [[arXiv 2409.15709]]
Code
N_vertices = 13 # the maximal number of vertices we consider
N_Ramsey = 7 # all graphs with Ramsey number at most N_Ramsey
statistic_dict = dict()
def statistic(G):
    return statistic_dict.get(G.canonical_label().copy(immutable=True))

"""
The Ramsey number of a graph.

This is the smallest integer $n$ such that every two-colouring of the
$n$ vertices of the complete graph $K_n$ contains a (not necessarily
induced) monochromatic copy of the given graph. [1]

Thus, the Ramsey number of the complete graph $K_n$ is the ordinary Ramsey number $R(n,n)$.  Very few of these numbers are known. [2,3]

[1] Chvatál,Rödl,Szemerédi,Trotter, The Ramsey number of a graph with bounded maximum degree. doi:10.1016/0095-8956(83)90037-0

[2] Radziszowski, Stanisław P. "Small Ramsey numbers." Electron. J. Combin 1.7 (1994).

[3] [[wikipedia:Ramsey's theorem#Ramsey numbers]]

[4] Hendry, G. R. T. Ramsey numbers for graphs with five vertices

"""
def check_Ramsey(n, already_found=[]):
    r"""
    Colour the complete graph on n vertices with two colours, and
    return the subgraphs which appear in all colourings.

    EXAMPLES::

        sage: L = dict()
        sage: n = 2; L[n] = check_Ramsey(n)
        sage: n = 3; L[n] = check_Ramsey(n, sum(L.values(), []))
        sage: n = 4; L[n] = check_Ramsey(n, sum(L.values(), []))
        sage: n = 5; L[n] = check_Ramsey(n, sum(L.values(), []))
        sage: n = 6; L[n] = check_Ramsey(n, sum(L.values(), []))
        sage: n = 7; L[n] = check_Ramsey(n, sum(L.values(), []))

        sage: n=6; graphics_array([H.plot() for H in L[n] if H.is_connected()])
    """
    def has_copy(H1, H2, H):
        r"""
        Return True if there is a copy of H in H1=s or H2=E\s.
        """
        S1 = H1.subgraph_search(H)
        if not S1 is None:
            return True
        S2 = H2.subgraph_search(H)
        if not S2 is None:
            return True
        return False

    candidates = [H.canonical_label() for k in range(n+1) for H in graphs(k)]
    candidates = [H for H in candidates if H not in already_found]
    G = graphs.CompleteGraph(n)
    E = Set(G.edges(labels=False))
    V = G.vertices()
    for size in range(1+len(E)//2):
        print("check subgraphs of size", size)
        tested = []
        for s in E.subsets(size):
            H1 = Graph(n)
            H1.add_edges(s)
            H1 = H1.canonical_label()
            H2 = Graph(n)
            H2.add_edges(E.difference(s))
            H2 = H2.canonical_label()
            if (H1, H2) not in tested:
                tested += [(H1, H2)]
                candidates = [H for H in candidates if has_copy(H1, H2, H)]

    return candidates

def add_to_dict(G, v):
    H = G.canonical_label().copy(immutable=True)
    if H in statistic_dict:
        assert statistic_dict[H] == v, "The graph %s should have Ramsey number %s, got %s instead"%(repr(H), statistic_dict[H], v)
        print("%s already known to have Ramsey value %s"%(repr(H), v))
    else:
        statistic_dict[H] = v

Ramsey_small = dict()
for n in range(N_Ramsey+1):
    Ramsey_small[n] = check_Ramsey(n, sum(Ramsey_small.values(), []))

for v, lG in Ramsey_small.items():
    for G in lG:
        add_to_dict(G, v)

# table IIIa
Ramsey_almost_complete = dict()
Ramsey_almost_complete[3] = 3
Ramsey_almost_complete[4] = 10
Ramsey_almost_complete[5] = 22

for n, v in Ramsey_almost_complete.items():
    G = graphs.CompleteGraph(n)
    G.delete_edge(G.edges()[0])
    add_to_dict(G, v)

# G8 - G20 are from Table 1 in
# Hendry, G. R. T. Ramsey numbers for graphs with five vertices

G8 = Graph([(1,2),(2,3),(3,4),(4,5),(3,5)]).canonical_label().copy(immutable=True)
G9 = Graph([(1,2),(2,3),(3,4),(4,5),(2,4)]).canonical_label().copy(immutable=True)
G10 = Graph([(1,2),(1,3),(1,4),(1,5),(2,3)]).canonical_label().copy(immutable=True)
G12 = Graph([(1,2),(2,3),(3,4),(4,5),(1,3),(3,5)]).canonical_label().copy(immutable=True)
G13 = Graph([(1,2),(1,3),(1,4),(1,5),(2,3),(3,4)]).canonical_label().copy(immutable=True)
G14 = Graph([(1,2),(1,3),(1,4),(2,5),(2,3),(3,4)]).canonical_label().copy(immutable=True)
G15 = Graph([(1,2),(2,3),(3,4),(4,5),(5,1),(1,3)]).canonical_label().copy(immutable=True)
G16 = Graph([(1,2),(2,3),(3,4),(4,5),(5,1),(1,3),(1,4)]).canonical_label().copy(immutable=True)
G17 = Graph([(1,2),(2,3),(3,4),(4,5),(5,1),(1,3),(2,4)]).canonical_label().copy(immutable=True)
G19 = Graph([(1,2),(1,3),(1,4),(2,3),(2,4),(3,4),(1,5)]).canonical_label().copy(immutable=True)
G20 = Graph([(1,2),(1,3),(1,4),(2,3),(2,4),(3,4),(1,5),(2,5)]).canonical_label().copy(immutable=True)

Ramsey_Hendry = [(G8, 9), (G9, 9), (G10, 9), (G12, 9), (G13, 10), (G14, 10), (G15, 9), (G16, 10), (G17, 10), (G19, 18), (G20, 18)]

for G, v in Ramsey_Hendry:
    add_to_dict(G, v)

# table IVa and IVb
Ramsey_bipartite = dict()
Ramsey_bipartite[3, 3] = 18
Ramsey_bipartite[2, 2] = 6
Ramsey_bipartite[2, 3] = 10
Ramsey_bipartite[2, 4] = 14
Ramsey_bipartite[2, 5] = 18
Ramsey_bipartite[2, 6] = 21
Ramsey_bipartite[2, 7] = 26
Ramsey_bipartite[2, 8] = 30
Ramsey_bipartite[2, 9] = 33
Ramsey_bipartite[2, 10] = 38
Ramsey_bipartite[2, 11] = 42
Ramsey_bipartite[2, 12] = 46
Ramsey_bipartite[2, 13] = 50
Ramsey_bipartite[2, 14] = 54
Ramsey_bipartite[2, 15] = 57
Ramsey_bipartite[2, 16] = 62

for (n,m), v in Ramsey_bipartite.items():
    add_to_dict(graphs.CompleteBipartiteGraph(n,m), v)

# section 3.3.2 a
def Ramsey_star(n):
    m = n-1
    assert m > 0
    if is_even(m):
        return 2*m-1
    else:
        return 2*m

for n in range(2, N_vertices+1):
    add_to_dict(graphs.StarGraph(n-1), Ramsey_star(n))

# section 3.3.2, n
def Ramsey_m_4_star(n):
    assert n % 4 == 0, "The number of vertices, %s, should be divisible by 4"%n
    m = n//4
    assert m >= 2, "There must be at least 2 copies of the star, but there are only %s"%m
    return 5*m-1

for n in range(8, N_vertices+1, 4):
    add_to_dict(sum([graphs.StarGraph(3) for k in range(n//4)], Graph()), Ramsey_m_4_star(n))

# section 4.1, a,b,c
def Ramsey_cycle(n):
    assert n > 2
    if is_odd(n) and n > 3:
        return 2*n-1
    elif is_even(n) and n > 4:
        return n-1+(n//2)
    elif n == 3 or n == 4:
        return 6

for n in range(3, N_vertices+1):
    add_to_dict(graphs.CycleGraph(n), Ramsey_cycle(n))

# section 4.1, e
def Ramsey_m_triangles(n):
    assert n % 3 == 0, "The number of vertices, %s, should be divisible by 3"%n
    m = n // 3
    assert m >= 2, "There must be at least 2 copies of the triangle, but there are only %s"%m
    return 5*m

for n in range(6, N_vertices+1, 3):
    add_to_dict(sum([graphs.CycleGraph(3) for k in range(n//3)], Graph()), Ramsey_m_triangles(n))

# section 4.1, f
def Ramsey_m_squares(n):
    assert n % 4 == 0, "The number of vertices, %s, should be divisible by 4"%n
    m = n // 4
    assert m >= 2, "There must be at least 2 copies of the square, but there are only %s"%m
    return 6*m-1

for n in range(8, N_vertices+1, 4):
    add_to_dict(sum([graphs.CycleGraph(4) for k in range(n//4)], Graph()), Ramsey_m_squares(n))

# section 5.1
def Ramsey_paths(m):
    assert m >= 2
    return m + (m//2) - 1

for n in range(2, N_vertices+1):
    add_to_dict(graphs.PathGraph(n), Ramsey_paths(n))

# section 5.13 b
def Ramsey_union_K2(m):
    assert is_even(m) and m >= 2
    return 3*(m//2) - 1

for n in range(2, N_vertices+1, 2):
    add_to_dict(sum([graphs.CompleteGraph(2) for k in range(n//2)], Graph()), Ramsey_union_K2(n))

Ramsey_wheel = dict()
# table VIII
Ramsey_wheel[3] = 6
Ramsey_wheel[4] = 18
Ramsey_wheel[5] = 15
Ramsey_wheel[6] = 17
Ramsey_wheel[7] = 19

for n, v in Ramsey_wheel.items():
    add_to_dict(graphs.WheelGraph(n), v)

Ramsey_book = dict()
# table IX
Ramsey_book[1] = 6
Ramsey_book[2] = 10
Ramsey_book[3] = 14
Ramsey_book[4] = 18
Ramsey_book[5] = 21
Ramsey_book[6] = 26

for n, v in Ramsey_book.items():
    add_to_dict(Graph(1).join(graphs.StarGraph(n)), v)

# R.J. Faudree and R.H. Schelp, Ramsey Numbers for All Linear Forests, Discrete Mathematics, 16 (1976) 149-155.

def Ramsey_linear_forest(n, j):
    assert is_even(n-j)
    return n + (n-j)//2 - 1

for n in range(2, N_vertices+1):
    for la in Partitions(n):
        if min(la) > 1:
            G = sum([graphs.PathGraph(p) for p in la], Graph())
            add_to_dict(G, Ramsey_linear_forest(n, sum(1 for p in la if is_odd(p))))

# J.W. Grossman, The Ramsey Numbers of the Union of Two Stars, Utilitas Mathematica, 16 (1979) 271-279.

def Ramsey_two_stars(n, m):
    assert n >= m, "Ramsey_two_stars only valid for n >= m, but n = %s and m = %s"%(n,m)
    return max(n+2*m, 2*n+1, n+m+3)

for n in range(2, N_vertices+1):
    for m in range(2,(n-1)//2+1):
        G = graphs.StarGraph(m-1) + graphs.StarGraph(n-m-1)
        add_to_dict(G, Ramsey_two_stars(n-m-1, m-1))

# Yu, P., & Li, Y. (2016). All Ramsey numbers for brooms in graphs. The Electronic Journal of Combinatorics, 23(3), 3-29.
def Ramsey_broom(k, l):
    assert k >= 2
    n = k+l
    if l == 1 or l == 2:
        return Ramsey_star(n)
    if l == 3:
        return Ramsey_star(n-1)
    if l >= 2*k - 1:
        return n + (l+1)//2 - 1
    if 4 <= l <= 2*k - 2:
        return 2*n - 2*((l+1)//2) - 1

def BroomGraph(k, l):
    G = graphs.StarGraph(k)
    assert G.degree(0) == k
    G.add_path([0] + [k+1+i for i in range(l-1)])
    G.layout("tree", save_pos=True)
    return G

for n in range(2, N_vertices+1):
    for k in range(2,n-1):
        G = BroomGraph(k, n-k)
        add_to_dict(G, Ramsey_broom(k, n-k))

# Jerrold W. Grossman, Frank Harary, Maria Klawe, Generalized Ramsey theory for graphs, X: double stars
        
def Ramsey_double_star(k, l):
    assert k >= 2
    n = k+l+2
    if is_odd(k) and l <= 2:
        return max(2*k+1, k+2*l+2)
    if (is_even(k) or l >= 3) and (k^2 <= 2*l or k >= 3*l):
        return max(2*k+2, k+2*l+2)
        
def DoubleStarGraph(k, l):
    assert k >= l, "DoubleStarGraph only defined for k >= l"
    G = graphs.StarGraph(k)
    H = G.disjoint_union(graphs.StarGraph(l), "pairs")
    H.add_edge((0,0),(1,0))
    return H

for n in range(2, N_vertices+1):
    for l in range(2,n//2):
        k = n-l-2
        G = DoubleStarGraph(k, l)
        assert G.num_verts() == n
        if (is_odd(k) and l <= 2) or ((is_even(k) or l >= 3) and (k^2 <= 2*l or k >= 3*l)):
            add_to_dict(G, Ramsey_double_star(k, l))


######################################################################
# finally, add isolated vertices
for G, v in list(statistic_dict.items()):
    for k in range(N_vertices-G.num_verts()):
        add_to_dict(G.disjoint_union(Graph(k)), max(G.num_verts()+k, v))

Diff Code
N_vertices = 13 # the maximal number of vertices we consider
N_Ramsey = 7 # all graphs with Ramsey number at most N_Ramsey
statistic_dict = dict()
def statistic(G):
    return statistic_dict.get(G.canonical_label().copy(immutable=True))

"""
The Ramsey number of a graph.

This is the smallest integer n such that every two-colouring of the
n vertices of the complete graph K_n contains a (not necessarily
induced) monochromatic copy of the given graph. [1]

Thus, the Ramsey number of the complete graph K_n is the ordinary Ramsey number R(n,n).  Very few of these numbers are known. [2,3]

[1] Chvatál,Rödl,Szemerédi,Trotter, The Ramsey number of a graph with bounded maximum degree. doi:10.1016/0095-8956(83)90037-0

[2] Radziszowski, Stanisław P. "Small Ramsey numbers." Electron. J. Combin 1.7 (1994).

[3] [[wikipedia:Ramsey's theorem#Ramsey numbers]]

[4] Hendry, G. R. T. Ramsey numbers for graphs with five vertices

"""
def check_Ramsey(n, already_found=[]):
    r"""
    Colour the complete graph on n vertices with two colours, and
    return the subgraphs which appear in all colourings.

    EXAMPLES::

        sage: L = dict()
        sage: n = 2; L[n] = check_Ramsey(n)
        sage: n = 3; L[n] = check_Ramsey(n, sum(L.values(), []))
        sage: n = 4; L[n] = check_Ramsey(n, sum(L.values(), []))
        sage: n = 5; L[n] = check_Ramsey(n, sum(L.values(), []))
        sage: n = 6; L[n] = check_Ramsey(n, sum(L.values(), []))
        sage: n = 7; L[n] = check_Ramsey(n, sum(L.values(), []))

        sage: n=6; graphics_array([H.plot() for H in L[n] if H.is_connected()])
    """
    def has_copy(H1, H2, H):
        r"""
        Return True if there is a copy of H in H1=s or H2=E\s.
        """
        S1 = H1.subgraph_search(H)
        if not S1 is None:
            return True
        S2 = H2.subgraph_search(H)
        if not S2 is None:
            return True
        return False

    candidates = [H.canonical_label() for k in range(n+1) for H in graphs(k)]
    candidates = [H for H in candidates if H not in already_found]
    G = graphs.CompleteGraph(n)
    E = Set(G.edges(labels=False))
    V = G.vertices()
    for size in range(1+len(E)//2):
        print("check subgraphs of size", size)
        tested = []
        for s in E.subsets(size):
            H1 = Graph(n)
            H1.add_edges(s)
            H1 = H1.canonical_label()
            H2 = Graph(n)
            H2.add_edges(E.difference(s))
            H2 = H2.canonical_label()
            if (H1, H2) not in tested:
                tested += [(H1, H2)]
                candidates = [H for H in candidates if has_copy(H1, H2, H)]

    return candidates

def add_to_dict(G, v):
    H = G.canonical_label().copy(immutable=True)
    if H in statistic_dict:
        assert statistic_dict[H] == v, "The graph %s should have Ramsey number %s, got %s instead"%(repr(H), statistic_dict[H], v)
        print("%s already known to have Ramsey value %s"%(repr(H), v))
    else:
        statistic_dict[H] = v

Ramsey_small = dict()
for n in range(N_Ramsey+1):
    Ramsey_small[n] = check_Ramsey(n, sum(Ramsey_small.values(), []))

for v, lG in Ramsey_small.items():
    for G in lG:
        add_to_dict(G, v)

# table IIIa
Ramsey_almost_complete = dict()
Ramsey_almost_complete[3] = 3
Ramsey_almost_complete[4] = 10
Ramsey_almost_complete[5] = 22

for n, v in Ramsey_almost_complete.items():
    G = graphs.CompleteGraph(n)
    G.delete_edge(G.edges()[0])
    add_to_dict(G, v)

# G8 - G20 are from Table 1 in
# Hendry, G. R. T. Ramsey numbers for graphs with five vertices

G8 = Graph([(1,2),(2,3),(3,4),(4,5),(3,5)]).canonical_label().copy(immutable=True)
G9 = Graph([(1,2),(2,3),(3,4),(4,5),(2,4)]).canonical_label().copy(immutable=True)
G10 = Graph([(1,2),(1,3),(1,4),(1,5),(2,3)]).canonical_label().copy(immutable=True)
G12 = Graph([(1,2),(2,3),(3,4),(4,5),(1,3),(3,5)]).canonical_label().copy(immutable=True)
G13 = Graph([(1,2),(1,3),(1,4),(1,5),(2,3),(3,4)]).canonical_label().copy(immutable=True)
G14 = Graph([(1,2),(1,3),(1,4),(2,5),(2,3),(3,4)]).canonical_label().copy(immutable=True)
G15 = Graph([(1,2),(2,3),(3,4),(4,5),(5,1),(1,3)]).canonical_label().copy(immutable=True)
G16 = Graph([(1,2),(2,3),(3,4),(4,5),(5,1),(1,3),(1,4)]).canonical_label().copy(immutable=True)
G17 = Graph([(1,2),(2,3),(3,4),(4,5),(5,1),(1,3),(2,4)]).canonical_label().copy(immutable=True)
G19 = Graph([(1,2),(1,3),(1,4),(2,3),(2,4),(3,4),(1,5)]).canonical_label().copy(immutable=True)
G20 = Graph([(1,2),(1,3),(1,4),(2,3),(2,4),(3,4),(1,5),(2,5)]).canonical_label().copy(immutable=True)

Ramsey_Hendry = [(G8, 9), (G9, 9), (G10, 9), (G12, 9), (G13, 10), (G14, 10), (G15, 9), (G16, 10), (G17, 10), (G19, 18), (G20, 18)]

for G, v in Ramsey_Hendry:
    add_to_dict(G, v)

# table IVa and IVb
Ramsey_bipartite = dict()
Ramsey_bipartite[3, 3] = 18
Ramsey_bipartite[2, 2] = 6
Ramsey_bipartite[2, 3] = 10
Ramsey_bipartite[2, 4] = 14
Ramsey_bipartite[2, 5] = 18
Ramsey_bipartite[2, 6] = 21
Ramsey_bipartite[2, 7] = 26
Ramsey_bipartite[2, 8] = 30
Ramsey_bipartite[2, 9] = 33
Ramsey_bipartite[2, 10] = 38
Ramsey_bipartite[2, 11] = 42
Ramsey_bipartite[2, 12] = 46
Ramsey_bipartite[2, 13] = 50
Ramsey_bipartite[2, 14] = 54
Ramsey_bipartite[2, 15] = 57
Ramsey_bipartite[2, 16] = 62

for (n,m), v in Ramsey_bipartite.items():
    add_to_dict(graphs.CompleteBipartiteGraph(n,m), v)

# section 3.3.2 a
def Ramsey_star(n):
    m = n-1
    assert m > 0
    if is_even(m):
        return 2*m-1
    else:
        return 2*m

for n in range(2, N_vertices+1):
    add_to_dict(graphs.StarGraph(n-1), Ramsey_star(n))

# section 3.3.2, n
def Ramsey_m_4_star(n):
    assert n % 4 == 0, "The number of vertices, %s, should be divisible by 4"%n
    m = n//4
    assert m >= 2, "There must be at least 2 copies of the star, but there are only %s"%m
    return 5*m-1

for n in range(8, N_vertices+1, 4):
    add_to_dict(sum([graphs.StarGraph(3) for k in range(n//4)], Graph()), Ramsey_m_4_star(n))

# section 4.1, a,b,c
def Ramsey_cycle(n):
    assert n > 2
    if is_odd(n) and n > 3:
        return 2*n-1
    elif is_even(n) and n > 4:
        return n-1+(n//2)
    elif n == 3 or n == 4:
        return 6

for n in range(3, N_vertices+1):
    add_to_dict(graphs.CycleGraph(n), Ramsey_cycle(n))

# section 4.1, e
def Ramsey_m_triangles(n):
    assert n % 3 == 0, "The number of vertices, %s, should be divisible by 3"%n
    m = n // 3
    assert m >= 2, "There must be at least 2 copies of the triangle, but there are only %s"%m
    return 5*m

for n in range(6, N_vertices+1, 3):
    add_to_dict(sum([graphs.CycleGraph(3) for k in range(n//3)], Graph()), Ramsey_m_triangles(n))

# section 4.1, f
def Ramsey_m_squares(n):
    assert n % 4 == 0, "The number of vertices, %s, should be divisible by 4"%n
    m = n // 4
    assert m >= 2, "There must be at least 2 copies of the square, but there are only %s"%m
    return 6*m-1

for n in range(8, N_vertices+1, 4):
    add_to_dict(sum([graphs.CycleGraph(4) for k in range(n//4)], Graph()), Ramsey_m_squares(n))

# section 5.1
def Ramsey_paths(m):
    assert m >= 2
    return m + (m//2) - 1

for n in range(2, N_vertices+1):
    add_to_dict(graphs.PathGraph(n), Ramsey_paths(n))

# section 5.13 b
def Ramsey_union_K2(m):
    assert is_even(m) and m >= 2
    return 3*(m//2) - 1

for n in range(2, N_vertices+1, 2):
    add_to_dict(sum([graphs.CompleteGraph(2) for k in range(n//2)], Graph()), Ramsey_union_K2(n))

Ramsey_wheel = dict()
# table VIII
Ramsey_wheel[3] = 6
Ramsey_wheel[4] = 18
Ramsey_wheel[5] = 15
Ramsey_wheel[6] = 17
Ramsey_wheel[7] = 19

for n, v in Ramsey_wheel.items():
    add_to_dict(graphs.WheelGraph(n), v)

Ramsey_book = dict()
# table IX
Ramsey_book[1] = 6
Ramsey_book[2] = 10
Ramsey_book[3] = 14
Ramsey_book[4] = 18
Ramsey_book[5] = 21
Ramsey_book[6] = 26

for n, v in Ramsey_book.items():
    add_to_dict(Graph(1).join(graphs.StarGraph(n)), v)

# R.J. Faudree and R.H. Schelp, Ramsey Numbers for All Linear Forests, Discrete Mathematics, 16 (1976) 149-155.

def Ramsey_linear_forest(n, j):
    assert is_even(n-j)
    return n + (n-j)//2 - 1

for n in range(2, N_vertices+1):
    for la in Partitions(n):
        if min(la) > 1:
            G = sum([graphs.PathGraph(p) for p in la], Graph())
            add_to_dict(G, Ramsey_linear_forest(n, sum(1 for p in la if is_odd(p))))

# J.W. Grossman, The Ramsey Numbers of the Union of Two Stars, Utilitas Mathematica, 16 (1979) 271-279.

def Ramsey_two_stars(n, m):
    assert n >= m, "Ramsey_two_stars only valid for n >= m, but n = %s and m = %s"%(n,m)
    return max(n+2*m, 2*n+1, n+m+3)

for n in range(2, N_vertices+1):
    for m in range(2,(n-1)//2+1):
        G = graphs.StarGraph(m-1) + graphs.StarGraph(n-m-1)
        add_to_dict(G, Ramsey_two_stars(n-m-1, m-1))

# Yu, P., & Li, Y. (2016). All Ramsey numbers for brooms in graphs. The Electronic Journal of Combinatorics, 23(3), 3-29.
def Ramsey_broom(k, l):
    assert k >= 2
    n = k+l
    if l == 1 or l == 2:
        return Ramsey_star(n)
    if l == 3:
        return Ramsey_star(n-1)
    if l >= 2*k - 1:
        return n + (l+1)//2 - 1
    if 4 <= l <= 2*k - 2:
        return 2*n - 2*((l+1)//2) - 1

def BroomGraph(k, l):
    G = graphs.StarGraph(k)
    assert G.degree(0) == k
    G.add_path([0] + [k+1+i for i in range(l-1)])
    G.layout("tree", save_pos=True)
    return G

for n in range(2, N_vertices+1):
    for k in range(2,n-1):
        G = BroomGraph(k, n-k)
        add_to_dict(G, Ramsey_broom(k, n-k))

# Jerrold W. Grossman, Frank Harary, Maria Klawe, Generalized Ramsey theory for graphs, X: double stars
        
def Ramsey_double_star(k, l):
    assert k >= 2
    n = k+l+2
    if is_odd(k) and l <= 2:
        return max(2*k+1, k+2*l+2)
    if (is_even(k) or l >= 3) and (k^2 <= 2*l or k >= 3*l):
        return max(2*k+2, k+2*l+2)
        
def DoubleStarGraph(k, l):
    assert k >= l, "DoubleStarGraph only defined for k >= l"
    G = graphs.StarGraph(k)
    H = G.disjoint_union(graphs.StarGraph(l), "pairs")
    H.add_edge((0,0),(1,0))
    return H

for n in range(2, N_vertices+1):
    for l in range(2,n//2):
        k = n-l-2
        G = DoubleStarGraph(k, l)
        assert G.num_verts() == n
        if (is_odd(k) and l <= 2) or ((is_even(k) or l >= 3) and (k^2 <= 2*l or k >= 3*l)):
            add_to_dict(G, Ramsey_double_star(k, l))


######################################################################
# finally, add isolated vertices
for G, v in list(statistic_dict.items()):
    for k in range(N_vertices-G.num_verts()):
        add_to_dict(G.disjoint_union(Graph(k)), max(G.num_verts()+k, v))

Created
May 07, 2016 at 08:53 by Martin Rubey
Updated
May 12, 2026 at 16:08 by Martin Rubey
0 Comments


Comment:
Name:
E-Mail:
Send e-mail on new comments:
Captcha:
Please type the top row of
captcha
add comment
Identifier
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$.
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.
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
0 Comments


Comment:
Name:
E-Mail:
Send e-mail on new comments:
Captcha:
Please type the top row of
captcha
add comment
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.
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
Code
def statistic(x):
    xw = 1
    lvl = 1
    for step in x:
        if step == 0:
            lvl += 1
        else:
            xw *= lvl
    return xw
Diff Code
def dyck_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
0 Comments


Comment:
Name:
E-Mail:
Send e-mail on new comments:
Captcha:
Please type the top row of
captcha
add comment
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..
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]].
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
0 Comments


Comment:
Name:
E-Mail:
Send e-mail on new comments:
Captcha:
Please type the top row of
captcha
add comment
Identifier
St001356: Graphs ⟶ ℤ
Values
No modified entries

Description
The number of vertices in prime modules of a graph.
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 NodeType
def 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
0 Comments


Comment:
Name:
E-Mail:
Send e-mail on new comments:
Captcha:
Please type the top row of
captcha
add comment
Identifier
St001116: Graphs ⟶ ℤ
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.
References
[1] wikipedia:Graph coloring game
[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
0 Comments


Comment:
Name:
E-Mail:
Send e-mail on new comments:
Captcha:
Please type the top row of
captcha
add comment
Identifier
St001302: Graphs ⟶ ℤ
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.
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
0 Comments


Comment:
Name:
E-Mail:
Send e-mail on new comments:
Captcha:
Please type the top row of
captcha
add comment
Identifier
St000263: Graphs ⟶ ℤ
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):
    return gsum(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
0 Comments


Comment:
Name:
E-Mail:
Send e-mail on new comments:
Captcha:
Please type the top row of
captcha
add comment
Identifier
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.
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
0 Comments


Comment:
Name:
E-Mail:
Send e-mail on new comments:
Captcha:
Please type the top row of
captcha
add comment
Identifier
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.
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)

def degreestatistic(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
0 Comments


Comment:
Name:
E-Mail:
Send e-mail on new comments:
Captcha:
Please type the top row of
captcha
add comment
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..
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]].
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
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]]
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
0 Comments


Comment:
Name:
E-Mail:
Send e-mail on new comments:
Captcha:
Please type the top row of
captcha
add comment
Identifier
St001025: 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]=>1
[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,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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 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.
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
0 Comments


Comment:
Name:
E-Mail:
Send e-mail on new comments:
Captcha:
Please type the top row of
captcha
add comment
Identifier
St001011: 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]=>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]=>1
[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]=>2
[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]=>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]=>1
[1,0,1,0,1,0,1,0,1,1,1,1,0,0,0,0]=>1
[1,0,1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2
[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 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.
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
0 Comments


Comment:
Name:
E-Mail:
Send e-mail on new comments:
Captcha:
Please type the top row of
captcha
add comment
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:

[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]=>2
[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]=>2
[1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,0]=>2
[1,0,1,0,1,0,1,0,1,1,0,1,1,0,0,0]=>3
[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]=>3
[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]=>3
[1,0,1,0,1,0,1,1,0,0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,1,0,0,0]=>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]=>6
[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]=>5
[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]=>4
[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]=>4
[1,0,1,1,1,1,0,0,0,1,0,1,0,1,0,0]=>4
[1,0,1,1,1,1,0,0,0,1,0,1,1,0,0,0]=>5
[1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,0]=>5
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>5
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>5
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>6
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>4
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>5
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>4
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>4
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>5
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>4
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>4
Description
The number of simple modules 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.
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
0 Comments


Comment:
Name:
E-Mail:
Send e-mail on new comments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1,1,1,0,0,0,0,1,1,1,0,0,0]=>0
[1,0,1,1,1,1,0,0,0,1,0,0,1,0,1,0]=>1
[1,0,1,1,1,1,0,0,0,1,0,0,1,1,0,0]=>1
[1,0,1,1,1,1,0,0,0,1,0,1,0,0,1,0]=>1
[1,0,1,1,1,1,0,0,0,1,0,1,0,1,0,0]=>2
[1,0,1,1,1,1,0,0,0,1,0,1,1,0,0,0]=>1
[1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,0]=>0
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>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]=>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 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.
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, 1
     list := L;

    A := NakayamaAlgebra(GF(3),list);   pd = 0

        # Apply the syzygy operator until the module is projective or pd exceeds 3
     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)   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
0 Comments


Comment:
Name:
E-Mail:
Send e-mail on new comments:
Captcha:
Please type the top row of
captcha
add comment
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]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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
0 Comments


Comment:
Name:
E-Mail:
Send e-mail on new comments:
Captcha:
Please type the top row of
captcha
add comment
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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=>1
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>1
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>0
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>0
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>0
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>0
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>0
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>0
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>0
Description
The number of simple modules in the corresponding LNakayama algebra that have 2 dimensional second Extension group with the regular module.
Code
DeclareOperation("number2dimextn",[IsList]);

InstallMethod(number2dimextn, "for a representation of a quiver", [IsList],0,function(LIST)

local A,n,simA,RegA,U;

A:=LIST[1];
n:=LIST[2];
simA:=SimpleModules(A);
RegA:=DirectSumOfQPAModules(IndecProjectiveModules(A));
U:=Filtered(simA,x->Size(ExtOverAlgebra(NthSyzygy(x,n-1),RegA)[2])=2);
return(Size(U));
end);



Diff Code

DeclareOperation("number2dimextn",[IsList]);

InstallMethod(number2dimextn, "for a representation of a quiver", [IsList],0,function(LIST)

local A,n,simA,RegA,U;

A:=LIST[1];
n:=LIST[2];
simA:=SimpleModules(A);
RegA:=DirectSumOfQPAModules(IndecProjectiveModules(A));
U:=Filtered(simA,x->Size(ExtOverAlgebra(NthSyzygy(x,n-1),RegA)[2])=2);
return(Size(U));
end);



Created
Jul 13, 2018 at 11:55 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:42 by Nupur Jain
0 Comments


Comment:
Name:
E-Mail:
Send e-mail on new comments:
Captcha:
Please type the top row of
captcha
add comment
Identifier
St001217: Dyck paths ⟶ ℤ
Values
Modified entries:

[1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>0
[1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>0
[1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>0
[1,0,1,0,1,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,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
0 Comments


Comment:
Name:
E-Mail:
Send e-mail on new comments:
Captcha:
Please type the top row of
captcha
add comment
Identifier
St001216: Dyck paths ⟶ ℤ
Values
Modified entries:

[1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>0
[1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>0
[1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>1
[1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>1
[1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>0
[1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>0
[1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>1
[1,0,1,0,1,0,1,1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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
0 Comments


Comment:
Name:
E-Mail:
Send e-mail on new comments:
Captcha:
Please type the top row of
captcha
add comment
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,1,0,1,1,1,0,0,1,0,0]=>13
[1,0,1,0,1,0,1,1,1,0,1,0,0,0]=>14
[1,0,1,0,1,0,1,1,1,1,0,0,0,0]=>11
[1,0,1,0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,0,1,0,0]=>15
[1,0,1,1,1,0,1,1,1,0,0,0,1,0,0,0]=>16
[1,0,1,1,1,0,1,1,1,0,0,1,0,0,0,0]=>17
[1,0,1,1,1,0,1,1,1,0,1,0,0,0,0,0]=>18
[1,0,1,1,1,0,1,1,1,1,0,0,0,0,0,0]=>13
[1,0,1,1,1,1,0,0,0,0,1,0,1,0,1,0]=>13
[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]=>13
[1,0,1,1,1,1,0,0,0,0,1,1,1,0,0,0]=>11
[1,0,1,1,1,1,0,0,0,1,0,0,1,0,1,0]=>14
[1,0,1,1,1,1,0,0,0,1,0,0,1,1,0,0]=>13
[1,0,1,1,1,1,0,0,0,1,0,1,0,0,1,0]=>15
[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]=>14
[1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,0]=>13
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>14
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>15
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>12
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>15
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>14
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>16
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>17
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>15
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>17
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>18
Description
The number of indecomposable modules in the corresponding Nakayama algebra that have vanishing first Ext-group with the regular module.
Code
DeclareOperation("Ext1countall",[IsList]);

InstallMethod(Ext1countall, "for a representation of a quiver", [IsList],0,function(LIST)

local A,simA,RegA,U,L;
A:=LIST[1];
L:=ARQuiver([A,1000])[2];
RegA:=DirectSumOfQPAModules(IndecProjectiveModules(A));
U:=Filtered(L,x->Size(ExtOverAlgebra(NthSyzygy(x,0),RegA)[2])=0);
return(Size(U));

end);
Created
Jun 20, 2018 at 16:24 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:42 by Nupur Jain
0 Comments


Comment:
Name:
E-Mail:
Send e-mail on new comments:
Captcha:
Please type the top row of
captcha
add comment
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,1,0,1,0,0,1,1,0,0]=>2
[1,0,1,0,1,1,0,1,0,1,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1,1,0,0,0,0,1,1,0,0,1,0]=>3
[1,0,1,1,1,1,0,0,0,0,1,1,0,1,0,0]=>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 at 16:42 by Nupur Jain
0 Comments


Comment:
Name:
E-Mail:
Send e-mail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0,1,1,1,1,0,0,0,0,1,1,1,0,0,0]=>7
[1,0,1,1,1,1,0,0,0,1,0,0,1,0,1,0]=>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)[2])=0);
return(Size(U));

end);


Created
Jun 20, 2018 at 15:37 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:41 by Nupur Jain
0 Comments


Comment:
Name:
E-Mail:
Send e-mail on new comments:
Captcha:
Please type the top row of
captcha
add comment
Identifier
St001210: Dyck paths ⟶ ℤ
Values
Modified entries:

[1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>1
[1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>1
[1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>1
[1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>1
[1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>2
[1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>1
[1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>1
[1,0,1,0,1,0,1,1,0,1,0,0,1,0]=>1
[1,0,1,0,1,0,1,1,0,1,0,1,0,0]=>1
[1,0,1,0,1,0,1,1,0,1,1,0,0,0]=>1
[1,0,1,0,1,0,1,1,1,0,0,0,1,0]=>2
[1,0,1,0,1,0,1,1,1,0,0,1,0,0]=>2
[1,0,1,0,1,0,1,1,1,0,1,0,0,0]=>2
[1,0,1,0,1,0,1,1,1,1,0,0,0,0]=>3
[1,0,1,0,1,1,0,0,1,0,1,0,1,0]=>1
[1,0,1,0,1,1,0,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]=>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]=>1
[1,0,1,0,1,1,0,1,0,1,0,1,0,0]=>1
[1,0,1,0,1,1,0,1,0,1,1,0,0,0]=>1
[1,0,1,0,1,1,0,1,1,0,0,0,1,0]=>1
[1,0,1,0,1,1,0,1,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,0,1,0]=>3
[1,0,1,1,1,1,0,0,0,1,0,0,1,1,0,0]=>3
[1,0,1,1,1,1,0,0,0,1,0,1,0,0,1,0]=>3
[1,0,1,1,1,1,0,0,0,1,0,1,0,1,0,0]=>3
[1,0,1,1,1,1,0,0,0,1,0,1,1,0,0,0]=>3
[1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,0]=>3
[1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0]=>3
[1,0,1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>3
[1,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>3
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>3
Description
Gives the maximal vector space dimension of the first Ext-group between an indecomposable module X and the regular module A, when A is the Nakayama algebra corresponding to the Dyck path.
Code
DeclareOperation("ext1largest",[IsList]);

InstallMethod(ext1largest, "for a representation of a quiver", [IsList],0,function(LIST)

local A,L,temp2,RegA;

A:=LIST[1];
L:=ARQuiver([A,1000])[2];
RegA:=DirectSumOfQPAModules(IndecProjectiveModules(A));
temp2:=[];for x in L do Append(temp2,[Size(ExtOverAlgebra(x,RegA)[2])]);od;
return(Maximum(temp2));
end);
Created
Jun 19, 2018 at 18:20 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:41 by Nupur Jain
0 Comments


Comment:
Name:
E-Mail:
Send e-mail on new comments:
Captcha:
Please type the top row of
captcha
add comment
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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,1,0,0]=>5
[1,0,1,1,1,1,0,0,1,0,1,0,1,0,0,0]=>5
[1,0,1,1,1,1,0,0,1,0,1,1,0,0,0,0]=>4
[1,0,1,1,1,1,0,0,1,1,0,0,0,0,1,0]=>3
[1,0,1,1,1,1,0,0,1,1,0,0,0,1,0,0]=>3
[1,0,1,1,1,1,0,0,1,1,0,0,1,0,0,0]=>4
[1,0,1,1,1,1,0,0,1,1,0,1,0,0,0,0]=>4
[1,0,1,1,1,1,0,0,1,1,1,0,0,0,0,0]=>3
Description
The number of simple modules in $eAe$ with projective dimension at most 2 in the corresponding Nakayama algebra $A$ with minimal faithful projective-injective module $eA$.
Code
DeclareOperation("numbersimplesprojdimatmostkeAe",[IsList]);

InstallMethod(numbersimplesprojdimatmostkeAe, "for a representation of a quiver", [IsList],0,function(LIST)

local A,k,injA,RegA,temp,CoRegA,priA,U,UU,g,g2,B,T,TT,W,simB;

A:=LIST[1];
k:=LIST[2];
projA:=IndecProjectiveModules(A);priA:=DirectSumOfQPAModules(Filtered(projA,x->IsInjectiveModule(x)=true));
B:=EndOfModuleAsQuiverAlgebra(priA)[3];
simB:=SimpleModules(B);
W:=Filtered(simB,x->ProjDimensionOfModule(x,30)<=k);
return(Size(W));
end);

Created
May 14, 2018 at 11:30 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:41 by Nupur Jain
0 Comments


Comment:
Name:
E-Mail:
Send e-mail on new comments:
Captcha:
Please type the top row of
captcha
add comment
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,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,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,0,1,1,0,0,0]=>3
[1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0]=>4
[1,0,1,1,1,1,0,0,1,0,1,0,0,1,0,0]=>3
Description
The injective dimension of $A/AfA$ in the corresponding Nakayama algebra $A$ when $Af$ is the minimal faithful projective-injective left $A$-module
Code
DeclareOperation("injdimAAfAA",[IsList]);

InstallMethod(injdimAAfAA, "for a representation of a quiver", [IsList],0,function(LIST)

local A,k,injA,RegA,temp,CoRegA,priA,U,UU,T;

A:=LIST[1];
projA:=IndecProjectiveModules(A);priA:=DirectSumOfQPAModules(Filtered(projA,x->IsInjectiveModule(x)=true));RegA:=DirectSumOfQPAModules(projA);
T:=StarOfModule(DualOfModule(priA));
U:=TraceOfModule(T,RegA);UU:=CoKernel(U);
return(InjDimensionOfModule(UU,30));
end);


Created
May 13, 2018 at 12:59 by Rene Marczinzik
Updated
Mar 13, 2026 at 16:41 by Nupur Jain
0 Comments


Comment:
Name:
E-Mail:
Send e-mail on new comments:
Captcha:
Please type the top row of
captcha
add comment
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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,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
0 Comments


Comment:
Name:
E-Mail:
Send e-mail on new comments:
Captcha:
Please type the top row of
captcha
add comment
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,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,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
0 Comments


Comment:
Name:
E-Mail:
Send e-mail on new comments:
Captcha:
Please type the top row of
captcha
add comment
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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,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
0 Comments


Comment:
Name:
E-Mail:
Send e-mail on new comments:
Captcha:
Please type the top row of
captcha
add comment
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,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