1,252 views
0 votes
0 votes
The number of ways to properly color (using just sufficient colors) a connected graph without any cycle using five colors, such a way that no two adjacent nodes have the same color?

1 Answer

Best answer
5 votes
5 votes
I don't think the question is incomplete they are saying connected graph without cycle which means its a tree which is a bipartite graph! so no need to mention it explicitly.

Every tree we can divide into two groups such that no two vertices in a group share an edge. Suppose we have done that and we have two groups-A and B.

Now, from 5 colors we can select 2 different colors in 5C2 ways. Suppose we selected RED and BLUE.

we have two ways to assign R and B to these 2 groups. A-Red B-blue and A-Blue B-Red.

Total 5C2*2=20 ways.
selected by

Related questions

0 votes
0 votes
2 answers
1
1 votes
1 votes
0 answers
3
srestha asked Sep 21, 2018
1,785 views
Which of the following complete bipartite graphs will have Hamiltonian cycle?$a)K_{3,3}$$b)K_{2,4}$
0 votes
0 votes
2 answers
4
yuuchan asked Jul 22, 2023
555 views
If G is a complete bipartite graph with n vertices (n >= 2) and minimum number of edges, then matching number of G is ____1n-1⌊n/2⌋⌈n/2⌉