2024 AMC 10B Problem 7
What is the remainder when is divided by ?
Show solution without answering
Key insight
Pull out the common factor 7 to the power 2024. What is left is 1 + 7 + 49 = 57, which is 3 times 19.
Solution
These powers are far too big to compute, so look for something the three terms have in common.
1. Each term is a power of , and the smallest is . The other two are just multiplied by more s:
2. So pull out from all three:
3. Now check : it equals .
4. So the whole sum equals . It is times a whole number, so dividing by leaves remainder .
The answer is .
Why this works
When several terms are powers of the same number, pull out the smallest power first. What remains is a short, small sum that you can test directly. Here the leftover was chosen by the problem writers because divides it.
Alternative approach
Look at the remainders of powers of when divided by :
- leaves remainder .
- leaves remainder .
- : multiply the last remainder by to get , remainder .
After that the remainders repeat Three powers in a row, like , always cover one of each, so their remainders add to , which leaves remainder .
Concise solution
A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.
All three terms share the factor :
Since , the entire expression is , a multiple of . Its remainder on division by is .
The answer is .
Review in the AoPS books
- Introduction to Number Theory, Chapter 12: Introduction to Modular Arithmetic
- Introduction to Algebra, Chapter 11: Special Factorizations (§11.2, §11.3, §11.5)
- Introduction to Number Theory, Chapter 10: Units Digits
- 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.