AMC 10 Step by Step

2002 AMC 10A Problem 22

P21-25~6 minPrint

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?

Log in to save your progress.
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 1,2,3,…1, 2, 3, \ldots, so all that matters is how many tiles there are. With NN tiles, a round removes one tile for each perfect square from 11 up to NN.

  1. Run the first few rounds.
tiles at startsquares removedtiles left
1001001,4,…,1001, 4, \ldots, 100: ten of them9090
90901,4,…,811, 4, \ldots, 81: nine8181
81811,4,…,811, 4, \ldots, 81: nine7272
72721,4,…,641, 4, \ldots, 64: eight6464
64641,4,…,641, 4, \ldots, 64: eight5656
56561,4,…,491, 4, \ldots, 49: seven4949
  1. Spot the pattern. Every two rounds, the count goes from one square number to the next smaller one: 100=102100 = 10^2, then 81=9281 = 9^2, then 64=8264 = 8^2, then 49=7249 = 7^2.
  1. Why it always happens. Start with n×nn \times n tiles. The first round removes nn tiles, leaving n×n−nn \times n - n. That number is below n×nn \times n but above (n−1)×(n−1)(n-1) \times (n-1) (for example 9090 is between 8181 and 100100). So the next round removes exactly n−1n - 1 tiles, leaving n×n−n−(n−1)=(n−1)×(n−1)n \times n - n - (n - 1) = (n - 1) \times (n - 1).
  1. Check the very end. 44 tiles: remove 11 and 44, leaving 22. 22 tiles: remove 11, leaving 11. So going from 222^2 to 121^2 also takes two rounds.

5. Count. To go from 10210^2 down to 121^2, the number being squared drops 10→9→⋯→110 \to 9 \to \cdots \to 1: that is 99 drops, each taking 22 rounds. So
9×2=18 rounds.9 \times 2 = 18 \text{ rounds}.

The answer is (C) 18\boxed{\textbf{(C)}\ 18}.

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
10,9,9,8,8,7,7,6,6,5,5,4,4,3,3,2,2,1,10, 9, 9, 8, 8, 7, 7, 6, 6, 5, 5, 4, 4, 3, 3, 2, 2, 1,
which add to 9999, taking 100100 tiles down to 11. There are 1818 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 {1,…,N}\{1, \dots, N\}. With NN tiles, the operation deletes the ⌊N⌋\lfloor \sqrt{N} \rfloor perfect squares up to NN.

Follow what happens starting from a perfect square, N=n2N = n^2:

  • First operation: nn squares are removed, leaving n2−nn^2 - n tiles.
  • Since (n−1)2=n2−2n+1<n2−n<n2(n-1)^2 = n^2 - 2n + 1 < n^2 - n < n^2, the largest square not exceeding n2−nn^2 - n is (n−1)2(n-1)^2, so the second operation removes n−1n - 1 tiles, leaving n2−n−(n−1)=n2−2n+1=(n−1)2n^2 - n - (n - 1) = n^2 - 2n + 1 = (n-1)^2.

So every two operations move from n2n^2 tiles to (n−1)2(n-1)^2 tiles. Starting at 100=102100 = 10^2, reaching 1=121 = 1^2 requires the nine transitions 10→9→⋯→110 \to 9 \to \dots \to 1, i.e. 2⋅9=182 \cdot 9 = 18 operations.

Concretely: 100→90→81→72→64→56→49→⋯→4→2→1100 \to 90 \to 81 \to 72 \to 64 \to 56 \to 49 \to \dots \to 4 \to 2 \to 1.

The answer is (C) 18\boxed{\textbf{(C)}\ 18}.

Review in the AoPS books

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.