Exercise · ZW-MODULAR-CONGRUENCE-008 · ★★☆ Intermediate

What is the last digit of \(7^{2026}\)?

Choose one option.

Show answer
  • D. 9

Explanation

The last digit is \(7^{2026}\bmod10\). Powers of 7 give 7, 9, 3, 1 and repeat every 4; since \(2026\equiv2\pmod4\), the digit is 9.

Study Discrete mathematics in ZWMath →

Review the concept: Modular congruence

Two integers \(a\) and \(b\) are congruent modulo a positive integer \(m\) if \(m\) divides their difference; equivalently, they leave the same remainder when divided by \(m\).

\[a\equiv b\pmod m\iff m\mid(a-b)\]

More practice problems: modular congruence

← ZW-MODULAR-CONGRUENCE-007 ZW-MODULAR-CONGRUENCE-009 →