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)
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)
![](/static/compass_v2/shared-icons/check-mark.png)
Step by step
Solved in 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Advanced Engineering Mathematics](https://www.bartleby.com/isbn_cover_images/9780470458365/9780470458365_smallCoverImage.gif)
![Numerical Methods for Engineers](https://www.bartleby.com/isbn_cover_images/9780073397924/9780073397924_smallCoverImage.gif)
![Introductory Mathematics for Engineering Applicat…](https://www.bartleby.com/isbn_cover_images/9781118141809/9781118141809_smallCoverImage.gif)
![Advanced Engineering Mathematics](https://www.bartleby.com/isbn_cover_images/9780470458365/9780470458365_smallCoverImage.gif)
![Numerical Methods for Engineers](https://www.bartleby.com/isbn_cover_images/9780073397924/9780073397924_smallCoverImage.gif)
![Introductory Mathematics for Engineering Applicat…](https://www.bartleby.com/isbn_cover_images/9781118141809/9781118141809_smallCoverImage.gif)
![Mathematics For Machine Technology](https://www.bartleby.com/isbn_cover_images/9781337798310/9781337798310_smallCoverImage.jpg)
![Basic Technical Mathematics](https://www.bartleby.com/isbn_cover_images/9780134437705/9780134437705_smallCoverImage.gif)
![Topology](https://www.bartleby.com/isbn_cover_images/9780134689517/9780134689517_smallCoverImage.gif)