Exercise · ZW-EULER-S-THEOREM-008 · ★★☆ Intermediate

Find the last digit of \(3^{2026}\) in base 10.

Choose one option.

Show answer
  • C. 9

Explanation

Since \(\varphi(10)=4\) and \(2026\equiv 2\pmod 4\), we have \(3^{2026}\equiv 3^2=9\pmod{10}\). The option 7 corresponds to \(3^3\), an exponent congruent to 3 modulo 4.

Study Elementary number theory in ZWMath →

Review the concept: Euler's theorem

Euler's theorem states that if \(a\) and \(n\) are coprime, then \(a^{\varphi(n)} \equiv 1 \pmod{n}\), generalizing Fermat's little theorem to composite moduli.

\[a^{\varphi(n)} \equiv 1 \pmod{n}, \quad \gcd(a,n)=1\]

More practice problems: euler's theorem

← ZW-EULER-S-THEOREM-007 ZW-EULER-S-THEOREM-009 →