Problem 24 · 1999 AMC 8
Stretch
Number Theory
units-digitcyclicity
When 19992000 is divided by 5, the remainder is
Show answer
Answer: D — 1.
Show hints
Hint 1 of 2
You'll never compute 1999Β²β°β°β° β and you don't have to. The remainder when dividing by 5 depends only on the units digit, and the units digit of a power depends only on the units digit of the base. So really you're asking: what does 9Β²β°β°β° end in?
Still stuck? Show hint 2 →
Hint 2 of 2
Units digits of powers always fall into a short repeating cycle. List a few powers of 9 and the pattern jumps out; then use whether the exponent is odd or even.
Show solution
Approach: the units digit cycles β find where the even exponent lands
- Dividing by 5 only cares about the last digit (10, 20, 30, β¦ are all multiples of 5), and the last digit of a power only depends on the base's last digit, 9.
- Powers of 9 cycle in their units digit: 9, 81, 729, β¦ β 9, 1, 9, 1, β¦ Odd exponent β ends in 9, even exponent β ends in 1. Since 2000 is even, 1999Β²β°β°β° ends in 1.
- A number ending in 1 is one more than a multiple of 10 (hence of 5), so the remainder is 1. The transferable idea: for last-digit or mod-5/mod-10 questions, ignore the giant number and ride the short repeating cycle of units digits.
Another way — reduce the base mod 5 first:
- Modulo 5, 1999 leaves remainder 4 (since 2000 is a multiple of 5), so 1999Β²β°β°β° β‘ 4Β²β°β°β° (mod 5).
- And 4 β‘ β1 (mod 5), so 4Β²β°β°β° β‘ (β1)Β²β°β°β° = 1 (mod 5).
- The remainder is 1. Spotting that the base is β1 away from a multiple of 5 makes an even power collapse to 1 instantly β a clean trick once you've met modular arithmetic.
Mark:
· log in to save