closed by
671 views
0 0 votes
closed with the note: resolved

we define a new measure ,called GoldIndex(G,C).it takes two arguments as input namely a graph G and set of colors C respectively . the subroutine outputs an integer denoting the number of ways assigning colors to vertices in G such that at least two vertices in G have the same color.Let $k_n$ denote the complete graph having n vertices respectively  and C={red,green,blue ,yellow}.then the GoldIndex ($k_3,C$) will be equal to_

my attempt –

the number of ways assigning colors to vertices in G such that at least two vertices in G have the same color= two vertices have same colors + three vertices have same colors (because $K_3$)

two vertices have same colors=$\binom{4}{2}$*3  // first choosing two  colors out of four and then assigning these two colors on three vertices 

three vertices have same colors (because $K_3$)=$\binom{4}{3}$*1 //  first choosing three  colors out of four and then assigning these three  colors on three vertices so only one way

so total no. of ways =18+4 =22

i don’t know where m i going wrong ,please help me-


i know their solution is correct but i want to verify my approach-

Position:
Show:

Related questions

0 0 votes
1 answers 1 answer
387
387 views
nihal_chourasiya asked Jan 6, 2024
387 views
isn’t this language regular?it’s nfa according to me
1 1 vote
1 1 answer
1.0k
1.0k views
Dhiraj_777 asked May 4, 2023
1,049 views
In a Connected Planar Bipartite Graph of order 10 atmost how many edges be present ?
0 0 votes
0 0 answers
890
890 views
Abhisek Tiwari 4 asked Jan 25, 2019
890 views
A graph with each vertex has even degree contain Hamiltonian Cycle.True/False plz explain how to ensure Hamiltonian Cycle.
0 0 votes
0 0 answers
1.1k
1.1k views
Abhisek Tiwari 4 asked Jan 20, 2019
1,050 views
Checking for Euler Pathi.A graph has Euler path if exactly two vertices is of odd degree.if a graph have euler circuit=>all vertices even degree=>euler circuit which alre...