ExamShortcut
high importance~2 Q in Tier 135 formulas⚡ 18 shortcuts6 subtopics
All subtopics·Subtopic 4 of 6

Unit digit & cyclicity

🔒 Log in to track
⏱ 4 min read🧩 5 question types🎯 13 practice Q
The idea in one minute

The unit digit of a power depends only on the unit digit of the base and on the exponent's remainder when divided by four. Unit digits of powers repeat in short cycles, so huge expressions collapse to one digit in seconds.

01

Overview

The unit digit is the last digit of a number, the ones place. Exams ask for the unit digit of monsters like 7105×3587^{105} \times 3^{58}, numbers far too big to compute. The rescue: the unit digit of a product depends only on the unit digits of the factors. 1237×481237 \times 48 ends the same way as 7×8=567 \times 8 = 56, that is, in 66.

02

Power cycles

Write out powers of 77: the unit digits run 7,9,3,17, 9, 3, 1, then repeat. This repeat length is the cyclicity.

Base digitCycleLength
0,1,5,60, 1, 5, 6never changes11
444,64, 622
999,19, 122
222,4,8,62, 4, 8, 644
333,9,7,13, 9, 7, 144
777,9,3,17, 9, 3, 144
888,4,2,68, 4, 2, 644

Rule: Divide the exponent by 44. A remainder of 11, 22 or 33 means use that power; a remainder of 00 means use the fourth power. For 44 and 99, only odd or even matters.

03

The method step by step

Take 8678^{67}. Keep the base digit 88. Divide 6767 by 44: remainder 33. The third member of the cycle of 88 is 22, so the unit digit is 22. Only the last two digits of a big exponent matter, because 100100 divides by 44.

04

Products, sums and differences

Find each unit digit first, then combine. For sums, add the digits and keep the last one. For differences, subtract; if the result is negative, add 1010. For 7105−3587^{105} - 3^{58}: the digits are 77 and 99, and 7−9=−27 - 9 = -2, so the answer is 10−2=810 - 2 = 8.

Watch: The digit-borrow trick for a difference assumes the first number really is the larger one. The question usually ensures this.

05

Free wins without cycles

  • Any even number times any number ending in 55 ends in 00.
  • An odd number times a number ending in 55 ends in 55.
  • Every factorial from 5!5! on ends in 00. So 1!+2!+⋯+50!1! + 2! + \cdots + 50! ends in 33, from 1+2+6+24=331 + 2 + 6 + 24 = 33.
06

Power towers

For 721207^{21^{20}} you need the exponent 212021^{20} by 44. Since 2121 leaves 11 with 44, so does 212021^{20}, and the unit digit is that of 71=77^1 = 7. For 3453^{4^5}, the exponent 454^5 is a multiple of 44, so use 343^4, giving 11.

Tip: For a tower, reduce the inner exponent first, then apply the outer cycle.

07

Last two digits

For a base ending in 11, like 7171 or 4141: the last digit stays 11. The tens digit is the last digit of (tens digit of base times the exponent). For 713671^{36}: 7×36=2527 \times 36 = 252, keep 22. So the ending is 2121. For 412741^{27}: 4×27=1084 \times 27 = 108, keep 88, ending 8181.

Example: 625+9316^{25} + 9^{31} ends in 6+9=156 + 9 = 15, so the unit digit is 55.

08

Question types you will see

Each type: how to recognise it, the method step by step, and one question to try.

Type 1very common3 practice Q

Unit digit of a power or a product of powers

How to spot it:

The question asks for the unit digit of one big power or of a product of two or three powers.

unit(an)=unit(a n mod 4)\text{unit}(a^n) = \text{unit}\left(a^{\,n \bmod 4}\right)
Method
  1. Keep only the unit digit of each base.

  2. Reduce each exponent mod 44; for base digits 44 and 99, odd or even is enough.

  3. Read each unit digit from its cycle.

  4. Multiply the digits and keep the last one.

Why it works:

Unit digits of powers repeat every four steps or fewer, so only the exponent mod four matters.

Try this

Find the unit digit of 4 to the power 63 x 9 to the power 72 x 8 to the power 41.

Show solution
  1. 4634^{63}: odd power of 44 gives 44. 9729^{72}: even power of 99 gives 11.

  2. 8418^{41}: 41 mod 4=141 \bmod 4 = 1, cycle of 88 starts at 88.

  3. 4×1×8=324 \times 1 \times 8 = 32: unit digit 22.

Answer

2

Type 2common2 practice Q

Unit digit of a sum or difference of powers

How to spot it:

Powers joined by plus or minus, like 7 to the 105 minus 3 to the 58.

Method
  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 1010.

Why it works:

Carrying and borrowing never change the ones place beyond what the unit digits show.

Try this

Find the unit digit of 7 to the power 105 minus 3 to the power 58.

Show solution
  1. 71057^{105}: 105 mod 4=1105 \bmod 4 = 1, digit 77.

  2. 3583^{58}: 58 mod 4=258 \bmod 4 = 2, digit 99.

  3. 7−9=−27 - 9 = -2, add 1010: digit 88.

Answer

8

Type 3common3 practice Q

Unit digit of long products and factorial sums

How to spot it:

