The degree of a vertex, and regular graphs