2024 AMC 10B · Question 18
Problem outline
As the integer varies, how many residue classes modulo can occupy?
(A) (B) (C) (D) (E)
Show answer and methods 2 methods
Answer
B. .
Method 1 Separate units from multiples of five
Topics usedEuler’s theoremModular exponentiation
When , the power is divisible by . Otherwise is a unit modulo and , so Euler’s theorem gives .
Both residues occur, for example with and . There are two.
Method 2 Lift Fermat’s congruence twice
Topics usedBinomial theorem
For , Fermat’s little theorem gives . The binomial expansion shows that is modulo . Writing it as and raising to the fifth power again gives modulo . Thus .
For a multiple of five the residue is zero. Both possibilities occur.
Source and attribution
The outline and worked methods on this page were prepared for DR.WANG Mathematics.
Original question (external)