Unit Digits • Topic 2 of 2

Last Two Digits

The last two digits mean the number modulo 100. CAT favours four reliable cases. (1) Base ending in 1: for (…a1)^n the tens digit is (a × n) mod 10 and the unit digit is 1 — e.g. 31^17 ends in (3×17 = 51 → tens 1) and 1, giving 11. (2) Base ending in 76: 76 is "automorphic", so 76^n always ends in 76. (3) Even bases: anchor on 2^10 = 1024, so 2^10 ends in 24; note 24^odd ends in 24 and 24^even ends in 76, which lets you reduce any large power of an even number to a 24-or-76 form. (4) Base ending in 25: 25^n ends in 25 for every n ≥ 1, and similarly 5-ending numbers stabilise quickly. For bases near 100, use the binomial expansion: (100 ± a)^n keeps only the last two terms mod 100, i.e. (±a)^n + 100·n·(±a)^(n−1), and the second term vanishes mod 100, so you just need (±a)^n.

✅ Solved examples

1. Find the last two digits of 31^786.
Base ends in 1. Tens digit = (3 × 786) mod 10 = (2358) mod 10 = 8; unit digit = 1. Last two digits = 81.
2. Find the last two digits of 2^2024.
2^10 ends in 24. Write 2^2024 = (2^10)^202 × 2^4 = 24^202 × 16. 24^even ends in 76; 76 × 16 = 1216 ⇒ last two digits 16. Answer: 16.
3. Find the last two digits of 76^53.
76 is automorphic: 76^n always ends in 76 for every n ≥ 1. Last two digits = 76.
4. Find the last two digits of 99^58.
99 = 100 − 1, so 99^58 ≡ (−1)^58 = 1 (mod 100). Last two digits = 01.

✏️ Practice — try these, take hints as needed

1. Last two digits of 21^45?
Base ends in 1.
Tens = (2 × 45) mod 10.
Unit digit is 1.
01
2. Last two digits of 25^30?
25 ends in 25 for all powers.
No cycle to track.
Answer is fixed.
25
3. Last two digits of 2^100?
Use 2^10 ends in 24.
2^100 = 24^10, and 24^even ends in 76.
No extra factor of 2 to attach.
76
4. Last two digits of 101^19?
101 = 100 + 1.
(100+1)^19 ≡ 1 + 100·19 (mod 100).
100·19 ≡ 0 (mod 100).
01
5. Last two digits of 76^99 × 24^15?
76^99 ends in 76.
24^15: odd power ends in 24.
Last two digits of 76 × 24 = 1824.
24

📝 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…