closed by
359 views
0 votes
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-

closed by

Related questions

128
views
1 answers
0 votes
nihal_chourasiya asked Jan 6
128 views
isn’t this language regular?it’s nfa according to me
564
views
1 answers
0 votes
Dhiraj_777 asked May 4, 2023
564 views
In a Connected Planar Bipartite Graph of order 10 atmost how many edges be present ?
424
views
0 answers
0 votes
Abhisek Tiwari 4 asked Jan 25, 2019
424 views
A graph with each vertex has even degree contain Hamiltonian Cycle.True/False plz explain how to ensure Hamiltonian Cycle.
509
views
0 answers
0 votes
Abhisek Tiwari 4 asked Jan 20, 2019
509 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...