ExamShortcut
high importance~2 Q in Tier 133 formulas⚡ 18 shortcuts6 subtopics

Unit digit & cyclicity

🔒 Log in to track

The unit digit of a power depends only on the unit digit of the base and the exponent's position in the cycle.

Unit digit of baseCycleLength
0, 1, 5, 6same digit always1
44, 62 (odd power → 4, even → 6)
99, 12 (odd power → 9, even → 1)
22, 4, 8, 64
33, 9, 7, 14
77, 9, 3, 14
88, 4, 2, 64

Method: divide the exponent by 4 (only its last two digits matter). Remainder r → use power r; remainder 0 → use power 4.

For products, multiply only the unit digits. Any even number × any number ending in 5 ends in 0. Every n! with n ≥ 5 ends in 0.

Detailed notes

What is the unit digit?

The unit digit is the last digit of a number (the ones place). In 4,587 the unit digit is 7. Exams ask for the unit digit of huge expressions like 795×3587^{95} \times 3^{58} — numbers far too big to calculate. The good news: the unit digit of a product depends only on the unit digits of the numbers being multiplied. 1237×481237 \times 48 ends in the same digit as 7×8=567 \times 8 = 56, i.e. 6.

Powers repeat in a cycle

Write the powers of 7: 7,49,343,2401,16807…7, 49, 343, 2401, 16807 \dots Unit digits: 7, 9, 3, 1, 7, 9, 3, 1 … The pattern repeats every 4 powers. This repeating length is called cyclicity.

Unit digit of baseCycle of unit digitsCycle length
0, 1, 5, 6stays the same1
44, 62 (odd power 4, even power 6)
99, 12 (odd power 9, even power 1)
22, 4, 8, 64
33, 9, 7, 14
77, 9, 3, 14
88, 4, 2, 64

The method for any power

  1. Keep only the unit digit of the base: 21377542137^{754} → base digit 7.
  2. Divide the exponent by 4 (only the last two digits of the exponent matter because 100 is a multiple of 4).
  3. Remainder 1, 2, 3 → use that power. Remainder 0 → use power 4.
  4. Read the unit digit: 754 mod 4=2754 \bmod 4 = 2 → 72=497^2 = 49 → answer 9.

Products, sums and differences

  • Product: find each unit digit, multiply them, keep the last digit.
  • Sum: add the unit digits, keep the last digit.
  • Difference: subtract the unit digits; if the result is negative, add 10. Example: 7105−3587^{105} - 3^{58} → 7 and 9 → 7−9=−27 - 9 = -2 → 10−2=810 - 2 = 8. (This works only when the first number is actually bigger.)

Shortcuts that save time

  • Any even number × any number ending in 5 → unit digit 0.
  • An odd number × a number ending in 5 → unit digit 5 (so 1×3×5×⋯×991 \times 3 \times 5 \times \dots \times 99 ends in 5).
  • n!n! ends in 0 for every n≥5n \ge 5. So in 1!+2!+⋯+50!1! + 2! + \dots + 50! only 1!+2!+3!+4!=331! + 2! + 3! + 4! = 33 matters → unit digit 3.
  • Product of numbers ending in 1 and 6 keep the same digit when raised to any power.

Power towers

For 17171717^{17^{17}} you need the exponent 171717^{17} divided by 4. Since 17 leaves 1 with 4, 171717^{17} also leaves 1. So the answer is the unit digit of 71=77^1 = 7. For 3453^{4^5} the exponent is a multiple of 4, so use 343^4 → 1.

Last two digits (bonus)

  • Numbers ending in 1: last two digits of (…a1)n(\dots a1)^n are: tens digit =a×(unit digit of n)= a \times (\text{unit digit of } n) (keep its last digit), units digit 1. Example: 3178631^{786} → 3×6=183 \times 6 = 18 → 8 → 81.
  • Look for a power ending in 01: 74=24017^4 = 2401, so 74k7^{4k} ends in 01.

Quick revision

  • Only the base's unit digit and the exponent mod 4 matter.
  • Remainder 0 → use the 4th power.
  • 0, 1, 5, 6 never change; 4 and 9 have cycle 2.
  • Even × 5 → 0; odd × 5 → 5; n! (n≥5)n! \ (n \ge 5) → 0.
  • Negative difference of unit digits → add 10.

Types of questions asked

Every way this subtopic shows up in exams — how to recognise it, the formula or logic to use, and a solved example.

Type 1: Unit digit of a power or a product of powersvery common3 practice Q
How to spot it:

'Find the unit digit of 21377542137^{754}' or of 463×972×8414^{63} \times 9^{72} \times 8^{41}.

unit(an)=unit(a n mod 4), use 4 if n mod 4=0\text{unit}(a^n) = \text{unit}\big(a^{\,n \bmod 4}\big),\ \text{use } 4 \text{ if } n \bmod 4 = 0
  1. Keep only the unit digit of each base.
  2. Reduce each exponent mod 4 (mod 2 is enough for 4 and 9).
  3. Find each unit digit and multiply them; keep the last digit.

Why: unit digits of powers repeat every 4 steps (or fewer).

Example: Find the unit digit of (1573)47(1573)^{47}.

Base digit 3, 47 mod 4=347 \bmod 4 = 3 → 33=273^3 = 27 → unit digit 7.

