A -regular graph satisfies the neighborhood diversity condition if it is possible to label each vertex with one of such that for each vertex, all its neighbors have different labels.
Determine the sum of all satisfying such that the -hypercube graph satisfies the neighborhood diversity condition.
- In a -regular graph, each vertex has neighbors.
- An -hypercube graph is the graph of an -dimensional hypercube. In other words, its vertices are elements of (that is, -tuples with each component 0 or 1), and two vertices are adjacent if and only if they differ in exactly one component.
- The labeling is not necessarily a proper vertex coloring: two adjacent vertices may have the same label.