Can Stack
Find the rule for summing consecutive numbers
Identify the pattern of triangular numbers.
Devise and use problem solving strategies to explore situations mathematically (be systematic, use algebra).
This is another example of a problem that has many methods of solution. The first two parts can be solved both by a relatively naīve approach and by quite sophisticated methods. This means that a range of students should be able to find success at least for the first two parts of the problem.
This problem is an excellent way to introduce or reinforce quadratic equations. At the same time it gives an opportunity to relate a word problem and triangular numbers. It might be noticed that triangular numbers appear in a large number of contexts. For instance, triangular numbers also count the number of handshakes that take place between a given number of people and they also count the number of ways of choosing two people from a crowd at a pop concert. Rows of Numbers is another problem on the site at Level 5 that uses triangular numbers.
Like a number of problems this problem aims to get students to produce a general pattern in algebraic form from a ‘real’ situation. This is a useful skill that is needed in a wide range of applications both inside and outside mathematics. It develops into quite complicated modelling that, at the senior school level and at university, may involve derivatives.
One other thing, the sum of n terms here (the number of cans in a stack n rows high), is probably the first time that students will encounter the sum of an arithmetic progression. This sum is an arithmetic progression with common difference 1. The sum of arithmetic progressions with common difference other than one can be found in the same way as is done in part (c). They are part of Algebra at Level 7.
Problem
The local supermarket creates a display of cans in the shape of a triangle. The top four rows are shown below.

1. If the stack had 10 rows, how many cans will be on display?
2. What if the display was 21 rows high?
3.Find a rule for finding the number of cans for any number of rows.
Teaching sequence
- Draw the stack of cans on the board.
How many cans have been used?
How many cans will be in the next row? - Pose the problem to the class.
What strategy could we use to start this problem?
Do you remember any other problems that seem like this one? - As the students work on the problem ask questions that focus on the methods they area using to sum the consecutive numbers.
How are you adding the numbers?
Can you think of any other ways that you could add them? Any quicker ways? - Get the students to justify their reasoning by writing a concluding statement to explain their answer.
- Share and discuss answers.
- If the students have not found the general rule "guide" them through the methods discussed below.
Extension to the problem
- How many rows would a stack of 136 cans have?
- What would a stack of 432 cans look like?
Solution
There are a number of ways of doing the first two parts of this question. We have given two here. The first one is a nave one that should be accessible to most students, though they may not necessarily see the ‘slick’ way to add the numbers together. If this approach eludes them they may find it hard to find a rule for the third part of the problem.
Method 1:
Seeing a Pattern
- The number pattern is 1 + 2 + 3 + 4 + ... Each new row gets one more can.
So, in a 10 row stack, there will C = 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 cans. It’s easy to add these up to give a total of 55.
However, it’s useful to try to find a quick way to add numbers in a list like this. This can be done by noticing that certain pairs of numbers add up to 11. For instance, if we add the end pair and the next to end pair and so on, we get
1 + 10 = 11
2 + 9 = 11
3 + 8 = 11
4 + 7 = 11
5 + 6 = 11
Now five lots of 11 equal 55, so we get the answer that we got above by straight addition.
- If the display is 21 rows deep, we need to find C = 1 + 2 + 3 + 4 + ... + 18 + 19 + 20 + 21. Again this can be found in two ways: by straightforward addition or by a pairing method. The problem with the pairing is that this time there are an odd number of terms. So we get
1 + 21 = 22
2 + 20 = 22
… …
9 + 13 = 22
10 + 12 = 22
11??
What can we do with the 11? Well ignore it for a moment. There are clearly 10 lots of 22, and that gives 220. Now add in the 11 to get 231.
- Generalising this method to any number of rows we get C = 1 + 2 + 3 + 4 + ... +(n -1) + n. Now if n is even we can produce the sum by the usual pairing.
1 + n = n + 1
2 + (n - 1) = n + 1
… … …
r + (n – r + 1) = n + 1
… … …
n/2 + (n/2 + 1) = n + 1.
Each pair adds to n + 1. There are n/2 pairs. Hence the C = n/2 (n + 1).
But what if n is odd? Of course we get the same form of the answer. C = n/2 (n + 1) even if n is odd. Why? (A little bit of algebra based on the model of n = 21 should convince you.)
Method 2:
A Geometric Approach
First notice that the shape of the stack is a triangle. If we push it a little it becomes a right-angled triangle with the same number of cans. Putting two of these together, the shape becomes a rectangle. And the areas of rectangles are easier to calculate than are the areas of triangles. Let’s start off with four rows.

The final rectangle has 20 cans but this is twice as many cans as in the original stack. Hence a four-row stack has 10 cans.
- To use this method in general we need to know the number of rows and the number of cans in the biggest row. So looking at this method for 10 rows we know that the biggest row has 10 cans. You should find that there the corresponding rectangle has width 11 (= 10 + 1) and depth 10 (the number of rows). Hence the rectangle has 11 x 10 = 110 cans. The area of the original triangle is half of the rectangle so it is 55. (As we found in Method 1.)
- For 21 rows we get a 22 by 21 rectangle with 462 cans. So the original stack has 231 cans (see Method 1).
- In general we have n rows and n + 1 cans in the bottom row. When the two triangles are put together, the width of the rectangle is n + 1 and the depth is n. Hence the area of the rectangle is n(n + 1). This gives the area of the triangular stack as n/2 (n + 1) (see Method 1).
Solution to the extension
- Now to find out how many rows 136 cans would occupy, we can guess and check, possibly with the help of a table. To start off we know that the answer is between 10 and 21. So we might guess 15. If there were 15 rows then we would have 15 .16/2 = 120 cans. This isn’t enough, so guess 18 rows. Eventually we could get the answer this way. However, we could also use the formula for the number of cans in a stack with n rows. So we have to solve 136 = n/2 (n + 1). This gives n2 + n – 272 = 0. This factorises to give (n – 16)(n + 17) = 0. This has two solutions but n cannot be -17 so n = 16.
- Using the quadratic method for this part gives n2 + n – 864 = 0. We chose this deliberately so that the quadratic didn’t factorise. It can be solved using the formula to give n = 28.898 or –29.898. What does this mean? Well the closest stack that we could have is a stack with 29 rows. However, there are not quite enough cans for such a stack. So there are a few cans missing off of the top. How many are missing?
| Attachment | Size |
|---|---|
| Can Stack.pdf | 37.58 KB |
| Can Stack Maori.pdf | 50.86 KB |
Similar Resources
Counting Pills
Express rules in words
See more than one rule for a given pattern
Devise and use problem solving strategies to explore situations mathematically
Square and Triangular Numbers
Give a general expression for the nth term of a pattern
Describe the links between different patterns
Devise and use problem solving strategies to explore situations mathematically
Rows of Numbers
Generate patterns from a structured situation
Find a rule for the general term (extension problem).
Devise and use problem solving strategies to explore situations mathematically (be systematic, guess and check, make a table, look for a pattern).
Toothpick squares
State the general rule for a practical situation.
Devise and use problem solving strategies to explore situations mathematically (guess and check, be systematic, make a drawing, use equipment, make a table).
Shaking Hands
Describe in words the rules for the pattern
Identify the pattern of triangular numbers
Devise and use problem solving strategies to explore situations mathematically (systematic list, draw a picture, use equipment).



