MathsReadCompetitive mathematics
Pattern recognition · integer answereasy5 min

Last-digit cycle

Modular Patterns

Find the final decimal digit of 7^2026 (seven raised to the power 2026). You only need the final digit, not the full number. As a check, 7² ends in 9. Submit one digit from 0 to 9.

Learning goal: Detect periodic final-digit patterns in powers.

Look for the underlying structure rather than guessing the next number. Submit only the final integer; you can open hints below as needed.

Check your answer without signing in. Sign in to save your progress.

Accepted format: a whole number such as 42 or 123456789. No commas, formulas, or source code.

Hints

Hint 1

Write the last digits of 7¹, 7², 7³ and 7⁴.

Hint 2

They repeat every four powers.

Hint 3

2026 leaves remainder 2 upon division by 4.

Common mistake to avoid

Trying to compute 7^2026 in full or using the wrong cycle index.

How to approach this problem

Find the cycle of powers modulo 10 and reduce the exponent using its period. A zero remainder selects the last entry of the cycle.

Worked example with different values

Powers of 3 end in 3,9,7,1. The exponent 9 is 1 modulo 4, so 3⁹ ends in 3.

Apply the same reasoning to the challenge. This example is a separate practice problem.

Learn the technique: Sequence patterns: differences, recurrences and interleaving · Number theory: divisors, gcd and modular arithmetic

Report a question or explanation issue

Sequence patterns · Repeating remainders

Back to problems →