recategorized by
312 views

1 Answer

0 votes
0 votes

We have λ (>=2) different colors. 

ϰ(T)=2 ∀ n>=2 because, A tree wont have an odd length cycle.

Take one vertex to start coloring, let say A, then for A there are λ choices.Now consider any adjacent vertex to A. It can have λ-1 choices (except the color given to A) and all the adjacent vertices of A have λ-1 independent choices (any two adjacent vertices of A can't be adjacent otherwise they will form a cycle). Let B be an adjacent vertex to A then the neighbors of B (except A) also have λ-1 independent choices(set of colors - color given to B) and this process recurses.

In this way one vertex with λ choices other with λ-1  choices. 

∴ total possible colorings=λ*(λ-1)n-1

Related questions

3 votes
3 votes
0 answers
1
admin asked Dec 15, 2022
387 views
Count the number of perfect matchings in the bipartite graph whose adjacency matrix $\text{A}$ is as follows.\[\left[\begin{array}{lll}1 & 1 & 0 \\0 & 1 & 1 \\1 & 1 & 1\e...
1 votes
1 votes
1 answer
3
admin asked Dec 15, 2022
331 views
Simplify the Boolean function $F=W^{\prime} X^{\prime} Y^{\prime}+W X^{\prime} Y^{\prime}+W^{\prime} X Y Z^{\prime}+X^{\prime} Y Z^{\prime}$
1 votes
1 votes
2 answers
4
admin asked Dec 15, 2022
290 views
If the maximum height of a binary tree is $\mathrm{N},$ then how many number of nodes will there be?