Exercise · ZW-FERMAT-S-LITTLE-THEOREM-004 · ★★☆ Intermediate

What is the remainder of \(5^{12}\) when divided by \(13\)?

Choose one option.

Show answer
  • C. \(1\)

Explanation

Since \(13\) is prime and \(13\nmid 5\), we have \(5^{12}\equiv 1\pmod{13}\). The option \(12\) comes from confusing the exponent with the result.

Study Elementary number theory in ZWMath →

Review the concept: Fermat's little theorem

Fermat's little theorem states that if \(p\) is a prime number and \(a\) is an integer not divisible by \(p\), then \(a^{p-1}\equiv 1 \pmod{p}\). It is a basic tool for simplifying modular powers.

\[a^{p-1}\equiv 1 \pmod{p}, \quad p\nmid a\]

More practice problems: fermat's little theorem

← ZW-FERMAT-S-LITTLE-THEOREM-003 ZW-FERMAT-S-LITTLE-THEOREM-005 →