We now construct a graph G on 8 vertices as follows. Let B = {0000, 0001, …, 1111} be the set of bit-strings of length 4. There are exactly 16 such bit-strings. Vertices: We say a bit-string is sorted if the four bits in the bit-string occur in increasing order or in decreasing order. E.g. the three bit-strings 0011, 0000, and 1110 are sorted, and the two bit-strings 1001 and 1101 are not sorted. Exactly 8 of the 16 bit-strings in B are sorted. Let the vertex set V be comprised of the 8 bit-strings in B that are sorted. Edges: We include the edge (u,v) in E between the two bit-strings u and v if u and v differ in exactly one position. That is, if three of the four bits in u and v are the same, and one bit differ.  How many edges does G contain?  (The answer is an integer)

Advanced Engineering Mathematics
10th Edition
ISBN:9780470458365
Author:Erwin Kreyszig
Publisher:Erwin Kreyszig
Chapter2: Second-order Linear Odes
Section: Chapter Questions
Problem 1RQ
icon
Related questions
Question

Question 10 options:

We now construct a graph G on 8 vertices as follows.

Let B = {0000, 0001, …, 1111} be the set of bit-strings of length 4. There are exactly 16 such bit-strings.

Vertices: We say a bit-string is sorted if the four bits in the bit-string occur in increasing order or in decreasing order. E.g. the three bit-strings 0011, 0000, and 1110 are sorted, and the two bit-strings 1001 and 1101 are not sorted. Exactly 8 of the 16 bit-strings in B are sorted. Let the vertex set V be comprised of the 8 bit-strings in B that are sorted.

Edges: We include the edge (u,v) in E between the two bit-strings u and v if u and v differ in exactly one position. That is, if three of the four bits in u and v are the same, and one bit differ. 

How many edges does G contain?  (The answer is an integer)

Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
Recommended textbooks for you
Advanced Engineering Mathematics
Advanced Engineering Mathematics
Advanced Math
ISBN:
9780470458365
Author:
Erwin Kreyszig
Publisher:
Wiley, John & Sons, Incorporated
Numerical Methods for Engineers
Numerical Methods for Engineers
Advanced Math
ISBN:
9780073397924
Author:
Steven C. Chapra Dr., Raymond P. Canale
Publisher:
McGraw-Hill Education
Introductory Mathematics for Engineering Applicat…
Introductory Mathematics for Engineering Applicat…
Advanced Math
ISBN:
9781118141809
Author:
Nathan Klingbeil
Publisher:
WILEY
Mathematics For Machine Technology
Mathematics For Machine Technology
Advanced Math
ISBN:
9781337798310
Author:
Peterson, John.
Publisher:
Cengage Learning,
Basic Technical Mathematics
Basic Technical Mathematics
Advanced Math
ISBN:
9780134437705
Author:
Washington
Publisher:
PEARSON
Topology
Topology
Advanced Math
ISBN:
9780134689517
Author:
Munkres, James R.
Publisher:
Pearson,