Check the top from the base
With the whole base known, the top is one sum away. The first pyramid on this page has the base 16, 1, 4 and 18, so its top is 16 + 3 × 1 + 3 × 4 + 18 = 49 before a single brick of the middle is written.
A Number Pyramid is a pyramid of bricks in which every brick holds the sum of the two bricks it rests on, and a few numbers are printed. You add up from known pairs, take away to go down, and in the hard ones look several rows down or call an empty brick x and solve a small equation.
Making a puzzle book? Number Pyramid book generator
By Wisdom Effect · Updated
A Number Pyramid is a wall of bricks stacked into a triangle, with a few numbers printed and one rule: each brick holds the sum of the two bricks it rests on. Small ones are simple adding practice for children. Tall ones, with the printed numbers far apart, turn into real logic puzzles, where you look several rows down at once or give an empty brick a name and solve for it.
One brick sits at the top, two under it, three under those and so on down to the bottom row, the base. A pyramid of 5 rows has 5 bricks in its base and 15 in all.
A brick rests on the two bricks right under it, half a brick to each side, and holds what those two add up to. Only the bricks of the base rest on nothing.
Every brick ends up with a whole number of 1 or more: no zeros, no negatives, no fractions. So each brick is bigger than both bricks it rests on, and the top is the largest number.
Our puzzles print as many numbers as the pyramid has rows: the whole base at Easy, bricks spread over the pyramid at the harder levels. The rest follows in one way only.
Rows are counted from the top and bricks from the left: row 3, brick 2 is the second brick of the third row, and row 1 is the top brick on its own.
An Easy puzzle from our generator: 4 rows and numbers up to 100, with the whole base printed: 16, 1, 4 and 18. The steps under it fill it row by row and then check the top. Try it yourself first, then compare with the steps.
4 rows · numbers up to 100
Tap a brick, then type its number: a whole number from 1 to 100.
Step 1
Each brick of row 3 rests on two neighbours of the base: 16 + 1 = 17, 1 + 4 = 5 and 4 + 18 = 22.
Step 2
Row 2 rests on row 3 the same way: 17 + 5 = 22 and 5 + 22 = 27.
Step 3
The top rests on the two bricks of row 2: 22 + 27 = 49. Every brick is full and every sum works. Solved.
Step 4
Count the base 1, 3, 3 and 1 times: 16 + 3 × 1 + 3 × 4 + 18 = 49, the same top. A different answer would mean a slip somewhere in the middle.
Every brick is a sum of bricks below it, so the top is a sum of the whole base, but not an even one. A brick of the base counts once for every way up from it to the top, zigzagging through the rows, and those counts are the rows of Pascal’s triangle. The outer bricks count once; the middle ones count most. The same holds for any brick and the bricks a few rows under it, which is what the Hard moves of this guide use.
| Rows | Each base brick counts | Top with a base of 1s |
|---|---|---|
| 3 | 1 · 2 · 1 | 4 |
| 4 | 1 · 3 · 3 · 1 | 8 |
| 5 | 1 · 4 · 6 · 4 · 1 | 16 |
| 6 | 1 · 5 · 10 · 10 · 5 · 1 | 32 |
| 7 | 1 · 6 · 15 · 20 · 15 · 6 · 1 | 64 |
| 8 | 1 · 7 · 21 · 35 · 35 · 21 · 7 · 1 | 128 |
With the whole base known, the top is one sum away. The first pyramid on this page has the base 16, 1, 4 and 18, so its top is 16 + 3 × 1 + 3 × 4 + 18 = 49 before a single brick of the middle is written.
Two rows down, the top minus the two outer bricks is twice the middle brick, so it is always even. An odd number there means a slip in one of the bricks you used.
With every base brick a 1, an 8-row pyramid already has 128 at the top, and each of the two middle bricks of its base counts 35 times. That is why our books keep numbers up to 100 for pyramids of 5 rows at most, and go up to 1,000 for 6 to 8 rows.
Every Number Pyramid, small or tall, is solved in the same loop. Go down this list, and start again from the top of it each time you write a number.
Add: fill every brick whose two bricks below are known, row by row up to the top.
Take away: where a known brick rests on one known brick, the other one is the difference.
Repeat both until nothing changes. Every new number can open the brick above it, below it or beside it.
Look two rows down from each known brick: with the outer two of the three bricks there known, the middle one is (top − left − right) ÷ 2.
Look three or more rows down: when the bricks under a known brick are all known but one, count them 1, 3, 3, 1 or 1, 4, 6, 4, 1.
Still stuck: call one empty brick x, write what follows and find the brick that gets two answers. Tall pyramids may need a second unknown, y. After each number, go back to the first step.
From adding two bricks to two unknowns, in the order you need them. Each one is shown on a real puzzle from our Number Pyramid generator, at the moment the move applies.
Easy puzzles print the whole base and need nothing but adding, row by row up to the top. Medium puzzles spread their printed numbers over the pyramid, so some bricks have to come from the brick above them. These two moves solve every Easy and Medium puzzle.
A brick whose two bricks below are both known holds their sum. Write it in, then look at the brick above it.
Adding works anywhere in the pyramid, not only up from the base. In this Medium puzzle the base holds a 3 and a 4 side by side, so the brick resting on both, row 4, brick 2, is 3 + 4 = 7. That opens the next move at once: the 15 printed above it in row 3 rests on the new 7 and an empty brick.
A known brick that rests on one known and one empty brick gives the empty one away: the brick above minus its known neighbour.
Row 3, brick 1 holds 23 and rests on the 4 at the start of the base and on an empty brick. The two bricks below make 23 together, so the empty one, row 4, brick 2, is 23 − 4 = 19. The same works on the right: 14 rests on an empty brick and the 7, so that brick is 14 − 7 = 7. Always take the brick below away from the brick above, never the other way round.
In a Hard puzzle you soon reach a point where no brick can be added or taken away. Before you reach for an unknown, look further down: a known brick fixes what the bricks two, three or more rows under it add up to, each counted a set number of times.
A known brick with both bricks under it empty, and the outer two of the three bricks two rows down known: the middle one of those three is (top − left − right) ÷ 2.
The top is 87. Two rows down, row 3 holds 23 on the left and 18 on the right, with its middle brick empty, and both bricks of row 2 are empty. Each brick of row 2 takes in that middle brick once, so the top is 23 + 18 + twice the middle. That leaves 87 − 23 − 18 = 46 for two middles, and row 3, brick 2 is 23. Neither brick of row 2 could come first: each rests on the empty middle.
The four bricks three rows under a known brick count into it 1, 3, 3 and 1 times; the five bricks four rows under it count 1, 4, 6, 4 and 1 times. When all of them are known but one, that one follows.
The top is 84 and the base reads 13, an empty brick, 16 and 8. The two middle bricks of the base reach the top along three paths each and the outer two along one, so 84 = 13 + 3 × the empty brick + 3 × 16 + 8. The known part makes 13 + 48 + 8 = 69, which leaves 84 − 69 = 15 for three times the empty brick: row 4, brick 2 is 5. Two rows down is the same idea with 1, 2 and 1.
Some pyramids give nothing away until you name a number you do not know yet. Call an empty brick x, write what each brick you can reach holds in terms of x, and wait for a brick that can be worked out two ways. Hard puzzles need one unknown at a time; Expert puzzles need two at least once.
Give an empty brick the name x and work out the bricks around it from it, such as x − 6 or 31 − x. When one brick gets two different answers, they must be equal, and that equation gives x.
Rows 1 and 2 are full, with 60, 31 and 29, and the base holds only the 6 and the 9 at its ends. Call row 3, brick 1 x. Then row 3, brick 2 is 31 − x and row 4, brick 2 is x − 6. Going on, row 3, brick 3 is 29 − (31 − x) = x − 2, and row 4, brick 3 is (31 − x) − (x − 6) = 37 − 2x. Now row 3, brick 3 also rests on 37 − 2x and the 9, which make 46 − 2x. Both answers are the same brick, so x − 2 = 46 − 2x, 3x = 48 and x = 16.
When one unknown leads nowhere, name two empty bricks x and y. Work out what follows as before: two bricks that get two answers give two equations, and together they give both numbers.
After three moves this Expert pyramid has 589 at the top, 320 and 269 under it, and nothing more until row 5. Call row 3, brick 1 x and row 4, brick 1 y. Working down from them, ten bricks get an expression, listed with the picture. Row 4, brick 4 comes out as 3x − y − 371, but it also rests on 264 − 3x + 3y and the 31, so 6x − 4y = 666. Row 5, brick 4 comes out as 264 − 3x + 3y and also rests on x − 3y + 137 and the 13, so 4x − 6y = 114. Halve both: 3x − 2y = 333 and 2x − 3y = 57. Three times the first minus twice the second leaves 5x = 885, so x = 177 and y = 99.
7 pyramids from our generator, each a step harder than the one before. Each is solved with the moves of this guide; the hint button names the bricks of the next move. Pick a brick and type its number digit by digit, on the keyboard or with the keys under the pyramid.
Medium, 3 rows and numbers up to 20, the size of our kids books. One sum, then two differences.
3 rows · numbers up to 20
Tap a brick, then type its number: a whole number from 1 to 20.
Medium, 5 rows and numbers up to 100, the size of our Medium books. The top is printed, and most bricks come from taking away.
5 rows · numbers up to 100
Tap a brick, then type its number: a whole number from 1 to 100.
Hard, 4 rows and numbers up to 100. After the first sum, look two rows down.
4 rows · numbers up to 100
Tap a brick, then type its number: a whole number from 1 to 100.
Hard, 5 rows and numbers up to 100, like the hardest pyramids of our senior books. When it stalls, count four bricks 1, 3, 3 and 1 times.
5 rows · numbers up to 100
Tap a brick, then type its number: a whole number from 1 to 100.
Hard, 6 rows and numbers up to 1,000, the size of our Hard books. Once on the way it needs an unknown, x.
6 rows · numbers up to 1,000
Tap a brick, then type its number: a whole number from 1 to 1,000.
Expert, 7 rows and numbers up to 1,000. It starts with two unknowns at once, before any brick can be added or taken away.
7 rows · numbers up to 1,000
Tap a brick, then type its number: a whole number from 1 to 1,000.
Expert, 8 rows and numbers up to 1,000, the size of our Expert books and the tallest pyramid here. It needs x and y once; the rest is adding and taking away.
8 rows · numbers up to 1,000
Tap a brick, then type its number: a whole number from 1 to 1,000.
Want more? Make a fresh page with the Free Number Pyramid Puzzle Generator and print it, with its answers.
A brick rests on the two bricks directly under it, half a brick to each side. The other bricks of that row play no part in it, however close they look.
Going down, it is always the brick above minus the known brick below. A result of 0 or less means the numbers were swapped, since every brick holds 1 or more.
(31 − x) − (x − 6) is 37 − 2x, not 25. Put brackets around every expression you take away, and only then remove them.
If x comes out as a fraction or below 1, an expression went wrong earlier on. Every number of the pyramid is a whole number of 1 or more.
A guessed brick can fit its neighbours and still break the top several rows later. Every pyramid on this page is solved with the moves of this guide, without a guess.
Bigger numbers make a pyramid slower, but what sets the level is where the printed numbers sit and the logic they leave you. This is how our book generator makes its four levels, and the pyramid each one uses by default.
| Level | Pyramid | Printed numbers | Moves it needs |
|---|---|---|---|
| Easy | 4 rows, up to 100 | 4, the whole base | Adding. |
| Medium | 5 rows, up to 100 | 5, spread out | Adding and taking away. |
| Hard | 6 rows, up to 1,000 | 6, spread out | Those two, then two or more rows down and one unknown, x. |
| Expert | 8 rows, up to 1,000 | 8, spread out | All of those, then two unknowns, x and y. |
In 15 puzzles of each preset, every one printed exactly as many numbers as its pyramid has rows. Every level also comes smaller: Easy and Medium from 3 rows, Hard from 4 and Expert from 7. Kids books keep to Easy and Medium with up to 5 rows and numbers up to 100; senior books go up to Hard with up to 6 rows.
Each brick above the bottom row holds the sum of the two bricks it rests on. Some numbers are printed; fill in every other brick with a whole number of 1 or more so that all the sums work. A good puzzle has one solution.
Work down with subtraction: a brick minus one of the two bricks under it gives the other. Where that runs out, look two rows down, where the middle brick is half of the top minus the two outer bricks, or call an empty brick x and solve for it.
Count each base brick as often as Pascal’s triangle says: 1, 2, 1 for three rows, 1, 3, 3, 1 for four and 1, 4, 6, 4, 1 for five. The base 16, 1, 4 and 18 gives 16 + 3 + 12 + 18 = 49 at the top.
Yes. Addition pyramid, sum pyramid, number wall and math pyramid are other names schools and puzzle books use for the same puzzle: a pyramid of bricks where every brick holds the sum of the two bricks below it. Every puzzle made here can be solved by anyone who knows it under one of those names.
Call one empty brick x and write the bricks next to it in terms of x, adding and taking away as usual. As soon as one brick can be worked out two ways, set the two answers equal. In the example of this guide that gives x − 2 = 46 − 2x, so x = 16.
No. A good puzzle has one solution that logic reaches. Every pyramid on this page is solved with the moves of this guide, and our generator checks each puzzle with the same kinds of moves before it goes into a book.
Less the size of the numbers than where the printed ones sit. With the whole base printed it is only adding; with numbers spread out you take away; when they sit far apart you need the counts of the rows below or an unknown. Our Expert pyramids of 7 or 8 rows need two unknowns at once.
Small ones suit any child who can add: our kids books start with 3 rows and numbers up to 20 for ages 5 and up, and grow to 4 rows up to 100 for ages 9 and up. The pyramids that need x make a gentle first step into algebra, and the Expert ones keep adults busy.
A puzzle page and its answer key page, as they come out of a Number Pyramids book.


Print-ready Number Pyramid books for Amazon KDP, Easy to Expert on pyramids of 3 to 8 rows, one solution per puzzle and the answer key. Number Pyramid books are in every plan, Starter included, and in the free trial.
Number Pyramid book generatorJust one page? Free Number Pyramid Puzzle Generator