6. Consider the complete graph Kn for n ≥ 3. Color r of the vertices in K, red and the remaining n − r(= g) vertices green. For any two vertices v, w in Kn, color the edge {v, w} (1) red if v, w are both red, (2) green if v, w are both green, or (3) blue if v, w have different colors. Assume that r≥ g. 1 a) Show that for r = 6 and g = 3 (and n = 9) the total number of red and green edges in K9 equals the number of blue edges in K9. b) Show that the total number of red and green edges in K, equals the number of blue edges in K, if and only if n = r+g, where 9, r are consecutive triangular numbers. [The triangular numbers are defined recursively by t₁ = 1,tn+1 tn = n(n+1)/2. Hence t₁ = 1, t2 = 3, t3 = 6,...] = = t + (n+1), n > 1; so

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

6. Consider the complete graph Kn for n ≥ 3. Color r of the vertices in Kn red and the
remaining n − r(= g) vertices green. For any two vertices v, w in Kn, color the edge {v, w} (1)
red if v, w are both red, (2) green if v, w are both green, or (3) blue if v, w have different colors.
Assume that r ≥ g.

a) Show that for r = 6 and g = 3 (and n = 9) the total number of red and green edges in K9
equals the number of blue edges in K9.
b) Show that the total number of red and green edges in Kn equals the number of blue edges
in Kn if and only if n = r + g, where g, r are consecutive triangular numbers.
[The triangular numbers are defined recursively by t1 = 1, tn+1 = tn + (n + 1), n ≥ 1; so
tn = n(n + 1)/2. Hence t1 = 1, t2 = 3, t3 = 6, . . . ]

PS: Please type with the correct one and do not use ChatGPT to give me the answer.

 

6. Consider the complete graph Kn for n ≥ 3. Color r of the vertices in K, red and the
remaining n − r(= g) vertices green. For any two vertices v, w in Kn, color the edge {v, w} (1)
red if v, w are both red, (2) green if v, w are both green, or (3) blue if v, w have different colors.
Assume that r≥ g.
1
a) Show that for r = 6 and g = 3 (and n = 9) the total number of red and green edges in K9
equals the number of blue edges in K9.
b) Show that the total number of red and green edges in K, equals the number of blue edges
in K, if and only if n = r+g, where 9, r are consecutive triangular numbers.
[The triangular numbers are defined recursively by t₁ = 1,tn+1
tn = n(n+1)/2. Hence t₁ = 1, t2 = 3, t3 = 6,...]
=
= t + (n+1), n > 1; so
Transcribed Image Text:6. Consider the complete graph Kn for n ≥ 3. Color r of the vertices in K, red and the remaining n − r(= g) vertices green. For any two vertices v, w in Kn, color the edge {v, w} (1) red if v, w are both red, (2) green if v, w are both green, or (3) blue if v, w have different colors. Assume that r≥ g. 1 a) Show that for r = 6 and g = 3 (and n = 9) the total number of red and green edges in K9 equals the number of blue edges in K9. b) Show that the total number of red and green edges in K, equals the number of blue edges in K, if and only if n = r+g, where 9, r are consecutive triangular numbers. [The triangular numbers are defined recursively by t₁ = 1,tn+1 tn = n(n+1)/2. Hence t₁ = 1, t2 = 3, t3 = 6,...] = = t + (n+1), n > 1; so
Expert Solution
steps

Step by step

Solved in 2 steps with 6 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education