Cyclicity of Numbers in Finding Unit Digits
Quantitative Aptitude › Number System · Topic 1.12
Cyclicity means that the unit digits of the powers of a number repeat in a fixed cycle. To find the unit digit of a large power, take the unit digit of the base, find its cycle, and use the remainder of the exponent on division by the cycle length.
5 min read · Quantitative Aptitude · Number System
Quick Answer
Cyclicity means that the unit digits of the powers of a number repeat in a fixed cycle. To find the unit digit of a large power, take the unit digit of the base, find its cycle, and use the remainder of the exponent on division by the cycle length.
At a Glance
- Cycle length 4 2, 3, 7, 8
- Cycle length 2 4, 9
- Cycle length 1 0, 1, 5, 6
- Remainder 0 Use the last item of the cycle
- Power towers Reduce the top exponent modulo the cycle length
- Factorial sums Only the first four terms matter
Where Does It Fit?
This topic follows Recurring Decimal to Fraction Conversion and extends Unit Digit and Last Two Digits of Powers and Products, which introduced the cycles. It applies the remainder ideas of Remainder Theorem and Chinese Remainder Theorem to unit digits.
What Are the Cycles of Unit Digits?
In short: every unit digit has a short cycle of unit digits for its powers.
| Unit digit of base | n = 1 | n = 2 | n = 3 | n = 4 | Cycle length |
|---|---|---|---|---|---|
| 2 | 2 | 4 | 8 | 6 | 4 |
| 3 | 3 | 9 | 7 | 1 | 4 |
| 4 | 4 | 6 | 4 | 6 | 2 |
| 7 | 7 | 9 | 3 | 1 | 4 |
| 8 | 8 | 4 | 2 | 6 | 4 |
| 9 | 9 | 1 | 9 | 1 | 2 |
The digits 0, 1, 5 and 6 never change, so they have cycle length 1. When the exponent leaves remainder 0 on division by the cycle length, use the last entry of the cycle.
How Do You Handle Power Towers?
In short: reduce the exponent first, working from the top of the tower down.
- For 2(35): the exponent is 35 = 243, and 243 leaves remainder 3 on division by 4. So the unit digit is that of 23, which is 8.
- For 7(89): 89 is a multiple of 4, so the remainder is 0 and the unit digit is the last entry of 7, 9, 3, 1, which is 1.
- For 3(45): 45 is a multiple of 4, so the unit digit is 1.
The rule works because only the remainder of the exponent modulo the cycle length matters. For cycle length 4, test whether the exponent is divisible by 4; if the exponent is itself a power of an even number, check its last two digits using the tests in Divisibility Rules for 2 to 19.
How Do You Find the Unit Digit of a Sum of Powers or Factorials?
In short: find the unit digit of each term and add.
- 22025 + 32025: 2025 leaves 1 on division by 4, so the unit digits are 2 and 3, and the sum ends in 5.
- 1! + 2! + … + 100!: from 5! onwards each term ends in 0, so only 1 + 2 + 6 + 24 = 33 matters. The unit digit is 3.
- 11 + 22 + … + 99: the unit digits are 1, 4, 7, 6, 5, 6, 3, 6, 9, which add to 47, so the unit digit is 7.
Solved Examples
Example 1
Question: Find the unit digit of 2(35).
- 35 = 243.
- 243 ÷ 4 leaves remainder 3.
- The unit digit of 23 is 8.
Answer: 8.
Example 2
Question: Find the unit digit of 7(89).
- 89 is divisible by 4, so the exponent leaves remainder 0.
- Use the last entry of the cycle 7, 9, 3, 1.
Answer: 1.
Example 3
Question: Find the unit digit of 22025 + 32025.
- 2025 leaves remainder 1 on division by 4.
- The unit digit of 22025 is 2, and of 32025 is 3.
- 2 + 3 = 5.
Answer: 5.
Example 4
Question: Find the unit digit of 1! + 2! + 3! + … + 100!.
- 1! = 1, 2! = 2, 3! = 6 and 4! = 24.
- From 5! onwards each factorial ends in 0.
- 1 + 2 + 6 + 24 = 33, whose unit digit is 3.
Answer: 3.
Example 5
Question: Find the unit digit of 11 + 22 + 33 + … + 99.
- The unit digits are 1, 4, 7, 6, 5, 6, 3, 6, 9.
- Their sum is 47.
Answer: 7.
Shortcuts and Tricks
- Start every question by reducing the base to its unit digit.
- For cycle length 4, check whether the exponent is divisible by 4 using its last two digits.
- For towers, evaluate the exponent modulo 4 first.
- For sums, add only the unit digits of each term.
- For factorial sums, stop at 4! because later terms end in 0.
Common Mistakes
- Using cycle length 4 for bases ending in 4 or 9.
- Taking the first entry of the cycle when the remainder is 0.
- Evaluating a power tower from the bottom instead of the top.
- Adding the full terms instead of the unit digits.
- Forgetting that 5! and onward end in 0.
Practice Questions
- Find the unit digit of 1313.
- Find the unit digit of 9(99).
- Find the unit digit of 3(45).
- Find the unit digit of 1414.
- Find the unit digit of 899.
- Find the unit digit of 172026.
Answers: 1) 3; 2) 9; 3) 1; 4) 6; 5) 2; 6) 9.
Why Is This Topic Important?
- High frequency Unit digit questions appear in most aptitude tests.
- Concept Teaches how to reduce huge numbers to tiny ones.
- Link Extends Unit Digit and Last Two Digits of Powers and Products.
- Link Prepares Remainder Theorem and Chinese Remainder Theorem remainders.
What Comes Next?
The next topic is Sum of Series of Natural Numbers, Squares and Cubes, which gives formulas for sums of natural numbers, squares and cubes.
Key Terms and Formulas
- Cycle Repeating pattern of unit digits
- Cycle length Number of distinct digits before repeat
- Power tower A power whose exponent is itself a power
- Exponent The power
- Unit digit Last digit
- Remainder Exponent modulo cycle length
Related Topics
- Recurring Decimal to Fraction Conversion
- Sum of Series of Natural Numbers, Squares and Cubes
- Classification of Numbers (Natural, Whole, Integers, Rational, Irrational and Real Numbers)
- Face Value and Place Value of Digits
Exam Corner
Points to Remember
- Cycle lengths: 4 for 2, 3, 7, 8; 2 for 4, 9; 1 for 0, 1, 5, 6.
- Remainder 0 means the last item of the cycle.
- Power towers are reduced from the top.
- Factorials from 5! onwards end in 0.
- The unit digit of a sum is the unit digit of the sum of unit digits.
Do Not Confuse With
- Cycle of 4 vs 9 4 and 9 have length 2; 2, 3, 7, 8 have length 4.
- Remainder 0 vs 1 Remainder 0 gives the last entry; 1 gives the first.
- Tower vs product A tower raises to a power; a product multiplies.
- Unit digit vs last two digits Last two digits need a longer cycle.
Memory Hook
Find the cycle, find the remainder, read the digit.
GS Relevance
Frequently Asked Questions
What is cyclicity of numbers?
Cyclicity of numbers means that the unit digits of successive powers of a number repeat in a fixed cycle. For example, the powers of 2 end in 2, 4, 8, 6 and then repeat. Using the cycle, the unit digit of a large power can be found from the remainder of the exponent.
How do you find the unit digit of a power tower?
To find the unit digit of a power tower, reduce the top exponent modulo the cycle length of the base, working from the top down. For example, in 2 to the power 3 to the power 5, the exponent 243 leaves remainder 3 on division by 4, so the unit digit is that of 2 cubed, which is 8.
What is the unit digit of 1! + 2! + ... + 100!?
The unit digit of 1 factorial plus 2 factorial and so on up to 100 factorial is 3. From 5 factorial onward every term ends in 0, so only 1, 2, 6 and 24 matter. Their sum is 33, which has unit digit 3.
Which digits have a cycle of length 4?
The unit digits 2, 3, 7 and 8 have a cycle of length 4, so the unit digits of their powers repeat every four powers. The digits 4 and 9 have a cycle of length 2, and the digits 0, 1, 5 and 6 have a cycle of length 1, so their unit digit never changes.
What do you do when the remainder is zero?
When the exponent leaves remainder zero on division by the cycle length, the unit digit is the last entry of the cycle, not the first. For example, 7 to the power 8 has exponent divisible by 4, so its unit digit is the last entry of 7, 9, 3, 1, which is 1.
PYQ Practice — Statement Analysis
1 The unit digit of 1313 is 3.
13 ends in 3, and 13 leaves 1 on division by 4, so the digit is 3.
2 The unit digit of 1! + 2! + ... + 100! is 3.
1 + 2 + 6 + 24 = 33 and later terms end in 0.
3 The unit digit of 4n has a cycle of length 4.
The cycle is 4, 6, so its length is 2.
4 The unit digit of 7(89) is 1.
The exponent is divisible by 4, so use the last cycle entry.
Related Topics
Browse the full Quantitative Aptitude index