Type 2: Unit digit of a sum or difference of powerscommon2 practice Q
How to spot it:

Powers joined by + or −, e.g. 7105−3587^{105} - 3^{58} or 251+352+453+5542^{51} + 3^{52} + 4^{53} + 5^{54}.

  1. Find the unit digit of each power separately.
  2. Add (or subtract) those digits.
  3. Keep the last digit; if a difference is negative, add 10.

Why: carrying and borrowing never affect the ones place beyond what the unit digits show.

Example: Find the unit digit of 625+9316^{25} + 9^{31}.

6256^{25} → 6. 9319^{31} (odd) → 9. 6+9=156 + 9 = 15 → unit digit 5.

Type 3: Unit digit of long products and factorial sumscommon3 practice Q
How to spot it:

A product of several plain numbers, a product like 1×3×5×…1 \times 3 \times 5 \times \dots, or 1!+2!+⋯+n!1! + 2! + \dots + n!.

  1. Look for an even number together with a 5 → answer 0 immediately.
  2. For factorial sums, drop every term from 5!5! on (they end in 0).
  3. Otherwise multiply unit digits step by step, keeping only the last digit.

Why: 2 × 5 = 10 produces a zero that stays forever.

Example: Find the unit digit of 1!+2!+3!+⋯+99!1! + 2! + 3! + \dots + 99!.

Terms from 5!5! end in 0. 1+2+6+24=331 + 2 + 6 + 24 = 33 → unit digit 3.

Type 4: Power towers (exponent is itself a power)occasional2 practice Q
How to spot it:

Expressions like 17171717^{17^{17}} or 3453^{4^5}.

abc: find bc mod 4 firsta^{b^c}:\ \text{find } b^c \bmod 4 \text{ first}
  1. Find the remainder of the exponent bcb^c when divided by 4 (use: odd bb with b mod 4=1b \bmod 4 = 1 → 1; b mod 4=3b \bmod 4 = 3 → 3 for odd cc, 1 for even cc; multiple of 4 → 0).
  2. Use that remainder on the cycle of the base.

Why: only the exponent's position in the 4-cycle matters.

Example: Unit digit of 3453^{4^5}?

454^5 is a multiple of 4 → remainder 0 → use 34=813^4 = 81 → 1.

Type 5: Last two digits of a poweroccasional2 practice Q
How to spot it:

'Find the last two digits of 3178631^{786}' or of 720087^{2008}.

(10a+1)n ends in [(a⋅n) mod 10]1(10a+1)^n \text{ ends in } \big[(a \cdot n) \bmod 10\big]1
  1. If the base ends in 1: tens digit = (tens digit of base × unit digit of exponent), last digit only; units digit 1.
  2. Otherwise find a power that ends in 01 (e.g. 74=24017^4 = 2401, 3203^{20}) and reduce the exponent.

Why: (10a+1)n=1+10an+(multiples of 100)(10a + 1)^n = 1 + 10an + (\text{multiples of } 100).

Example: Last two digits of 412741^{27}?

4×7=284 \times 7 = 28 → 8. Last two digits 81.

Formulas

Cyclicity rule
u.d.(an)=u.d.(ar), r=n mod 4, (r=0⇒r=4)\text{u.d.}(a^n) = \text{u.d.}(a^{r}),\ r = n \bmod 4,\ (r = 0 \Rightarrow r = 4)
Cycles of 2, 3, 7, 8
2: 2,4,8,63: 3,9,7,17: 7,9,3,18: 8,4,2,62:\,2,4,8,6 \quad 3:\,3,9,7,1 \quad 7:\,7,9,3,1 \quad 8:\,8,4,2,6
Factorials
n!≡0(mod10) for n≥5n! \equiv 0 \pmod{10} \text{ for } n \ge 5

Shortcut tricks

⚡ Last two digits of the exponent

For mod 4, only the last two digits of the exponent matter (100 is a multiple of 4).

Example: Find the unit digit of 135724631357^{2463}.

Base ends in 7. 63 mod 4=363 \bmod 4 = 3 ⇒ 73=3437^3 = 343 ⇒ unit digit 3.

⚡ Even × 5 = 0

If the product contains an even factor and a factor ending in 5, the unit digit is 0 — no cycle work needed.

Example: Find the unit digit of 231×517×392^{31} \times 5^{17} \times 3^{9}.

2312^{31} is even and 5175^{17} ends in 5 ⇒ product ends in 0.

⚡ Factorial sums: only the first four terms

From 5! onwards every factorial ends in 0, so the unit digit of 1! + 2! + … + n! (n ≥ 4) is always 3.

Example: Find the unit digit of 1! + 2! + 3! + … + 50!.

1 + 2 + 6 + 24 = 33; all later terms end in 0 ⇒ unit digit 3.

Where students lose marks

  • Treating exponent remainder 0 as power 0 (unit digit 1) — use power 4 instead.

  • Taking the exponent mod 4 using only its last digit (use the last two digits).

  • For a difference like 7a−3b7^{a} - 3^{b}, forgetting to borrow 10 when the first unit digit is smaller.

Practice sets — 13 questions

Sets of 10, mixed across the question types above. Each answer comes with a step-by-step explanation.

Topic test · 13 questions

Suggested time 9 min · wrong answers go to your mistake notebook automatically.