TOPICS
Search

Graph Triangle


A graph triangle is a subgraph isomorphic to the triangle graph K_3, equivalently the cycle graph C_3.

There is a simple formula counting the number of triangles in an undirected graph, namely

 c_3=(Tr(A^3))/6,

where Tr(A) denotes the matrix trace and A is the graph's adjacency matrix (Harary and Manvel 1972).

A graph with no triangles is said to be a triangle-free graph.

Erdős asked whether an n-vertex simple graph with more than n^2/4 edges must have a triangle whose three vertex degrees sum to at least 3n/2 (Erdős Problem 1033). The construction of Erdős and Laskar gives an asymptotic counterexample. Wilms (2026) formalized a finite counterexample with 61 vertices and 931 edges, in which every triangle has degree sum 91. It is a graph blow-up with independent parts of sizes 13, 6, 11, 7, 11, 6, and 7. Numbering the parts from 0 through 6, the edges of the base graph are (0,1), (0,2), (0,4), (0,5), (1,2), (2,3), (2,6), (3,4), (3,6), (4,5), and (4,6).


See also

Graph Cycle, Graph Tetrahedron, Subgraph, Triangle, Triangle-Free Graph, Triangle Graph

Explore with Wolfram|Alpha

References

Harary, F. and Manvel, B. "On the Number of Cycles in a Graph." Mat. Časopis Sloven. Akad. Vied 21, 55-63, 1971.Bloom, T. F. "Erdős Problems: Problem 1033." https://www.erdosproblems.com/1033.Wilms, A. "Erdos Problem 1033: A 61-Vertex Graph Showing That h(n)>=3n/2 Fails." Palomar Registry, Nov. 28, 2026. https://palomar-registry.org/entry.html?id=PALOMAR-2026-11-28-000069&version=1.

Cite this as:

Weisstein, Eric W. "Graph Triangle." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/GraphTriangle.html

Subject classifications