A graph triangle is a subgraph isomorphic to the triangle graph , equivalently the cycle
graph
.
There is a simple formula counting the number of triangles in an undirected graph, namely
where
denotes the matrix trace and
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 -vertex simple graph with more
than
edges must have a triangle whose three vertex
degrees sum to at least
(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
,
,
,
,
,
,
,
,
,
, and
.