AMC 10 Step by Step

2023 AMC 10B Problem 9

P1-10~2 minPrint

The numbers 1616 and 2525 are a pair of consecutive positive squares whose difference is 99 . How many pairs of consecutive positive perfect squares have a difference of less than or equal to 20232023 ?

Log in to save your progress.
Show solution without answering

Key insight

Neighboring squares n squared and (n+1) squared always differ by 2n + 1. So count the values of n that make 2n + 1 at most 2023.

Solution

Start with a few small pairs to see how the differences grow.

  1. Small cases.
pair1,41, 44,94, 99,169, 1616,2516, 2525,3625, 36
difference335577991111

The differences are the odd numbers 3,5,7,9,11,…3, 5, 7, 9, 11, \ldots, going up by 22 each time.
2. The general rule. Call the smaller square n2n^2, so the next one is (n+1)2(n+1)^2. Then
(n+1)2−n2=(n2+2n+1)−n2=2n+1.(n+1)^2 - n^2 = (n^2 + 2n + 1) - n^2 = 2n + 1.
Check: n=4n = 4 gives 1616 and 2525, and 2⋅4+1=92 \cdot 4 + 1 = 9. It matches.
3. Set up the condition. We want 2n+1≤20232n + 1 \le 2023, so 2n≤20222n \le 2022 and n≤1011n \le 1011.
4. Count. The squares must be positive, so nn starts at 11. The allowed values are n=1,2,3,…,1011n = 1, 2, 3, \ldots, 1011, and each one gives exactly one pair. The last one works: 2⋅1011+1=20232 \cdot 1011 + 1 = 2023, which is allowed because the problem says "less than or equal".

That is 10111011 pairs.

The answer is (B) 1011\boxed{\textbf{(B)}\ 1011}.

Why this works

The gap between neighboring squares is always the odd number 2n+12n + 1, so "the gap is at most 20232023" turns into a simple limit on nn. Naming each pair by one number, its smaller square root nn, turns "count the pairs" into "count the whole numbers from 11 up to some limit".

Concise solution

A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.

A pair of consecutive positive squares is n2n^2 and (n+1)2(n+1)^2 with n≥1n \ge 1. Their difference is
(n+1)2−n2=2n+1.(n+1)^2 - n^2 = 2n + 1.
We need 2n+1≤20232n + 1 \le 2023, i.e. n≤1011n \le 1011. Each n=1,2,…,1011n = 1, 2, \dots, 1011 gives exactly one pair (and n=1011n = 1011 works since 2⋅1011+1=20232 \cdot 1011 + 1 = 2023), so there are 10111011 pairs.

The answer is (B) 1011\boxed{\textbf{(B)}\ 1011}.

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.