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

Fundamentals of Information Systems
8th Edition
ISBN:9781305082168
Author:Ralph Stair, George Reynolds
Publisher:Ralph Stair, George Reynolds
Chapter3: Database Systems And Applications
Section: Chapter Questions
Problem 2.1DQ
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
Recommended textbooks for you
Fundamentals of Information Systems
Fundamentals of Information Systems
Computer Science
ISBN:
9781305082168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Operations Research : Applications and Algorithms
Operations Research : Applications and Algorithms
Computer Science
ISBN:
9780534380588
Author:
Wayne L. Winston
Publisher:
Brooks Cole
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
CMPTR
CMPTR
Computer Science
ISBN:
9781337681872
Author:
PINARD
Publisher:
Cengage
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Principles of Information Systems (MindTap Course…
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781285867168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning