MathsReadCompetitive mathematics
Pattern recognition · integer answerhard20 min

Reconstructing a cube

Cube Face Logic

A cube has faces labelled 1 through 6. The following triples list faces meeting at a corner (their order does not matter): (1,2,3), (1,3,5), (1,5,4), (1,4,2). Find all three pairs of opposite faces. Put the smaller face label first in each pair, order pairs by their smaller labels, then concatenate all six digits into one integer. For instance, pairs (1,4),(2,6),(3,5) would be encoded 142635; this is only an encoding example, NOT the answer. Each face has exactly one opposite and four adjacent faces.

Learning goal: Reconstruct opposite cube faces from local corner adjacency.

Look for the underlying structure rather than guessing the next number. Submit only the final integer; you can open hints below as needed.

Check your answer without signing in. Sign in to save your progress.

Accepted format: a whole number such as 42 or 123456789. No commas, formulas, or source code.

Hints

Hint 1

Which four faces meet face 1 at its listed corners?

Hint 2

The one face never shown with face 1 must be its opposite.

Hint 3

Around face 1 the neighbours cycle 2–3–5–4; the opposite pairs across that ring are (2,5) and (3,4).

Common mistake to avoid

Treating faces that share a corner as opposite, or formatting pairs incorrectly.

How to approach this problem

For a given face, list all labels sharing a corner with it. The only other face absent from its four adjacent neighbors is opposite to it.

Worked example with different values

If a face P is adjacent to Q,R,S,T in a six-face cube, the remaining face U must be opposite P.

Apply the same reasoning to the challenge. This example is a separate practice problem.

Learn the technique: Sequence patterns: differences, recurrences and interleaving

Report a question or explanation issue

Sequence patterns · Repeating remainders

Back to problems →