Technique
Unit digit of a power from its cycle
Arithmetic • Number System • Unit Digit
Statement
The unit digits of repeat in a cycle of length with ; to find the unit digit of , divide by and take the entry at position when the remainder is non-zero, or the last entry when .
How to use it
- 1Write out to and stop as soon as the first unit digit reappears; that fixes the cycle.
- 2The digits have cycle length ; and have length ; have length .
- 3Count the cycle from and not from , and send a remainder of to the last entry.
Worked example
What is the unit digit of ?
Step-by-step
- 1end in
Why: The digit returns at the fourth power, so the cycle has length .
- 2
Why: Only the remainder on division by the cycle length matters.
- 3The second entry of the cycle is .
Answer
Watch out
A remainder of points at the last entry of the cycle, not the first: that is where the off-by-one lives. Only the unit digit of the base matters, so and end alike.