What is the remainder when is divided by ?
- A)
- B)
- C)
- D)
- E)
Answer
A
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 .
The trap
Working out each huge power separately and making a mistake, instead of first pulling out the common factor.
Concise solution
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
Techniques
Apply an identity: SFFT, sum of squares, difference of cubes, Vieta · Set up the equation/formula and compute; no special trick needed