- Foundation
- About 13 min
- 5 practice questions
Remainders and unit digits
Work with remainders of sums and products, and use the repeating pattern of unit digits to handle large powers.
If something looks wrong, please tell us.
Questions such as 'what is the remainder when this huge product is divided by 7' or 'what is the unit digit of 7 raised to the power 45' look scary but are solved by working only with small remainders and spotting patterns.
Remainders of sums and products
When dividing by a number n, you may replace each number by its remainder, do the operation, and then take the remainder again. If a leaves remainder 2 and b leaves remainder 3 when divided by 5, then a × b leaves the remainder of 2 × 3 = 6 on division by 5, which is 1.
Worked example 1
Find the remainder when 17 × 23 is divided by 5. 17 leaves 2 and 23 leaves 3, so the remainder is that of 2 × 3 = 6, i.e. 1. Check: 17 × 23 = 391 and 391 = 5 × 78 + 1.
Unit digits and cycles
The unit digit of a power repeats in a cycle. For 7: 7, 9, 3, 1, then back to 7. The cycle length is 4. For 2: 2, 4, 8, 6. For 3: 3, 9, 7, 1. Digits 0, 1, 5 and 6 never change. To find the unit digit of a^n, divide n by the cycle length and use the remainder (a remainder of 0 means the last digit of the cycle).
Unit digits of the powers of 7
- 7
- 9
- 3
- 1
Then back to step 1: 7
| Base ends in | Cycle |
|---|---|
| 2 | 2, 4, 8, 6 |
| 3 | 3, 9, 7, 1 |
| 4 | 4, 6 |
| 7 | 7, 9, 3, 1 |
| 8 | 8, 4, 2, 6 |
| 9 | 9, 1 |
Worked example 2
Find the unit digit of 7^45. The cycle length is 4. 45 ÷ 4 leaves remainder 1, so the unit digit is the first in the cycle: 7.
Unit digit of 7^45
- Find the cycle 7, 9, 3, 1: length 4.
- Divide the power 45 ÷ 4 leaves remainder 1.
- Read the cycle Remainder 1 means the first digit: 7.
Replace big numbers by their remainders. For unit digits, divide the power by the cycle length (4 for 2, 3, 7, 8) and read the cycle.
Key takeaways
- You can reduce numbers to remainders before multiplying or adding.
- Unit digits repeat in cycles of length 1, 2 or 4.
- Always re-take the remainder at the end.
Check your understanding
-
1. What is the unit digit of 3^22?
- 1
- 3
- 7
- 9
Show answer
Answer: D. The unit digits of powers of 3 cycle 3, 9, 7, 1 (length 4). 22 ÷ 4 leaves remainder 2, so take the second term of the cycle: 9.
-
2. What is the unit digit of 2^7?
- 8
- 4
- 6
- 2
Show answer
Answer: A. Powers of 2 end in 2, 4, 8, 6 (cycle length 4). 7 ÷ 4 leaves remainder 3, so the third term: 8. Check: 2^7 = 128.
-
3. What is the remainder when 2^10 is divided by 7?
- 1
- 2
- 3
- 4
Show answer
Answer: B. 2^3 = 8 leaves remainder 1 on division by 7, so 2^9 = (2^3)^3 also leaves 1. Then 2^10 = 2^9 × 2 leaves 1 × 2 = 2. Check: 1024 = 7 × 146 + 2.
-
4. A number leaves remainder 3 when divided by 5. What remainder does its square leave when divided by 5?
- 1
- 2
- 4
- 3
Show answer
Answer: C. Replace the number by its remainder: the square leaves the same remainder as 3 × 3 = 9, and 9 = 5 × 1 + 4, so the remainder is 4. Example: 8 leaves 3, and 64 = 5 × 12 + 4.
-
5. What is the unit digit of 8^6?
- 8
- 4
- 2
- 6
Show answer
Answer: B. Powers of 8 end in 8, 4, 2, 6 (cycle length 4). 6 ÷ 4 leaves remainder 2, so the second term: 4. Check: 8^2 = 64 ends in 4, and 8^6 = (8^2)^3 ends in the unit digit of 4 × 4 × 4 = 64, which is 4.
Sign in to keep track of the lessons you finish.