What is the units digit of ?
- A)
- B)
- C)
- D)
- E)
Answer
C
Key insight
Only the last digit matters, so look at powers of 3. Their last digits repeat 3, 9, 7, 1, and 2003 is 3 past a multiple of 4.
Solution
Only the last digit of affects the last digit of its powers, so this is the same question as the last digit of .
- Why only the last digit matters: when you multiply two numbers, the last digit of the answer comes only from the last digits of the two numbers. For example ends in , just like .
- List the last digits of the first few powers of :
| power | ||||||||
|---|---|---|---|---|---|---|---|---|
| value | ||||||||
| last digit |
- The last digits repeat in a block of four: . Each time the power goes up by , you land on the same digit again.
- Divide by : . So is full blocks past , and it has the same last digit as .
- That digit is .
The answer is .
Why this works
The last digits of powers always fall into a repeating pattern, because each new last digit depends only on the previous one. Find how long the pattern is, divide the exponent by that length, and use the remainder to pick the spot. Be careful with a remainder of : it means the last spot in the block, not the first.
The trap
Finding the remainder 3 correctly but counting to the wrong spot in the repeating list, and answering 9 or 1.
Concise solution
The units digit of a product depends only on the units digits of the factors, so ends in the same digit as .
List the last digits of powers of : , , , , and then again. The cycle has length .
Since , the exponent sits in the same position of the cycle as exponent , whose units digit is .
The answer is .
Review in the AoPS books
- Introduction to Number Theory, Chapter 12: Introduction to Modular Arithmetic
- Prealgebra, Chapter 15: Problem-Solving Strategies (§15.1)
- Introduction to Number Theory, Chapter 10: Units Digits
- Introduction to Number Theory, Chapter 14: Linear Congruences (§14.4)
Techniques
Compute small cases, spot the pattern, generalize