Math · Make it · See it · Get it

Big patterns.
Little pieces.

Numbers have a few tricks up their sleeves. Odd numbers become cubes. Even numbers make rectangles. Two triangles turn into a square.

Welcome to the Number Pattern Lab. Pick a pattern, move the pieces, and find out why.

Let’s investigate ↓

01 / Odd numbers → cubes

Odd rows. A whole cube.

Keep the odd numbers going! Take 1 for the first cube, the next 2 odds for the second cube, the next 3 for the third… Each group makes a cube.

Choose the size of your pattern

n is the cube’s side length.

Choose a whole number from 1 to 8.

Can several cubes make one square?

Pieces in the sum4
Unit cubes altogether64

Try this: guess the total before changing n. Then tap a number below to find its pieces.

4 consecutive odd-number packets

1 tile = 1 unit cube
Four consecutive odd-number packets make a cube13 + 15 + 17 + 19 = 64 = 4 cubed. Enable JavaScript to see and rearrange the pieces.

The next four odd numbers, starting at 13, make 64.

Find a piece

Tap a term in the sum below to spotlight its pieces.

Your sum, in living color.

Tap a term to spotlight its pieces. A dark outline marks your choice.

    = 64 = 4³

    The rule behind the picture

    n consecutive odd numbers add up to n³.

    Show me why it works

    The average of the first and last is n². There are n numbers, so their sum is n × n² = n³.

    Start small. Spot the pattern.

    • 1³ = 1
    • 2³ = 3 + 5 = 8
    • 3³ = 7 + 9 + 11 = 27
    • 4³ = 13 + 15 + 17 + 19 = 64