2004 AMC 10B Problem 10
A grocer makes a display of cans in which the top row has one can and each lower row has two more cans than the row above it. If the display contains cans, how many rows does it contain?
Show solution without answering
Key insight
The rows hold 1, 3, 5, 7, ... cans, and adding up the first few odd numbers always gives a perfect square. So 100 cans means 10 rows.
Solution
- Write out the rows: cans. Each row has more than the one above, so these are the odd numbers.
- Add up the first few rows and look for a pattern:
| Rows | Total cans |
|---|---|
- The totals are , the perfect squares. With rows the total is .
- We need , so .
- Check another way: rows go from to . Pair the first and last, , then , and so on. That is pairs of , which is .
The answer is .
Why this works
Adding the first odd numbers always gives . A picture shows why: a square of dots grows into a square by adding an L-shaped strip of dots, and each new strip is the next odd number. When a total looks like a perfect square, check whether odd numbers are hiding in the problem.
Alternative approach
Test the nearby choices. rows give cans and rows give cans. Only rows give exactly .
Concise solution
A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.
The rows contain cans: the odd numbers in order. With rows, the last row has cans, and the total is an arithmetic series with terms, first term and last term :
Setting gives .
Quick check: ten rows end with cans, and .
The answer is .
Review in the AoPS books
- Introduction to Algebra, Chapter 21: Sequences & Series (§21.1, §21.2, §21.3, §21.4)
- Introduction to Number Theory, Chapter 1: Integers: The Basics
- Introduction to Algebra, Chapter 11: Special Factorizations
- Intermediate Algebra, Chapter 17: More Sequences and Series (§17.1, §17.2)
Similar problems
Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site. Also appeared as 2004 12B #8.