CDS Mathematics · Number System
Unit Digit & Cyclicity
The last digit of a power depends only on the last digit of the base and on the exponent's remainder modulo 4, so an enormous power can be settled in two lines of arithmetic.
Why this matters
Thirteen PYQs and among the most reliable marks in CDS Elementary Mathematics — six of the thirteen are EASY and every one of those is a thirty-second question once the cycle table is memorised. The two HARD ones are the same technique pushed one step further: instead of one power you are asked how many different last digits a sum of several powers can produce.
Concept 1 of 5
The unit-digit cycle of each base
Intuition
Definition
Only the last digit of the base matters, so and always end in the same digit. Each last digit has a fixed cycle:
- Period 1 (the digit never changes): 0, 1, 5, 6.
- Period 2: 4 and 9.
- Period 4: 2, 3, 7 and 8.
Because every period divides 4, reducing the exponent modulo 4 is enough for all bases — which is why one rule covers the whole table.
| Last digit of base | Cycle of unit digits | Period |
|---|---|---|
| 0 | 0 | 1 |
| 1 | 1 | 1 |
| 2 | 2, 4, 8, 6 | 4 |
| 3 | 3, 9, 7, 1 | 4 |
| 4 | 4, 6 | 2 |
| 5 | 5 | 1 Every positive power of a number ending in 5 ends in 5. There is no alternation. |
| 6 | 6 | 1 |
| 7 | 7, 9, 3, 1 | 4 |
| 8 | 8, 4, 2, 6 | 4 |
| 9 | 9, 1 | 2 |
Practice this conceptself-check · 4 quick reps
From the bank · past-year question
[Q19 · CDS (II) 2019 — Elementary Mathematics · 2019]
The base's other digits are irrelevant, and the exponent's are not
Concept 2 of 5
Reducing the exponent modulo 4
Intuition
Definition
To find the unit digit of :
- take , the last digit of , and look up its cycle;
- compute ;
- if , take the -th entry of the cycle; if , take the last entry.
For a period-2 base (4 or 9) the shortcut is simply the parity of : odd exponent gives the first entry, even the second.
Exponent reduction
The unit digit of 7ⁿ depends only on n mod 4. The amber node is the trap: a remainder of 0 means the lap just finished, so 7⁴, 7⁸, 7³² all land on 1 — the last node, never the first.
Worked example
Practice this conceptself-check · 4 quick reps
From the bank · past-year question
[Q33 · CDS (II) 2016 — Elementary Mathematics · 2016]
A remainder of 0 sends you to the END of the cycle, not the start
Reduce the exponent modulo 4, never modulo 10
Concept 3 of 5
Unit digits of sums, differences and products of powers
Intuition
Definition
Work modulo 10 throughout, since the last digit is the residue modulo 10.
- Sum: add the individual unit digits, then reduce modulo 10.
- Product: multiply the individual unit digits, then reduce modulo 10.
- Difference: subtract; if the result is negative add 10.
For an expression like , factor out the smaller power first — — and then take unit digits of each factor, because subtracting before factoring invites a sign slip.
Unit digit of a combination
Worked example
Practice this conceptself-check · 4 quick reps
From the bank · past-year question
[Q38 · CDS (I) 2023 — Elementary Mathematics · 2023]
Factor a difference of powers before taking unit digits
A negative difference needs plus 10, not a minus sign
Concept 4 of 5
A number that is odd and a multiple of 5 must end in 5
Intuition
Definition
A number is a multiple of 5 exactly when its unit digit is or ; and it is even exactly when its unit digit is even.
- Odd and a multiple of 5 it ends in .
- A product of integers is odd only when every factor is odd, and is a multiple of 5 as soon as one factor is.
So for a product: if every factor is odd and at least one carries a factor of 5, the last digit is . If any factor is even and one carries a 5, the last digit is .
Odd multiple of five
Worked example
Practice this conceptself-check · 4 quick reps
From the bank · past-year question
[Q30 · CDS (I) 2026 — Elementary Mathematics · 2026]
The word ODD in the question is what changes the answer from 0 to 5
Concept 5 of 5
Counting how many unit digits an expression can produce
Intuition
Definition
Procedure:
- Reduce each base modulo 10 and identify its cycle.
- Fix the constant terms. A base ending in 0, 1, 5 or 6 has period 1, so it contributes the same digit always and can be added in once.
- Enumerate the Cartesian product of the remaining cycles and collect the distinct residues.
- A parity argument often shortcuts the count: if the expression is forced even, at most the five even digits are reachable.
Number of cases to check
Worked example
Practice this conceptself-check · 4 quick reps
From the bank · past-year question
[Q99 · CDS (II) 2024 — Elementary Mathematics · 2024]
Collapse the period-1 terms before you start enumerating
The question asks for a COUNT, or sometimes for a SUM of the distinct values
Summary — formulas & gotchas at a glance
A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.
Formulas (4)
- Reducing the exponent modulo 4
Exponent reduction
- Unit digits of sums, differences and products of powers
Unit digit of a combination
- A number that is odd and a multiple of 5 must end in 5
Odd multiple of five
- Counting how many unit digits an expression can produce
Number of cases to check
Reference tables (1)
The unit-digit cycle of each base10 rows
| Last digit of base | Cycle of unit digits | Period |
|---|---|---|
| 0 | 0 | 1 |
| 1 | 1 | 1 |
| 2 | 2, 4, 8, 6 | 4 |
| 3 | 3, 9, 7, 1 | 4 |
| 4 | 4, 6 | 2 |
| 5 | 5 | 1 Every positive power of a number ending in 5 ends in 5. There is no alternation. |
| 6 | 6 | 1 |
| 7 | 7, 9, 3, 1 | 4 |
| 8 | 8, 4, 2, 6 | 4 |
| 9 | 9, 1 | 2 |
Watch out for (8)
- The base's other digits are irrelevant, and the exponent's are not→ The unit-digit cycle of each base
- A remainder of 0 sends you to the END of the cycle, not the start→ Reducing the exponent modulo 4
- Reduce the exponent modulo 4, never modulo 10→ Reducing the exponent modulo 4
- Factor a difference of powers before taking unit digits→ Unit digits of sums, differences and products of powers
- A negative difference needs plus 10, not a minus sign→ Unit digits of sums, differences and products of powers
- The word ODD in the question is what changes the answer from 0 to 5→ A number that is odd and a multiple of 5 must end in 5
- Collapse the period-1 terms before you start enumerating→ Counting how many unit digits an expression can produce
- The question asks for a COUNT, or sometimes for a SUM of the distinct values→ Counting how many unit digits an expression can produce
Drill every past-year question on this subtopic
13 questions from the bank — paginated, with cart and Word-export support.