Problem solving · Graph theory

Colour Tower

Stack the cubes so every side of the tower shows every colour once. Mathematicians call it the Instant Insanity puzzle. Try it by hand first, then learn the trick that cracks it.

Moves 0Time 0:00
Looking at: front and right
How to play

The goal

Each cube has coloured faces. Stack them so that looking at the front, the right, the back and the left of the tower, you see every colour exactly once on each side. Top and bottom faces don't count: they're hidden.

Moving the cubes

  • Tap a cube (or its number) to pick it.
  • Spin, roll or tip it with the buttons.
  • Keyboard: 1–5 pick, ←→ spin, ↑↓ roll, QE tip, [] walk round.
  • Walk round the tower to see the back, or just read the side panel.

How it's meant to go

Have a real go first: it's supposed to feel impossible. Use the hints if you're stuck. Then press Learn the trick: a short lesson uses your own cubes to show the graph method, and you solve the puzzle with it. Level 4 might not have an answer at all. Prove it.

The graph trick

You've cracked Colour Tower.

That's how competition maths works: when a problem looks hopeless, change the picture. Here, 331,776 ways to stack four cubes became a few lines on a graph, and even "impossible" turned into something you could prove.

Enjoyed that? It's what competition maths coaching feels like: UKMT, AMC and SEAMO problem solving, one idea at a time.