Exercise · ZW-FERMAT-PRIMALITY-TEST-002 · ★☆☆ Basic
What is \( 2^{4} \bmod 15 \)?
Choose one option.
Show answer
- D. 1
Exercise · ZW-FERMAT-PRIMALITY-TEST-002 · ★☆☆ Basic
Choose one option.
We have \( 2^4 = 16 \), and \( 16 = 1\cdot 15 + 1 \), so the remainder is 1.
The Fermat primality test is a probabilistic criterion for an integer \(n>1\): it declares \(n\) composite if, for some base \(a\) coprime to \(n\), the power \(a^{n-1}\) is not congruent to 1 modulo \(n\).
← ZW-FERMAT-PRIMALITY-TEST-001 ZW-FERMAT-PRIMALITY-TEST-003 →