Exercise · ZW-MODULAR-CONGRUENCE-006 · ★★☆ Intermediate

Compute \(2^{10}\bmod7\).

Choose one option.

Show answer
  • B. 2

Explanation

\(2^3=8\equiv1\pmod7\), so \(2^{10}=(2^3)^3\cdot2\equiv2\pmod7\).

Study Discrete mathematics in ZWMath →

Review the concept: Modular congruence

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\).

\[a\equiv b\pmod m\iff m\mid(a-b)\]

More practice problems: modular congruence

← ZW-MODULAR-CONGRUENCE-005 ZW-MODULAR-CONGRUENCE-007 →