Exercise · ZW-EUCLIDEAN-ALGORITHM-002 · ★☆☆ Basic

What is the remainder when 100 is divided by 36?

Choose one option.

Show answer
  • A. 28

Explanation

\(100=2\cdot36+28\), so the remainder is 28; 64 would be \(100-36\), a single subtraction.

Study Discrete mathematics in ZWMath →

Review the concept: Euclidean algorithm

The Euclidean algorithm computes the greatest common divisor of two integers \(a\) and \(b\) by dividing repeatedly, replacing each pair by the divisor and the remainder, until the remainder is 0.

\[\gcd(a,b)=\gcd(b,\,a\bmod b)\]

More practice problems: euclidean algorithm

← ZW-EUCLIDEAN-ALGORITHM-001 ZW-EUCLIDEAN-ALGORITHM-003 →