# Traverse a 3 × 3 × 3 cube; starting from the center [duplicate]

Consider a 3 by 3 by 3 cube — in essence, a Rubix cube — like the one pictured in the following image:

Start from the cube in the middle, enclosed on all sides. Moving to only cubes that are directly adjacent, is it possible to visit all small cubes exactly once?

• Just to clarify, by center small cube you mean the inner cube or one of the center cubes on a face? Nov 29 '18 at 18:45
• It is the inner one, the one whose faces are all adjacent to other small cubes. Nov 29 '18 at 18:46

No

The reason is to do with parity:

Color the little cubes in an alternating pattern, black and white. Suppose the corners are white. Then there are 14 white and 13 black cubes. You always go from a white to a black and from a black to a white. But the center cube is black. So if you start from black, you'll have covered either one more black than white or the same number of each at every step. You'll never get to one more white than black.

Here's an interesting video: 3x3x3 snake cube puzzle. Note how this cube has green corners and when it is stretched out it has green on either end. This is inevitable for the same reason.

• Was just about to post this; well done. Nov 29 '18 at 18:53
• I knew I'd have to be quick! It's a very old trick! Nov 29 '18 at 19:01