AMC 10 Step by Step

2020 AMC 10B Problem 22

P21-25~5 minPrint

What is the remainder when 2202+2022^{202} +202 is divided by 2101+251+12^{101}+2^{51}+1 ?

Log in to save your progress.
Show solution without answering

Key insight

Multiply the divisor by 2^101 - 2^51 + 1 and you get exactly 2^202 + 1. So 2^202 + 202 is a multiple of the divisor plus 201.

Solution

1. Name the pieces. Let a=2101a = 2^{101}. Then 2202=a22^{202} = a^2 and the divisor is m=a+251+1m = a + 2^{51} + 1.
2. Why look for a product? If 22022^{202} plus a small number turns out to be a multiple of mm, the remainder is easy. The middle term is the clue: (251)2=2102=2×2101=2a(2^{51})^2 = 2^{102} = 2 \times 2^{101} = 2a.
3. Multiply mm by its "partner" with the middle sign flipped. Group as (a+1)+251(a + 1) + 2^{51} and (a+1)−251(a + 1) - 2^{51} and use (sum)(difference) = difference of squares:
((a+1)+251)((a+1)−251)=(a+1)2−(251)2=a2+2a+1−2a=a2+1.\bigl((a + 1) + 2^{51}\bigr)\bigl((a + 1) - 2^{51}\bigr) = (a + 1)^2 - (2^{51})^2 = a^2 + 2a + 1 - 2a = a^2 + 1.
4. So 2202+1=a2+12^{202} + 1 = a^2 + 1 is a multiple of mm.
5. Split the number we want.
2202+202=(2202+1)+201.2^{202} + 202 = (2^{202} + 1) + 201.
The first part is a multiple of mm, so the remainder comes from 201201.
6. Check the size. mm is enormous (bigger than 21012^{101}), so 201201 is already smaller than mm. The remainder is exactly 201201.

The answer is (D) 201\boxed{\textbf{(D)}\ 201}.

Why this works

A divisor that looks like a+(something)+1a + (\text{something}) + 1, where the something squared equals 2a2a, comes from factoring a2+1a^2 + 1 with a difference of squares. Once you know the divisor goes evenly into 2202+12^{202} + 1, the question becomes "what is left after taking away that multiple?", which is just 202−1=201202 - 1 = 201. In the language of remainders: 2202≡−1(modm)2^{202} \equiv -1 \pmod m, meaning 22022^{202} is one less than a multiple of mm.

Alternative approach

Test the pattern on small numbers. With a=23=8a = 2^3 = 8: the divisor 8+22+1=138 + 2^2 + 1 = 13, and 82+1=65=5×138^2 + 1 = 65 = 5 \times 13. With a=25=32a = 2^5 = 32: the divisor 32+23+1=4132 + 2^3 + 1 = 41, and 322+1=1025=25×4132^2 + 1 = 1025 = 25 \times 41. The pattern holds, and our problem is the same with a=2101a = 2^{101}.

Concise solution

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

Let m=2101+251+1m = 2^{101} + 2^{51} + 1. The middle term 2512^{51} satisfies (251)2=2102=2⋅2101(2^{51})^2 = 2^{102} = 2 \cdot 2^{101}, which suggests the difference-of-squares pairing
(2101+1+251)(2101+1−251)=(2101+1)2−(251)2=2202+2⋅2101+1−2102=2202+1.(2^{101} + 1 + 2^{51})(2^{101} + 1 - 2^{51}) = (2^{101} + 1)^2 - (2^{51})^2 = 2^{202} + 2\cdot 2^{101} + 1 - 2^{102} = 2^{202} + 1.

So mm divides 2202+12^{202} + 1, which means 2202≡−1(modm)2^{202} \equiv -1 \pmod m. Then
2202+202≡−1+202=201(modm).2^{202} + 202 \equiv -1 + 202 = 201 \pmod m.

Since 0≤201<m0 \le 201 < m, the remainder is exactly 201201.

The answer is (D) 201\boxed{\textbf{(D)}\ 201}.

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.