MathDB
Graph numbering

Source: 2023 Tuymaada Junior P5

July 12, 2023
graphcombinatorics

Problem Statement

A graph contains pp vertices numbered from 11 to pp, and qq edges numbered from p+1p + 1 to p+qp + q. It turned out that for each edge the sum of the numbers of its ends and of the edge itself equals the same number ss. It is also known that the numbers of edges starting in all vertices are equal. Prove that s=12(4p+q+3).s = \dfrac{1}{2} (4p+q+3).