How many different remainders can result when the th power of an integer is divided by ?
- A)
- B)
- C)
- D)
- E)
Answer
B
Key insight
Multiples of 5 give remainder 0; otherwise n^4 = 1+5k and two fifth powers lift this to n^100 = 1 (mod 125).
Solution
Split according to whether divides .
Case 1: . Then divides , so is a multiple of and the remainder is .
Case 2: . The fourth powers of are , all . So for some integer . Raise to the fifth power and expand with the binomial theorem:
because every term after the first is divisible by . So . The same expansion once more gives
So every not divisible by gives remainder .
Both remainders occur ( gives , gives ), so there are exactly .
The answer is .
Why this works
This is Euler's theorem in disguise: , so for every coprime to . Even without that theorem, the "lifting" idea is worth knowing: if then , and each further th power gains another factor of in the modulus. Exponents like are chosen to make this chain work.
The trap
Assuming powers spread out over many residues (answering 25 or 125) instead of testing whether 100 is a multiple of the order of every unit mod 125.
Common mistakes
- Assuming powers spread out over many residues (answering 25 or 125) instead of testing whether 100 is a multiple of the order of every unit mod 125.
- Forgetting the multiples of and answering , or forgetting that and are genuinely different remainders.
Techniques
Apply an identity: SFFT, sum of squares, difference of cubes, Vieta · Split into exhaustive cases and handle each