2002 AMC 10A Problem 22
A set of tiles numbered 1 through 100 is modified repeatedly by the following operation: remove all tiles numbered with a perfect square, and renumber the remaining tiles consecutively starting with 1. How many times must the operation be performed to reduce the number of tiles in the set to one?
Show solution without answering
Key insight
Starting from a square number of tiles, two rounds always bring you to the next smaller square: 100, 90, 81, then 72, 64, and so on.
Solution
After each round the tiles are renumbered , so all that matters is how many tiles there are. With tiles, a round removes one tile for each perfect square from up to .
- Run the first few rounds.
| tiles at start | squares removed | tiles left |
|---|---|---|
| : ten of them | ||
| : nine | ||
| : nine | ||
| : eight | ||
| : eight | ||
| : seven |
- Spot the pattern. Every two rounds, the count goes from one square number to the next smaller one: , then , then , then .
- Why it always happens. Start with tiles. The first round removes tiles, leaving . That number is below but above (for example is between and ). So the next round removes exactly tiles, leaving .
- Check the very end. tiles: remove and , leaving . tiles: remove , leaving . So going from to also takes two rounds.
5. Count. To go from down to , the number being squared drops : that is drops, each taking rounds. So
The answer is .
Why this works
For a process that repeats many times, work out the first few steps by hand and look for a pattern, then check that the pattern must keep going. Here the tile count is a perfect square after every second round, which makes counting easy. Always check the last step separately, since patterns sometimes change at the end.
Alternative approach
Just keep the table going. The numbers of tiles removed are
which add to , taking tiles down to . There are numbers in the list.
Concise solution
A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.
Only the number of tiles matters, since renumbering restores the set . With tiles, the operation deletes the perfect squares up to .
Follow what happens starting from a perfect square, :
- First operation: squares are removed, leaving tiles.
- Since , the largest square not exceeding is , so the second operation removes tiles, leaving .
So every two operations move from tiles to tiles. Starting at , reaching requires the nine transitions , i.e. operations.
Concretely: .
The answer is .
Review in the AoPS books
- Introduction to Number Theory, Chapter 1: Integers: The Basics
- Intermediate Counting & Probability, Chapter 13: Events With States (§13.4)
- Prealgebra, Chapter 15: Problem-Solving Strategies (§15.1)
- Introduction to Algebra, Chapter 20: Special Functions (§20.3)
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.