Mathyessy
Home › Topics › Number Theory › Units digit and cycles

Units digit and cycles practice

What is the last digit of 7²⁰²⁶? Only the last digits matter, and they repeat in short cycles.

How it works

The units digit of a product depends only on the units digits of the factors. So the units digits of powers repeat:

Base ends inCycle of units digits
22, 4, 8, 6
33, 9, 7, 1
44, 6
77, 9, 3, 1
88, 4, 2, 6
99, 1
0, 1, 5, 6always the same digit

Every cycle has length 1, 2 or 4, so divide the exponent by 4 and use the remainder (a remainder of 0 means the last number in the cycle). For sums, find each units digit separately, add them and take the last digit.

Units Digits And Cycles practice problems with solutions

These problems come from Mathyessy's question bank. Try each one before opening the solution.

  1. What is the units digit of 7 to the power 2026?

    Show answer and solution

    Answer: 9

    Powers of 7 end in 7, 9, 3, 1, repeating every 4. 2026 leaves remainder 2 when divided by 4, so the units digit matches 7², which is 9.

  2. What is the units digit of 2 to the power 25?

    Show answer and solution

    Answer: 2

    Powers of 2 end in 2, 4, 8, 6. 25 leaves remainder 1 when divided by 4, so the units digit is 2.

  3. What is the units digit of 7 to the power 77 plus 3 to the power 77?

    Show answer and solution

    Answer: 0

    77 leaves remainder 1 when divided by 4, so 7⁷⁷ ends in 7 and 3⁷⁷ ends in 3. 7 + 3 = 10 ends in 0.

  4. What is the units digit of 2 to the power 100 plus 3 to the power 100 plus 7 to the power 100?

    Show answer and solution

    Answer: 8

    100 is a multiple of 4, so take the last digit of each cycle: 6, 1 and 1. 6 + 1 + 1 = 8.

Practice this in Mathyessy →Free, no account needed. Opens the Units Digits And Cycles set with instant feedback.

Keep going

Related topics

Related practice sets in the app

All Number Theory topics · Contest math practice by topic · MATHCOUNTS practice · AMC 8 practice