GATE Computer ScienceVery hardGATE CS
How many perfect matchings does the 4-dimensional hypercube graph Q₄ (16 vertices, two vertices adjacent when their 4-bit labels differ in one bit) have?
- A. 256
- B. 216
- C. 272
- D. 288
Correct answer: C. 272
Counting perfect matchings with a bitmask dynamic programme over the 16 vertices (always match the lowest uncovered vertex) gives 272. Q₂ has 2 and Q₃ has 9 perfect matchings, and Q₄ has 272.
More Discrete Mathematics questions
- In how many ways can a 4 × 6 board be completely tiled with 1 × 2 dominoes (equivalently, how many perfect matchings does the 4 × 6 grid…
- What is the maximum number of edges in a simple graph with 10 vertices that does not contain K₄ (the complete graph on 4 vertices) as a…
- How many subgroups (including the trivial group and the whole group) does ℤ₆ × ℤ₆ have?
- How many primitive roots does the multiplicative group of units modulo 98 have?
- How many residues r modulo 105 are perfect squares, that is, how many distinct values of x² mod 105 occur for x = 0, 1, …, 104 (r = 0…
- What is the exponent of the largest power of 2 that divides 7⁶⁰ − 1?