Choose a spanning tree of the connected graph and root it at . List vertices in nonincreasing order of their distance from in this tree, breaking ties arbitrarily. The root has distance zero and is last, so .
Every other vertex has a parent one step closer to the root. That parent is adjacent to it and appears later in the ordering. Hence
For a graph of one vertex the condition is vacuous and the same ordering works.
Write , which is at least two because has the two specified neighbours. Give and the same colour, say colour one; this is proper because they are nonadjacent.
Apply part (i) to the connected graph , with last. Colour its vertices greedily in the resulting order using a palette of colours. Every vertex before has a neighbour later in this order, so at most of its neighbours have already received colours. At least one palette colour is available.
When is reached, all its neighbours are coloured, but the two neighbours have the same colour. Thus there are at most distinct forbidden colours. Colour with a remaining one. This constructs a proper colouring with
The common colour on the two initial vertices replaces the usual need for an uncoloured neighbour at the last greedy step.

Articles by others on the same topic (0)

There are currently no matching articles.