Exercise · ZW-MODULAR-CONGRUENCE-004 · ★☆☆ Basic

Compute \((17+25)\bmod6\).

Choose one option.

Show answer
  • D. 0

Explanation

\(17\equiv5\) and \(25\equiv1\), so the sum is \(\equiv6\equiv0\pmod6\). Directly: \(42=7\cdot6\).

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-003 ZW-MODULAR-CONGRUENCE-005 →