Exercise · ZW-FERMAT-S-LITTLE-THEOREM-008 · ★★☆ Intermediate
What is the value of \(4^{30}\bmod 13\)?
Choose one option.
Show answer
- C. \(1\)
Exercise · ZW-FERMAT-S-LITTLE-THEOREM-008 · ★★☆ Intermediate
Choose one option.
Since \(13\) is prime, \(4^{12}\equiv 1\pmod{13}\). Also \(4^{3}=64\equiv -1\pmod{13}\), so \(4^{6}\equiv 1\) and \(4^{30}\equiv 4^{6}\equiv 1\pmod{13}\). The option \(3\) corresponds to \(4^{2}\), an error when reducing the exponent.
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-007 ZW-FERMAT-S-LITTLE-THEOREM-009 →