Maths WorkshopMaths problems with full solutions
Exercise 2137Combinatorics › Graph theoryM1Added 3 Nov 2026

Erdős–Gallai theorem (statement)

#Erdős-Gallai#degree sequence#graphical

Statement

State the Erdős–Gallai theorem characterizing graphical degree sequences.

Hint

A non-increasing sequence (d1,…,dn)(d_1,\ldots,d_n) is graphical iff sum is even and a set of inequalities hold.

Show solutionHide solution

Solution

Theorem. A non-increasing sequence d1≥d2≥⋯≥dnd_1\ge d_2\ge\cdots\ge d_n of nonnegative integers is graphic iff ∑di\sum d_i is even and, for every k∈{1,…,n}k\in\{1,\ldots,n\},
∑i=1kdi≤k(k−1)+∑i=k+1nmin⁡(di,k).\sum_{i=1}^k d_i\le k(k-1)+\sum_{i=k+1}^{n}\min(d_i,k).

Conclusion. The theorem gives an algorithmic test for graphical sequences.