Unit Digits • Topic 1 of 2

Last Digit

The last (unit) digit of a power depends only on the unit digit of the base and the exponent, never on the other digits — so 2467^85 has the same unit digit as 7^85. Every digit cycles: 0,1,5,6 are "self" digits (their powers always end in the same digit, cycle length 1); 4 and 9 alternate with cycle length 2; and 2,3,7,8 have cycle length 4. The CAT method is simple. Take the exponent modulo 4 (the longest cycle). If the remainder is 1,2,3 pick that term of the cycle; if the remainder is 0, use the 4th (last) term — a remainder of 0 does NOT mean the digit is the base. For products and sums, find the unit digit of each piece and combine: the unit digit of a product is the unit digit of the product of unit digits; for a sum, add the unit digits and take the last digit of that total.

✅ Solved examples

1. Find the unit digit of 7^123.
Cycle of 7 is 7,9,3,1 (length 4). 123 mod 4 = 3 ⇒ 3rd term = 3. Unit digit is 3.
2. Find the unit digit of 2^100.
Cycle of 2 is 2,4,8,6. 100 mod 4 = 0 ⇒ use the 4th term = 6. Unit digit is 6.
3. Find the unit digit of 13^17 × 27^14.
For 3: cycle 3,9,7,1; 17 mod 4 = 1 ⇒ 3. For 7: cycle 7,9,3,1; 14 mod 4 = 2 ⇒ 9. Product of unit digits 3 × 9 = 27 ⇒ unit digit 7.
4. Find the unit digit of 1! + 2! + 3! + … + 100!.
From 5! onward every factorial ends in 0. So only 1!+2!+3!+4! = 1+2+6+24 = 33 matters. Unit digit is 3.

✏️ Practice — try these, take hints as needed

1. Unit digit of 8^45?
Cycle of 8 is 8,4,2,6.
45 mod 4 = 1.
Pick the 1st term.
8
2. Unit digit of 3^99?
Cycle of 3 is 3,9,7,1.
99 mod 4 = 3.
Pick the 3rd term.
7
3. Unit digit of 4^2024?
4 has cycle length 2: 4,6.
Even exponent ⇒ second term.
4^even ends in 6.
6
4. Unit digit of 17^29 × 23^31?
Use 7 and 3 only.
7: 29 mod 4 = 1 ⇒ 7. 3: 31 mod 4 = 3 ⇒ 7.
Unit digit of 7 × 7 = 49.
9
5. Unit digit of 1^5 + 2^5 + 3^5 + 4^5 + 5^5?
Find each unit digit.
1,2,3,4,5 ⇒ 1,2,3,4,5 (5th powers keep their unit digit).
Sum the units: 1+2+3+4+5 = 15.
5

📝 Topic test — 8 questions

Auto-graded with full solutions; saved to your dashboard. Use the calculator and formula sheet (top-right) any time.

Loading questions…