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\)
Exercise · ZW-FERMAT-S-LITTLE-THEOREM-004 · ★★☆ Intermediate
Choose one option.
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.
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.
← ZW-FERMAT-S-LITTLE-THEOREM-003 ZW-FERMAT-S-LITTLE-THEOREM-005 →