2020 AMC 10B Problem 22
What is the remainder when is divided by ?
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 . Then and the divisor is .
2. Why look for a product? If plus a small number turns out to be a multiple of , the remainder is easy. The middle term is the clue: .
3. Multiply by its "partner" with the middle sign flipped. Group as and and use (sum)(difference) = difference of squares:
4. So is a multiple of .
5. Split the number we want.
The first part is a multiple of , so the remainder comes from .
6. Check the size. is enormous (bigger than ), so is already smaller than . The remainder is exactly .
The answer is .
Why this works
A divisor that looks like , where the something squared equals , comes from factoring with a difference of squares. Once you know the divisor goes evenly into , the question becomes "what is left after taking away that multiple?", which is just . In the language of remainders: , meaning is one less than a multiple of .
Alternative approach
Test the pattern on small numbers. With : the divisor , and . With : the divisor , and . The pattern holds, and our problem is the same with .
Concise solution
A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.
Let . The middle term satisfies , which suggests the difference-of-squares pairing
So divides , which means . Then
Since , the remainder is exactly .
The answer is .
Review in the AoPS books
- Introduction to Algebra, Chapter 11: Special Factorizations (§11.2, §11.3, §11.5)
- Introduction to Number Theory, Chapter 12: Introduction to Modular Arithmetic
- Intermediate Algebra, Chapter 20: Some Advanced Strategies (§20.2)
- Introduction to Algebra, Chapter 22: Special Manipulations
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.