A product of many plain numbers, a product like 1 x 3 x 5 x ..., or a factorial sum 1! + 2! + ... + n!.

Method
  1. Scan for an even factor together with a factor ending in 55: answer 00 at once.

  2. For factorial sums, drop every term from 5!5! on.

  3. Otherwise multiply unit digits step by step, keeping the last digit.

Why it works:

Two times five makes a ten, and a trailing zero survives every further multiplication.

Try this

Find the unit digit of 2 to the power 31 x 5 to the power 17 x 3 to the power 9.

Show solution
  1. 2312^{31} is even, and 5175^{17} ends in 55.

  2. Their product ends in 00.

  3. Whatever multiplies it, the unit digit stays 00.

Answer

0

Type 4occasional2 practice Q

Power towers

How to spot it:

The exponent is itself a power, as in 7 to the power 21 to the power 20.

abc:reduce bc mod 4 firsta^{b^c}: \text{reduce } b^c \bmod 4 \text{ first}
Method
  1. Reduce the inner power modulo 44.

  2. Use that remainder on the cycle of the base digit.

  3. If the inner base is even, its power is usually a multiple of 44: use the fourth power.

Why it works:

Only the exponent's position in the four-cycle matters, whatever its size.

Try this

Find the unit digit of 7 to the power 21 to the power 20.

Show solution
  1. 21≡1(mod4)21 \equiv 1 \pmod 4, so 2120≡1(mod4)21^{20} \equiv 1 \pmod 4.

  2. Use 717^1.

  3. Unit digit 77.

Answer

7

Type 5occasional2 practice Q

Last two digits of a power

How to spot it:

The question asks for the last two digits of a power whose base ends in 1, such as 71 or 41.

(10a+1)n ends in [(a⋅n) mod 10]1(10a + 1)^n \text{ ends in } \left[(a \cdot n) \bmod 10\right] 1
Method
  1. Confirm the base ends in 11; the last digit of the answer is 11.

  2. Multiply the base's tens digit by the exponent.

  3. Keep the last digit of that product as the tens digit.

Why it works:

Expanding the power leaves the tens digit driven only by a times n, everything higher vanishes mod 100.

Try this

Find the last two digits of 71 to the power 36.

Show solution
  1. Tens digit of base: 77; exponent: 3636.

  2. 7×36=2527 \times 36 = 252; keep the last digit 22.

  3. Last two digits: 2121.

Answer

21

09

Formula sheet

Cyclicity rule
unit(an)=unit(ar),r=n mod 4 (r=0⇒r=4)\text{unit}(a^n) = \text{unit}(a^r), \quad r = n \bmod 4 \ (r = 0 \Rightarrow r = 4)
Cycles of two, three, seven, eight
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
Last two digits, base ending in one
(10a+1)n ends in [(a⋅n) mod 10]1(10a + 1)^n \text{ ends in } \left[(a \cdot n) \bmod 10\right] 1
10

Shortcuts that save time

⚡ Last two digits of the exponent

For division by four, only the last two digits of the exponent matter, because 100 is a multiple of 4.

Example

Find the unit digit of 1357 to the power 2463.

Show solution
  1. Base ends in 77; only 6363 of the exponent matters.

  2. 63 mod 4=363 \bmod 4 = 3, so use 73=3437^3 = 343.

  3. Unit digit 33.

Answer

3

⚡ Even times five ends in zero

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

Example

Find the unit digit of 2 to the power 31 x 5 to the power 17 x 3 to the power 9.

Show solution
  1. 2312^{31} is even; 5175^{17} ends in 55.

  2. Even times a number ending in 55 ends in 00.

  3. The whole product ends in 00.

Answer

0

⚡ Factorial sums stop at four terms

From 5! on, every factorial ends in 0, so a factorial sum's unit digit comes from the first four terms alone.

Example

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

Show solution
  1. Terms from 5!5! on end in 00.

  2. 1+2+6+24=331 + 2 + 6 + 24 = 33.

  3. Unit digit 33.

Answer

3

11

Mistakes to avoid

Where most students lose marks on this subtopic.

Mistake 01

Treating an exponent remainder of 0 as power 0.

Remainder 0 means use the fourth power of the cycle, not power 1.

Mistake 02

Reducing the exponent mod 4 using only its last digit.

Use the last two digits of the exponent, since 100 is the multiple of 4.

Mistake 03

Forgetting to borrow ten in a difference of unit digits.

7 minus 9 is negative: add 10 and answer 8.

Mistake 04

Applying the cycle table to the whole base number.

Only the last digit of the base enters the table.

12

Quick revision

Read this the night before the exam.

  • Unit digit needs only the base's last digit and n mod 4n \bmod 4.

  • Remainder 00 means use the fourth power.

  • 0,1,5,60, 1, 5, 6 never change; 44 and 99 have cycle 22.

  • Even ×\times ending-5 gives 00; odd ×\times ending-5 gives 55.

  • n!n! for n≥5n \ge 5 ends in 00.

  • Negative digit difference: add 1010.

  • Base ending in 11: tens digit =(= (base tens ×\times exponent) mod 10) \bmod 10.

13

Practice: 13 questions

Sets of 10, mixed across the question types above. Every answer has a step-by-step explanation.

Topic test · 13 questions

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