Exercise · ZW-MODULAR-CONGRUENCE-006 · ★★☆ Intermediate
Compute \(2^{10}\bmod7\).
Choose one option.
Show answer
- B. 2
Exercise · ZW-MODULAR-CONGRUENCE-006 · ★★☆ Intermediate
Choose one option.
\(2^3=8\equiv1\pmod7\), so \(2^{10}=(2^3)^3\cdot2\equiv2\pmod7\).
Two integers \(a\) and \(b\) are congruent modulo a positive integer \(m\) if \(m\) divides their difference; equivalently, they leave the same remainder when divided by \(m\).