This question was inspired by [Math puzzles for dinner](https://mathoverflow.net/questions/29323/math-puzzles-for-dinner/29399#29399).


The arrow compatibility conditions in that problem can be considered an attempt to discretize the notion of a continuous vector field.


The [Hairy-Ball Theorem](http://en.wikipedia.org/wiki/Hairy_ball_theorem) states that there is no continuous nowhere-vanishing vector field on an even-dimensional sphere.


We are led to the following formulation of a discrete Hairy-Ball Theorem for two dimensions:



> 
> Instead of a $ 2 $-sphere, we consider unit squares on the surface of a $ (3 \times 3 \times 3) $-Rubik’s cube. Instead of searching for a continuous nowhere-vanishing vector field, we ask if there exists a ‘legal configuration’ of arrows on the squares of the cube.
> 
> 
> 


A ‘legal configuration’ of arrows consists of the following:


1. For any non-corner square, an arrow pointing in one of the eight cardinal directions is placed.
2. For any corner square, there is one cardinal direction that does not point to an adjacent square. For these squares, the placed arrow should point in one of the other seven directions.


The following conditions are modified from the original formulation:


3. Orthogonally-adjacent non-corner squares should be compatible in the sense that if they are flattened to lie in a plane, then the arrows should be at most $ 45^{\circ} $ apart.
4. Orthogonally-adjacent corner squares should be compatible in the sense that if they are flattened to lie in a plane, the arrows are one rotation away from each other within the seven allowed directions. For example, if northeast is a prohibited direction on a corner square, then a northward pointing arrow on the square and an eastward pointing arrow on an adjacent square are compatible.



> 
> So, can you comb a hairy Rubik's cube discretely? Does a legal configuration of arrows exist? What about an $ (n \times n \times n) $-cube?
> 
> 
> 



The Discrete Hairy-Ball Theorem
By interpolating "legal configuration" if it were to exist, I think you can obtain a nowhere vanishing, continuous vector field on $S^2$. Suppose that for some $n$ there is a legal configuration on the $n\times n \times n$ cube. For each 1x1 face, put a vertex at the center. Then connect vertexes whose 1x1 face's touch. (basically something like a dual graph, but I don't know what the real terminology is). 


Doing this, you get $(n-1)^2$ squares on each face of the Rubik's cube, $n-1$ squares on each edge of the Rubik's cube, and one triangle for each vertex of the cube. Now, put the arrow from the 1x1 face at the associated vertex. For each square or triangle we can now linearly interpolate to get a vector field over the whole thing. These will patch back together to form a continuous vector field on $S^2$ because on the lines they are glued along, the value on each piece is linear interpolation between the same two vectors. Thus, basically it remains to check that given a "legal configuration" you cannot interpolate to a zero vector. 


The squares are not too bad, because the most that two of the vectors being interpolated can be off by is $90^\circ$, so you can't get a zero vector.


The triangles are a little trickier because things get twisted around, but if you try to write down the possible cases, you can see that there is basically only one type of "legal" corner configuration, and it doesn't interpolate to a zero vector. 


This seems to show that you don't even need to assume anything special about corner squares, you can allow them to point in the 8th illegal position, and there are still no "legal configurations."


